PolyFEM
Loading...
Searching...
No Matches
polyfem::assembler::MixedAssembler Class Referenceabstract

#include <Assembler.hpp>

Inheritance diagram for polyfem::assembler::MixedAssembler:
[legend]

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
 

Detailed Description

Definition at line 18 of file Assembler.hpp.

Constructor & Destructor Documentation

◆ MixedAssembler()

polyfem::assembler::MixedAssembler::MixedAssembler ( )

Definition at line 386 of file Assembler.cpp.

Referenced by polyfem::assembler::GenericElastic< AMIPSEnergyAutodiff >::assemble_hessian().

Here is the caller graph for this function:

◆ ~MixedAssembler()

virtual polyfem::assembler::MixedAssembler::~MixedAssembler ( )
virtualdefault

Member Function Documentation

◆ assemble() [1/2]

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().

Here is the caller graph for this function:

◆ assemble() [2/2]

virtual Eigen::Matrix< double, Eigen::Dynamic, 1, 0, 3, 1 > polyfem::assembler::MixedAssembler::assemble ( const MixedAssemblerData data) const
protectedpure virtual

◆ cols()

virtual int polyfem::assembler::MixedAssembler::cols ( ) const
protectedpure virtual

◆ name()

virtual std::string polyfem::assembler::MixedAssembler::name ( ) const
pure virtual

◆ rows()

virtual int polyfem::assembler::MixedAssembler::rows ( ) const
protectedpure virtual

◆ set_size()

virtual void polyfem::assembler::MixedAssembler::set_size ( const int  size)
inlinevirtual

Definition at line 41 of file Assembler.hpp.

References size(), and size_.

Here is the call graph for this function:

◆ size()

int polyfem::assembler::MixedAssembler::size ( ) const
inline

Definition at line 40 of file Assembler.hpp.

References size_.

Referenced by polyfem::assembler::IncompressibleLinearElasticityMixed::assemble(), polyfem::assembler::StokesMixed::rows(), and set_size().

Here is the caller graph for this function:

Member Data Documentation

◆ size_

int polyfem::assembler::MixedAssembler::size_ = -1
protected

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