25namespace HydroMechanics
27template <
typename ShapeFunctionDisplacement,
typename ShapeFunctionPressure,
41 std::size_t
const local_matrix_size,
42 std::vector<unsigned>
const& dofIndex_to_localIndex,
44 bool const is_axially_symmetric,
49 double const )
override
58 const double t,
double const dt,
59 Eigen::VectorXd
const& local_x)
override;
63 std::vector<GlobalVector*>
const& ,
64 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& ,
65 std::vector<double>& cache)
const override
73 std::vector<GlobalVector*>
const& ,
74 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& ,
75 std::vector<double>& cache)
const override
83 std::vector<GlobalVector*>
const& ,
84 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& ,
85 std::vector<double>& cache)
const override
93 std::vector<GlobalVector*>
const& x,
94 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& dof_table,
95 std::vector<double>& cache)
const override;
99 std::vector<GlobalVector*>
const& x,
100 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& dof_table,
101 std::vector<double>& cache)
const override;
105 std::vector<GlobalVector*>
const& x,
106 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& dof_table,
107 std::vector<double>& cache)
const override;
111 std::vector<GlobalVector*>
const& x,
112 std::vector<NumLib::LocalToGlobalIndexMap const*>
const& dof_table,
113 std::vector<double>& cache)
const override;
116 const unsigned integration_point)
const override
121 return Eigen::Map<const Eigen::RowVectorXd>(N.data(), N.size());
126 Eigen::VectorXd
const& local_x,
127 Eigen::VectorXd
const& local_x_prev,
128 Eigen::VectorXd& local_b,
129 Eigen::MatrixXd& local_J)
override;
132 double const t,
double const dt,
133 Eigen::Ref<const Eigen::VectorXd>
const& p,
134 Eigen::Ref<const Eigen::VectorXd>
const& p_prev,
135 Eigen::Ref<const Eigen::VectorXd>
const& g,
136 Eigen::Ref<const Eigen::VectorXd>
const& g_prev,
137 Eigen::Ref<Eigen::VectorXd> rhs_p, Eigen::Ref<Eigen::VectorXd> rhs_g,
138 Eigen::Ref<Eigen::MatrixXd> J_pp, Eigen::Ref<Eigen::MatrixXd> J_pg,
139 Eigen::Ref<Eigen::MatrixXd> J_gg, Eigen::Ref<Eigen::MatrixXd> J_gp);
163 Eigen::aligned_allocator<IntegrationPointDataType>>
170 ShapeFunctionDisplacement::NPOINTS * GlobalDim;
173 typename ShapeMatricesTypeDisplacement::ShapeMatrices::ShapeType>
MatrixType< DisplacementDim, _number_of_dof > HMatrixType
std::vector< double > const & getIntPtEpsilon(const double, std::vector< GlobalVector * > const &, std::vector< NumLib::LocalToGlobalIndexMap const * > const &, std::vector< double > &cache) const override
std::vector< double > const & getIntPtSigma(const double, std::vector< GlobalVector * > const &, std::vector< NumLib::LocalToGlobalIndexMap const * > const &, std::vector< double > &cache) const override
Eigen::Matrix< double, GlobalDim, 1 > GlobalDimVectorType
SecondaryData< typename ShapeMatricesTypeDisplacement::ShapeMatrices::ShapeType > _secondary_data
Eigen::Map< const Eigen::RowVectorXd > getShapeMatrix(const unsigned integration_point) const override
Provides the shape matrix at the given integration point.
std::vector< double > const & getIntPtFractureAperture(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const override
static const int displacement_size
void assembleBlockMatricesWithJacobian(double const t, double const dt, Eigen::Ref< const Eigen::VectorXd > const &p, Eigen::Ref< const Eigen::VectorXd > const &p_prev, Eigen::Ref< const Eigen::VectorXd > const &g, Eigen::Ref< const Eigen::VectorXd > const &g_prev, Eigen::Ref< Eigen::VectorXd > rhs_p, Eigen::Ref< Eigen::VectorXd > rhs_g, Eigen::Ref< Eigen::MatrixXd > J_pp, Eigen::Ref< Eigen::MatrixXd > J_pg, Eigen::Ref< Eigen::MatrixXd > J_gg, Eigen::Ref< Eigen::MatrixXd > J_gp)
std::vector< double > const & getIntPtFracturePermeability(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const override
std::vector< IntegrationPointDataType, Eigen::aligned_allocator< IntegrationPointDataType > > _ip_data
static const int pressure_index
std::vector< double > const & getIntPtDarcyVelocity(const double, std::vector< GlobalVector * > const &, std::vector< NumLib::LocalToGlobalIndexMap const * > const &, std::vector< double > &cache) const override
HydroMechanicsLocalAssemblerFracture(HydroMechanicsLocalAssemblerFracture const &)=delete
std::vector< double > const & getIntPtFractureVelocity(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const override
std::vector< double > const & getIntPtFractureStress(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const override
typename HMatricesType::HMatrixType HMatrixType
static const int displacement_index
static const int pressure_size
void preTimestepConcrete(std::vector< double > const &, double const, double const) override
ShapeMatrixPolicyType< ShapeFunctionDisplacement, GlobalDim > ShapeMatricesTypeDisplacement
HydroMechanicsProcessData< GlobalDim > & _process_data
HMatrixPolicyType< ShapeFunctionDisplacement, GlobalDim > HMatricesType
void assembleWithJacobianConcrete(double const t, double const dt, Eigen::VectorXd const &local_x, Eigen::VectorXd const &local_x_prev, Eigen::VectorXd &local_b, Eigen::MatrixXd &local_J) override
void postTimestepConcreteWithVector(const double t, double const dt, Eigen::VectorXd const &local_x) override
ShapeMatrixPolicyType< ShapeFunctionPressure, GlobalDim > ShapeMatricesTypePressure
IntegrationPointDataFracture< HMatricesType, ShapeMatricesTypeDisplacement, ShapeMatricesTypePressure, GlobalDim > IntegrationPointDataType
HydroMechanicsLocalAssemblerFracture(HydroMechanicsLocalAssemblerFracture &&)=delete
Used for the extrapolation of the integration point values.