|
IFEM
90A354
|
Abstract base class representing an element level integrated quantity. More...
#include <LocalIntegral.h>


Public Member Functions | |
| virtual | ~LocalIntegral () |
| Empty destructor. | |
| virtual void | destruct () |
| Virtual destruction method to clean up after numerical integration. | |
| virtual const LocalIntegral * | ref () const |
| Returns the LocalIntegral object to assemble into the global one. | |
| void | getSolution (size_t nsd, size_t nen, Matrix *u=nullptr, Matrix *v=nullptr, Matrix *a=nullptr, bool forceCurrent=false) const |
| Extracts element solution vectors as nsd by nen matrices. More... | |
Public Attributes | |
| Vectors | vec |
| Element-level primary solution vectors. | |
Protected Member Functions | |
| LocalIntegral () | |
| The default constructor is protected to allow sub-classes only. | |
Abstract base class representing an element level integrated quantity.
|
inline |
Extracts element solution vectors as nsd by nen matrices.
| [in] | nsd | Number of space dimensions |
| [in] | nen | Number of element nodes |
| [out] | u | First element solution vector (deformation) |
| [out] | v | Second element solution vector (velocity) |
| [out] | a | Third element solution vector (acceleration) |
| [in] | forceCurrent | If true, return the current values also if previous values are present |
This method is intended for extraction of element-level solution vectors (deformation, velocity and acceleration for dynamics problems) on a matrix form, such that equivalent integration point values can be obtained by multiplying with the basis function value vector, fe.N. If the size of vec is 6 or more and forceCurrent is false, the previous values stored in positions {3,4,5} are returned, otherwise the current values stored in positions {0,1,2} are returned.
References vec.
Referenced by ASMs2DLag::integrate(), and ASMs2DLag::integrateElm().