|
| SparseFlatAssembler (FEContainer &&fes, const DirichletValuesType &dirichletValues) |
| Constructor for SparseFlatAssembler. More...
|
|
const Eigen::SparseMatrix< double > & | matrix (const FERequirement &feRequirements, MatrixAffordance affordance, DBCOption dbcOption=DBCOption::Full) |
| Calculates the matrix quantity requested by feRequirements and the affordance. For DBCOption::Full a zero is written on fixed degrees of freedom rows and columns, and a one is written on the diagonal. For DBCOption::Raw the untouched matrix is returned. For DBCOption::Reduced the matrix is reduced in size by removing the fixed degrees of freedom. More...
|
|
const Eigen::SparseMatrix< double > & | matrix (DBCOption dbcOption) |
| Calculates the matrix quantity requested by the bound feRequirements and the affordance. More...
|
|
const Eigen::SparseMatrix< double > & | matrix () |
| Calculates the matrix quantity requested by the bound feRequirements, the affordance and the dBCOption. More...
|
|
const Eigen::VectorXd & | vector (const FERequirement &feRequirements, VectorAffordance affordance, DBCOption dbcOption=DBCOption::Full) |
| Calculates the vectorial quantity requested by the feRequirements and the affordance. Depending on the requested DBCOption, the raw, reduced or full vector is returned. Raw means the degrees of freedom associated with dirichlet boundary conditions are not changed. Full means that degrees of freedom associated with dirichlet boundary conditions are set to zero in the vector. Reduced means that degrees of freedom associated with dirichlet boundary conditions are removed and the returned vector has reduced size. More...
|
|
const Eigen::VectorXd & | vector (DBCOption dbcOption) |
| Calculates the vectorial quantity requested by the bound feRequirements and the affordance. Depending on the requested DBCOption, the raw, reduced or full vector is returned. Raw means the degrees of freedom associated with dirichlet boundary conditions are not changed. Full means that degrees of freedom associated with dirichlet boundary conditions are set to zero in the vector. Reduced means that degrees of freedom associated with dirichlet boundary conditions are removed and the returned vector has reduced size. More...
|
|
const Eigen::VectorXd & | vector () |
| Calculates the vectorial quantity requested by the bound feRequirements, the affordance and the dBCOption. Depending on the DBCOption, the raw, reduced or full vector is returned. Raw means the degrees of freedom associated with dirichlet boundary conditions are not changed. Full means that degrees of freedom associated with dirichlet boundary conditions are set to zero in the vector. Reduced means that degrees of freedom associated with dirichlet boundary conditions are removed and the returned vector has reduced size. More...
|
|
const double & | scalar (const FERequirement &feRequirements, ScalarAffordance affordance) |
| Calculates the scalar quantity requested by feRequirements and affordance. More...
|
|
const double & | scalar () |
| Calculates the scalar quantity requested by the bound feRequirements and returns a reference. More...
|
|
size_t | reducedSize () |
| Returns the size of the free degrees of freedom, which are not fixed by a Dirichlet boundary condition. More...
|
|
size_t | size () |
| Returns the size of nodes, i.e., the number of degrees of freedom. More...
|
|
Eigen::VectorXd | createFullVector (Eigen::Ref< const Eigen::VectorXd > reducedVector) |
| Creates the full-sized vector of size Dof and inserts the values of a reduced vector at the "free" degrees of freedom and writes a zero for the fixed doffs. More...
|
|
auto & | finiteElements () const |
| Returns the container of finite elements. More...
|
|
size_t | constraintsBelow (size_t i) const |
| Returns the number of constraints below a given degrees of freedom index. More...
|
|
bool | isConstrained (size_t i) const |
| Returns true if a given degree of freedom is fixed by a Dirichlet boundary condition. More...
|
|
size_t | estimateOfConnectivity () const |
| Coarse estimate of node connectivity, i.e., this relates to the bandwidth of a sparse matrix. This estimate overestimates the real connectivity and should only be used for allocating vectors. More...
|
|
void | bind (const FERequirement &req, AffordanceCollectionType affordanceCollection, DBCOption dbcOption=DBCOption::Full) |
| Binds the assembler to a set of finite element requirement and affordance. More...
|
|
void | bind (const FERequirement &req) |
| Binds the assembler to a finite element requirement. More...
|
|
void | bind (AffordanceCollectionType affordanceCollection) |
| Binds the assembler to an affordance collection. More...
|
|
void | bind (DBCOption dbcOption) |
| Binds the assembler to an affordance collection. More...
|
|
bool | bound () const |
| Returns true if the assembler is bound to a finite element requirement and affordance. More...
|
|
bool | boundToRequirement () const |
| Returns true if the assembler is bound to a finite element requirement. More...
|
|
bool | boundToAffordanceCollection () const |
| Returns true if the assembler is bound to an affordance collection. More...
|
|
bool | boundToDBCOption () const |
| Returns true if the assembler is bound to an affordance collection. More...
|
|
FERequirement & | requirement () |
| Returns the requirement. More...
|
|
AffordanceCollectionType | affordanceCollection () const |
| Returns the affordance. More...
|
|
DBCOption | dBCOption () const |
| Returns the dirichlet boundary condition enforcement option. More...
|
|
template<typename FEC, typename DV>
class Ikarus::SparseFlatAssembler< FEC, DV >
- Template Parameters
-
FEC | Type of the finite element container. |
DV | Type of the Dirichlet values. |