13#include <Eigen/Sparse>
39 auto const*
const bulk_element_ids = bulkElementIDs(
_mesh);
40 if (bulk_element_ids ==
nullptr)
43 "The 'bulk_element_ids' property does not exist on the mesh "
48 bulk_element_ids->end());
59 std::vector<double>
const& ,
67 std::vector<double>
const& ,
86 return std::numeric_limits<double>::quiet_NaN();
100 [[maybe_unused]] std::size_t reaction_id)
const
102 return std::numeric_limits<double>::quiet_NaN();
109 double const ,
double const )
122 std::vector<GlobalIndexType>
const& )
GlobalMatrix::IndexType GlobalIndexType
Definition of the Mesh class.
virtual void setAqueousSolutionsPrevFromDumpFile()
virtual void updatePorosityPostReaction(GlobalIndexType const &, MaterialPropertyLib::Medium const &, double &)
virtual double getKineticPrefactor(std::size_t reaction_id) const
virtual void computeSecondaryVariable(std::size_t const, std::vector< GlobalIndexType > const &)
virtual void setChemicalSystemConcrete(std::vector< double > const &, GlobalIndexType const &, MaterialPropertyLib::Medium const *, MaterialPropertyLib::VariableArray const &, ParameterLib::SpatialPosition const &, double const, double const)
virtual void updateVolumeFractionPostReaction(GlobalIndexType const &, MaterialPropertyLib::Medium const &, ParameterLib::SpatialPosition const &, double const, double const, double const)
std::vector< GlobalIndexType > chemical_system_index_map
virtual ~ChemicalSolverInterface()=default
virtual void executeSpeciationCalculation(double const dt)
virtual std::vector< std::string > const getComponentList() const
virtual Eigen::SparseMatrix< double > const * getStoichiometricMatrix() const
MeshLib::Mesh const & _mesh
std::vector< std::size_t > active_element_ids_
GlobalLinearSolver & linear_solver
ChemicalSolverInterface(MeshLib::Mesh const &mesh, GlobalLinearSolver &linear_solver_)
virtual void initialize()
virtual double getConcentration(int const, GlobalIndexType const) const
std::vector< std::size_t > const & activeElementIDs() const
virtual void initializeChemicalSystemConcrete(std::vector< double > const &, GlobalIndexType const &, MaterialPropertyLib::Medium const &, ParameterLib::SpatialPosition const &, double const)
const std::string getName() const
Get name of the mesh.