18 unsigned const bulk_mesh_dimension,
MeshLib::Mesh const& source_term_mesh,
19 std::unique_ptr<NumLib::LocalToGlobalIndexMap> source_term_dof_table,
20 unsigned const integration_order,
unsigned const shapefunction_order,
22 :
SourceTerm(std::move(source_term_dof_table)),
23 _source_term_parameter(source_term_parameter)
27 bulk_mesh_dimension, source_term_mesh.
getElements(),
37 DBUG(
"Assemble VolumetricSourceTerm.");
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
Global vector based on Eigen vector.
bool isAxiallySymmetric() const
std::vector< Element * > const & getElements() const
Get the element-vector for the mesh.
std::unique_ptr< NumLib::LocalToGlobalIndexMap > const _source_term_dof_table
virtual void integrate(std::size_t const id, NumLib::LocalToGlobalIndexMap const &source_term_dof_table, double const t, GlobalVector &b)=0
ParameterLib::Parameter< double > const & _source_term_parameter
VolumetricSourceTerm(unsigned const bulk_mesh_dimension, MeshLib::Mesh const &source_term_mesh, std::unique_ptr< NumLib::LocalToGlobalIndexMap > source_term_dof_table, unsigned const integration_order, unsigned const shapefunction_order, ParameterLib::Parameter< double > const &source_term_parameter)
void integrate(const double t, GlobalVector const &x, GlobalVector &b, GlobalMatrix *jac) const override
std::vector< std::unique_ptr< VolumetricSourceTermLocalAssemblerInterface > > _local_assemblers
void createLocalAssemblers(const unsigned dimension, std::vector< MeshLib::Element * > const &mesh_elements, NumLib::LocalToGlobalIndexMap const &dof_table, const unsigned shapefunction_order, std::vector< std::unique_ptr< LocalAssemblerInterface > > &local_assemblers, NumLib::IntegrationOrder const integration_order, ExtraCtorArgs &&... extra_ctor_args)
static void executeMemberOnDereferenced(Method method, Container const &container, Args &&... args)