PolyFEM
|
#include <Assembler.hpp>
Public Member Functions | |
MixedAssembler () | |
virtual | ~MixedAssembler ()=default |
void | assemble (const bool is_volume, const int n_psi_basis, const int n_phi_basis, const std::vector< basis::ElementBases > &psi_bases, const std::vector< basis::ElementBases > &phi_bases, const std::vector< basis::ElementBases > &gbases, const AssemblyValsCache &psi_cache, const AssemblyValsCache &phi_cache, const double t, StiffnessMatrix &stiffness) const |
virtual std::string | name () const =0 |
int | size () const |
virtual void | set_size (const int size) |
Protected Member Functions | |
virtual int | rows () const =0 |
virtual int | cols () const =0 |
virtual Eigen::Matrix< double, Eigen::Dynamic, 1, 0, 3, 1 > | assemble (const MixedAssemblerData &data) const =0 |
Protected Attributes | |
int | size_ = -1 |
Definition at line 18 of file Assembler.hpp.
polyfem::assembler::MixedAssembler::MixedAssembler | ( | ) |
Definition at line 386 of file Assembler.cpp.
Referenced by polyfem::assembler::GenericElastic< AMIPSEnergyAutodiff >::assemble_hessian().
|
virtualdefault |
void polyfem::assembler::MixedAssembler::assemble | ( | const bool | is_volume, |
const int | n_psi_basis, | ||
const int | n_phi_basis, | ||
const std::vector< basis::ElementBases > & | psi_bases, | ||
const std::vector< basis::ElementBases > & | phi_bases, | ||
const std::vector< basis::ElementBases > & | gbases, | ||
const AssemblyValsCache & | psi_cache, | ||
const AssemblyValsCache & | phi_cache, | ||
const double | t, | ||
StiffnessMatrix & | stiffness | ||
) | const |
Referenced by polyfem::solver::NavierStokesSolver::minimize().
|
protectedpure virtual |
|
protectedpure virtual |
|
pure virtual |
|
protectedpure virtual |
|
inlinevirtual |
|
inline |
Definition at line 40 of file Assembler.hpp.
References size_.
Referenced by polyfem::assembler::IncompressibleLinearElasticityMixed::assemble(), polyfem::assembler::StokesMixed::rows(), and set_size().
|
protected |
Definition at line 44 of file Assembler.hpp.
Referenced by polyfem::assembler::IncompressibleLinearElasticityMixed::rows(), set_size(), and size().