19 class LocalToGlobalIndexMap;
50 std::unique_ptr<NumLib::LocalToGlobalIndexMap> source_term_dof_table,
52 unsigned const integration_order,
unsigned const shapefunction_order,
53 unsigned const global_dim,
bool const flush_stdout);
63 std::vector<std::unique_ptr<PythonSourceTermLocalAssemblerInterface>>
Global vector based on Eigen vector.
A source term whose values are computed by a Python script.
std::vector< std::unique_ptr< PythonSourceTermLocalAssemblerInterface > > _local_assemblers
Local assemblers for all elements of the source term mesh.
PythonSourceTerm(std::unique_ptr< NumLib::LocalToGlobalIndexMap > source_term_dof_table, PythonSourceTermData &&source_term_data, unsigned const integration_order, unsigned const shapefunction_order, unsigned const global_dim, bool const flush_stdout)
PythonSourceTermData _source_term_data
Auxiliary data.
void integrate(const double t, GlobalVector const &x, GlobalVector &b, GlobalMatrix *jac) const override
Groups data used by source terms, in particular by the local assemblers.
std::size_t const source_term_mesh_id
Mesh ID of the entire domain.
PythonSourceTermPythonSideInterface * source_term_object
Python object computing source term values.
int const global_component_id
const MeshLib::Mesh & source_term_mesh
The source term mesh, i.e., the (sub-) domain of this source term.