20 Eigen::Matrix<double, Eigen::Dynamic, 1, 0, 9, 1>
27 virtual std::string
name()
const override {
return "Stokes"; }
28 std::map<std::string, ParamFunc>
parameters()
const override;
30 bool is_fluid()
const override {
return true; }
41 std::string
name()
const override {
return "StokesMixed"; }
44 Eigen::Matrix<double, Eigen::Dynamic, 1, 0, 3, 1>
47 inline int rows()
const override {
return size(); }
48 inline int cols()
const override {
return 1; }
57 std::string
name()
const override {
return "StokesPressure"; }
58 std::map<std::string, ParamFunc>
parameters()
const override {
return std::map<std::string, ParamFunc>(); }
61 Eigen::Matrix<double, Eigen::Dynamic, 1, 0, 9, 1>
64 return Eigen::Matrix<double, 1, 1>::Zero(1, 1);
67 bool is_fluid()
const override {
return true; }
78 std::string
name()
const override {
return "OperatorSplitting"; }
assemble matrix based on the local assembler local assembler is eg Laplace, LinearElasticity etc
void assemble(const bool is_volume, const int n_basis, const std::vector< basis::ElementBases > &bases, const std::vector< basis::ElementBases > &gbases, const AssemblyValsCache &cache, const double t, StiffnessMatrix &stiffness, const bool is_mass=false) const override
assembles the stiffness matrix for the given basis the bilinear form (local assembler) is encoded by ...
OperatorSplitting()=default
std::string name() const override
~OperatorSplitting()=default
int rows() const override
std::string name() const override
Eigen::Matrix< double, Eigen::Dynamic, 1, 0, 3, 1 > assemble(const MixedAssemblerData &data) const override
int cols() const override
std::string name() const override
Eigen::Matrix< double, Eigen::Dynamic, 1, 0, 9, 1 > assemble(const LinearAssemblerData &data) const override
local assembly function that defines the bilinear form (LHS) computes and returns a single local stif...
void set_size(const int) override
bool is_fluid() const override
std::map< std::string, ParamFunc > parameters() const override
bool is_fluid() const override
Eigen::Matrix< double, Eigen::Dynamic, 1, 0, 9, 1 > assemble(const LinearAssemblerData &data) const override
local assembly function that defines the bilinear form (LHS) computes and returns a single local stif...
virtual std::string name() const override
VectorNd compute_rhs(const AutodiffHessianPt &pt) const override
bool is_tensor() const override
std::map< std::string, ParamFunc > parameters() const override
void add_multimaterial(const int index, const json ¶ms, const Units &units) override
GenericMatParam viscosity_
const GenericMatParam & viscosity() const
Eigen::Matrix< AutodiffScalarHessian, Eigen::Dynamic, 1, 0, 3, 1 > AutodiffHessianPt
Eigen::Matrix< double, Eigen::Dynamic, 1, 0, 3, 1 > VectorNd