OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::VectorAssembler Class Reference

Callback class for assembling specific types of vectors. More...

#include <assemblercallback.h>

+ Inheritance diagram for oofem::VectorAssembler:

Public Member Functions

virtual void vectorFromElement (FloatArray &vec, Element &element, TimeStep *tStep, ValueModeType mode) const
 
virtual void vectorFromLoad (FloatArray &vec, Element &element, BodyLoad *load, TimeStep *tStep, ValueModeType mode) const
 
virtual void vectorFromSurfaceLoad (FloatArray &vec, Element &element, SurfaceLoad *load, int boundary, TimeStep *tStep, ValueModeType mode) const
 
virtual void vectorFromEdgeLoad (FloatArray &vec, Element &element, EdgeLoad *load, int edge, TimeStep *tStep, ValueModeType mode) const
 
virtual void vectorFromNodeLoad (FloatArray &vec, DofManager &dman, NodalLoad *load, TimeStep *tStep, ValueModeType mode) const
 
virtual void assembleFromActiveBC (FloatArray &answer, ActiveBoundaryCondition &bc, TimeStep *tStep, ValueModeType mode, const UnknownNumberingScheme &s, FloatArray *eNorms) const
 
virtual void locationFromElement (IntArray &loc, Element &element, const UnknownNumberingScheme &s, IntArray *dofIds=nullptr) const
 Default implementation takes all the DOF IDs. More...
 
virtual void locationFromElementNodes (IntArray &loc, Element &element, const IntArray &bNodes, const UnknownNumberingScheme &s, IntArray *dofIds=nullptr) const
 Default implementation takes all the DOF IDs. More...
 

Detailed Description

Callback class for assembling specific types of vectors.

Default implementations are that no contributions are considered (empty vectors on output).

Author
Mikael Öhman

Definition at line 63 of file assemblercallback.h.

Member Function Documentation

void oofem::VectorAssembler::assembleFromActiveBC ( FloatArray answer,
ActiveBoundaryCondition bc,
TimeStep tStep,
ValueModeType  mode,
const UnknownNumberingScheme s,
FloatArray eNorms 
) const
virtual
void oofem::VectorAssembler::locationFromElement ( IntArray loc,
Element element,
const UnknownNumberingScheme s,
IntArray dofIds = nullptr 
) const
virtual
void oofem::VectorAssembler::locationFromElementNodes ( IntArray loc,
Element element,
const IntArray bNodes,
const UnknownNumberingScheme s,
IntArray dofIds = nullptr 
) const
virtual

Default implementation takes all the DOF IDs.

Definition at line 65 of file assemblercallback.C.

References oofem::Element::giveBoundaryLocationArray().

Referenced by oofem::EngngModel::assembleVectorFromBC(), and oofem::EngngModel::assembleVectorFromElements().

void oofem::VectorAssembler::vectorFromNodeLoad ( FloatArray vec,
DofManager dman,
NodalLoad load,
TimeStep tStep,
ValueModeType  mode 
) const
virtual
void oofem::VectorAssembler::vectorFromSurfaceLoad ( FloatArray vec,
Element element,
SurfaceLoad load,
int  boundary,
TimeStep tStep,
ValueModeType  mode 
) const
virtual

The documentation for this class was generated from the following files:

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:43 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011