21class ChemicalSolverInterface;
26struct SurfaceFluxData;
28namespace ComponentTransport
101 std::unique_ptr<ProcessLib::AbstractJacobianAssembler>&&
103 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const&
105 unsigned const integration_order,
106 std::vector<std::vector<std::reference_wrapper<ProcessVariable>>>&&
110 bool const use_monolithic_scheme,
111 std::unique_ptr<ProcessLib::SurfaceFluxData>&& surfaceflux,
112 std::unique_ptr<ChemistryLib::ChemicalSolverInterface>&&
113 chemical_solver_interface,
114 bool const is_linear,
115 bool const ls_compute_only_upon_timestep_change);
123 Eigen::Vector3d
getFlux(std::size_t
const element_id,
125 std::vector<GlobalVector*>
const& x)
const override;
128 std::vector<GlobalVector*>
const& x_prev,
129 double const t,
double const dt,
131 int const process_id)
override;
135 std::vector<GlobalVector*>
const& x,
137 int const )
override;
140 std::vector<GlobalVector*>
const& x_prev,
143 int const process_id)
override;
154 unsigned const integration_order)
override;
158 int const process_id)
override;
161 std::vector<GlobalVector*>
const& x,
162 std::vector<GlobalVector*>
const& x_prev,
167 const double t,
double const dt, std::vector<GlobalVector*>
const& x,
168 std::vector<GlobalVector*>
const& x_prev,
int const process_id,
172 std::vector<GlobalVector*>
const& x,
173 std::vector<GlobalVector*>
const& x_prev,
174 int const process_id)
override;
178 std::vector<std::unique_ptr<ComponentTransportLocalAssemblerInterface>>
183 std::unique_ptr<ChemistryLib::ChemicalSolverInterface>
186 std::vector<MeshLib::PropertyVector<double>*>
_residua;
Global vector based on Eigen vector.
void setInitialConditionsConcreteProcess(std::vector< GlobalVector * > &x, double const t, int const process_id) override
void preOutputConcreteProcess(const double t, double const dt, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, int const process_id) override
void assembleConcreteProcess(const double t, double const dt, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, int const process_id, GlobalMatrix &M, GlobalMatrix &K, GlobalVector &b) override
void initializeConcreteProcess(NumLib::LocalToGlobalIndexMap const &dof_table, MeshLib::Mesh const &mesh, unsigned const integration_order) override
Process specific initialization called by initialize().
std::unique_ptr< ChemistryLib::ChemicalSolverInterface > _chemical_solver_interface
std::vector< MeshLib::PropertyVector< double > * > _residua
bool isLinear() const override
ComponentTransportProcessData _process_data
void computeSecondaryVariableConcrete(double const, double const, std::vector< GlobalVector * > const &x, GlobalVector const &, int const) override
void solveReactionEquation(std::vector< GlobalVector * > &x, std::vector< GlobalVector * > const &x_prev, double const t, double const dt, NumLib::EquationSystem &ode_sys, int const process_id) override
bool const _ls_compute_only_upon_timestep_change
void assembleWithJacobianConcreteProcess(const double t, double const dt, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, int const process_id, GlobalVector &b, GlobalMatrix &Jac) override
void postTimestepConcreteProcess(std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, const double t, const double dt, int const process_id) override
std::vector< std::unique_ptr< ComponentTransportLocalAssemblerInterface > > _local_assemblers
bool shouldLinearSolverComputeOnlyUponTimestepChange() const override
std::unique_ptr< ProcessLib::SurfaceFluxData > _surfaceflux
ComponentTransportProcess(std::string name, MeshLib::Mesh &mesh, std::unique_ptr< ProcessLib::AbstractJacobianAssembler > &&jacobian_assembler, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters, unsigned const integration_order, std::vector< std::vector< std::reference_wrapper< ProcessVariable > > > &&process_variables, ComponentTransportProcessData &&process_data, SecondaryVariableCollection &&secondary_variables, bool const use_monolithic_scheme, std::unique_ptr< ProcessLib::SurfaceFluxData > &&surfaceflux, std::unique_ptr< ChemistryLib::ChemicalSolverInterface > &&chemical_solver_interface, bool const is_linear, bool const ls_compute_only_upon_timestep_change)
Eigen::Vector3d getFlux(std::size_t const element_id, MathLib::Point3d const &p, double const t, std::vector< GlobalVector * > const &x) const override
AssembledMatrixCache _asm_mat_cache
Handles configuration of several secondary variables from the project file.