19namespace ThermoMechanicalPhaseField
21struct ThermoMechanicalPhaseFieldLocalAssemblerInterface;
52template <
int DisplacementDim>
59 std::unique_ptr<ProcessLib::AbstractJacobianAssembler>&&
61 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const&
63 unsigned const integration_order,
64 std::vector<std::vector<std::reference_wrapper<ProcessVariable>>>&&
68 int const mechanics_related_process_id,
69 int const phase_field_process_id,
70 int const heat_conduction_process_id);
78 const int process_id)
const override;
81 const int process_id)
const override;
87 std::map<
int, std::shared_ptr<MaterialPropertyLib::Medium>>
const&
93 unsigned const integration_order)
override;
96 std::vector<GlobalVector*>
const& x,
97 std::vector<GlobalVector*>
const& x_prev,
102 const double t,
double const dt, std::vector<GlobalVector*>
const& x,
103 std::vector<GlobalVector*>
const& x_prev,
int const process_id,
107 double const t,
double const dt,
108 const int process_id)
override;
111 std::vector<GlobalVector*>
const& x_prev,
112 double const t,
double const dt,
113 int const process_id)
override;
116 std::vector<GlobalVector*>
const& x,
117 std::vector<GlobalVector*>
const& x_prev,
const double t,
118 double const dt,
int const process_id)
override;
122 const int process_id)
const;
128 std::unique_ptr<ThermoMechanicalPhaseFieldLocalAssemblerInterface>>
131 std::unique_ptr<NumLib::LocalToGlobalIndexMap>
MathLib::SparsityPattern< GlobalIndexType > GlobalSparsityPattern
Global vector based on Eigen vector.
Handles configuration of several secondary variables from the project file.
A class to simulate thermo-mechanical fracturing process using phase-field approach in solids describ...
std::vector< std::unique_ptr< ThermoMechanicalPhaseFieldLocalAssemblerInterface > > _local_assemblers
NumLib::LocalToGlobalIndexMap const & getDOFTable(const int process_id) const override
int const _phase_field_process_id
ID of phase field process.
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
int const _mechanics_related_process_id
ID of the processes that contains mechanical process.
void preTimestepConcreteProcess(std::vector< GlobalVector * > const &x, double const t, double const dt, const int 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
MathLib::MatrixSpecifications getMatrixSpecifications(const int process_id) const override
NumLib::LocalToGlobalIndexMap & getDOFTableByProcessID(const int process_id) const
int const _heat_conduction_process_id
ID of heat conduction process.
ThermoMechanicalPhaseFieldProcessData< DisplacementDim > _process_data
void constructDofTable() override
void postNonLinearSolverConcreteProcess(std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, const double t, double const dt, int const process_id) override
void initializeBoundaryConditions(std::map< int, std::shared_ptr< MaterialPropertyLib::Medium > > const &media) override
bool isLinear() const override
ThermoMechanicalPhaseFieldProcess(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, ThermoMechanicalPhaseFieldProcessData< DisplacementDim > &&process_data, SecondaryVariableCollection &&secondary_variables, int const mechanics_related_process_id, int const phase_field_process_id, int const heat_conduction_process_id)
void postTimestepConcreteProcess(std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, double const t, double const dt, int const process_id) override
std::unique_ptr< NumLib::LocalToGlobalIndexMap > _local_to_global_index_map_single_component
GlobalSparsityPattern _sparsity_pattern_with_single_component
Sparsity pattern for the phase field equation, and it is initialized.
void initializeConcreteProcess(NumLib::LocalToGlobalIndexMap const &dof_table, MeshLib::Mesh const &mesh, unsigned const integration_order) override
Process specific initialization called by initialize().