21namespace HydroMechanics
23class HydroMechanicsLocalAssemblerInterface;
25template <
int GlobalDim>
28 static_assert(GlobalDim == 2 || GlobalDim == 3,
29 "Currently LIE::HydroMechanicsProcess "
30 "supports only 2D or 3D.");
36 std::unique_ptr<ProcessLib::AbstractJacobianAssembler>&&
38 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const&
40 unsigned const integration_order,
41 std::vector<std::vector<std::reference_wrapper<ProcessVariable>>>&&
45 bool const use_monolithic_scheme);
53 std::vector<GlobalVector*>
const& x_prev,
54 double const t,
double const dt,
55 int const process_id)
override;
65 unsigned const integration_order)
override;
68 std::vector<GlobalVector*>
const& x,
69 std::vector<GlobalVector*>
const& x_prev,
74 const double t,
double const dt, std::vector<GlobalVector*>
const& x,
75 std::vector<GlobalVector*>
const& x_prev,
int const process_id,
78 double const t,
double const dt,
79 int const process_id)
override;
Global vector based on Eigen vector.
std::unique_ptr< MeshLib::MeshSubset const > _mesh_subset_matrix_nodes
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
std::vector< MeshLib::Node * > _mesh_nodes_p
void preTimestepConcreteProcess(std::vector< GlobalVector * > const &x, double const t, double const dt, int const process_id) override
std::vector< std::unique_ptr< LocalAssemblerInterface > > _local_assemblers
std::vector< MeshLib::Node * > _vec_fracture_nodes
std::vector< MeshLib::Element * > _vec_matrix_elements
bool isLinear() const override
std::unique_ptr< MeshLib::MeshSubset const > _mesh_subset_fracture_nodes
std::vector< MeshLib::Element * > _vec_fracture_matrix_elements
std::vector< MeshLib::Element * > _vec_fracture_elements
HydroMechanicsProcess(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, HydroMechanicsProcessData< GlobalDim > &&process_data, SecondaryVariableCollection &&secondary_variables, bool const use_monolithic_scheme)
std::unique_ptr< MeshLib::MeshSubset const > _mesh_subset_nodes_p
HydroMechanicsProcessData< GlobalDim > _process_data
void initializeConcreteProcess(NumLib::LocalToGlobalIndexMap const &dof_table, MeshLib::Mesh const &mesh, unsigned const integration_order) override
Process specific initialization called by initialize().
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 postTimestepConcreteProcess(std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, double const t, double const dt, int const process_id) override
void constructDofTable() override
Handles configuration of several secondary variables from the project file.