|
| | BlockElmMats (size_t nBlk, size_t nBas) |
| | The constructor initializes the block information arrays. More...
|
| |
|
virtual | ~BlockElmMats () |
| | Empty destructor.
|
| |
| bool | redim (size_t blkIndex, size_t nen, size_t ncmp=1, char basis=1) |
| | Sets the dimension of a diagonal block sub-matrix. More...
|
| |
| bool | redimOffDiag (size_t blkIndex, char symmetric=1) |
| | Sets the dimension of an off-diagonal block sub-matrix. More...
|
| |
| bool | finalize () |
| | Calculates the dimension of the Newton matrix. More...
|
| |
|
virtual const Matrix & | getNewtonMatrix () const |
| | Returns the element-level Newton matrix.
|
| |
|
virtual const Vector & | getRHSVector () const |
| | Returns the element-level right-hand-side vector.
|
| |
| void | redim (size_t ndim) |
| | Sets the dimension of the element matrices and vectors. More...
|
| |
|
| ElmMats (bool lhs=true) |
| | Default constructor.
|
| |
|
virtual | ~ElmMats () |
| | Empty destructor.
|
| |
| void | resize (size_t nA, size_t nB, size_t nC=0) |
| | Defines the number of element matrices and vectors. More...
|
| |
| void | redim (size_t ndim) |
| | Sets the dimension of the element matrices and vectors. More...
|
| |
|
virtual bool | empty () const |
| | Checks if the element matrices are empty.
|
| |
|
virtual void | setStepSize (double, int) |
| | Updates the time step size.
|
| |
|
void | printMat (std::ostream &os, size_t idx=0, const char *prefix=nullptr) const |
| | Prints element matrix idx to output stream os.
|
| |
|
void | printVec (std::ostream &os, size_t idx=0, const char *prefix=nullptr) const |
| | Prints element vector idx to output stream os.
|
| |
|
void | printScl (std::ostream &os, size_t idx=0, const char *prefix=nullptr) const |
| | Prints element scalar idx to output stream os.
|
| |
|
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...
|
| |
|
|
std::vector< Matrix > | A |
| | The element coefficient matrices.
|
| |
|
std::vector< Vector > | b |
| | The element right-hand-side vectors.
|
| |
|
std::vector< double > | c |
| | The scalar quantities.
|
| |
|
std::vector< const char * > | Aname |
| | Matrix names (for debug print)
|
| |
|
std::vector< const char * > | Bname |
| | Vector names (for debug print)
|
| |
|
std::vector< const char * > | Cname |
| | Scalar names (for debug print)
|
| |
|
bool | rhsOnly |
| | If true, only the right-hand-sides are assembled.
|
| |
|
bool | withLHS |
| | If true, left-hand-side element matrices are present.
|
| |
|
Vectors | vec |
| | Element-level primary solution vectors.
|
| |
|
| LocalIntegral () |
| | The default constructor is protected to allow sub-classes only.
|
| |
Class representing the block element matrices for a FEM problem.
This class can be used for multi-integrand FEM problems with strong coupling, where the element matrices typically consist of blocks resulting from the various integrands. The block sub-matrices are stitched together into an element-level Newton matrix corresponding to all DOFs of the element by the getNewtonMatrix() method.