OGS
|
Definition at line 34 of file HydroMechanicsLocalAssemblerMatrix.h.
#include <HydroMechanicsLocalAssemblerMatrix.h>
Public Member Functions | |
HydroMechanicsLocalAssemblerMatrix (HydroMechanicsLocalAssemblerMatrix const &)=delete | |
HydroMechanicsLocalAssemblerMatrix (HydroMechanicsLocalAssemblerMatrix &&)=delete | |
HydroMechanicsLocalAssemblerMatrix (MeshLib::Element const &e, std::size_t const n_variables, std::size_t const local_matrix_size, std::vector< unsigned > const &dofIndex_to_localIndex, NumLib::GenericIntegrationMethod const &integration_method, bool const is_axially_symmetric, HydroMechanicsProcessData< GlobalDim > &process_data) | |
void | preTimestepConcrete (std::vector< double > const &, double const, double const) override |
std::vector< double > const & | getIntPtSigma (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 & | getIntPtEpsilon (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 & | getIntPtDarcyVelocity (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 & | getIntPtFractureVelocity (const double, std::vector< GlobalVector * > const &, std::vector< NumLib::LocalToGlobalIndexMap const * > const &, std::vector< double > &cache) const override |
std::vector< double > const & | getIntPtFractureStress (const double, std::vector< GlobalVector * > const &, std::vector< NumLib::LocalToGlobalIndexMap const * > const &, std::vector< double > &cache) const override |
std::vector< double > const & | getIntPtFractureAperture (const double, std::vector< GlobalVector * > const &, std::vector< NumLib::LocalToGlobalIndexMap const * > const &, std::vector< double > &cache) const override |
std::vector< double > const & | getIntPtFracturePermeability (const double, std::vector< GlobalVector * > const &, std::vector< NumLib::LocalToGlobalIndexMap const * > const &, std::vector< double > &cache) const override |
Eigen::Map< const Eigen::RowVectorXd > | getShapeMatrix (const unsigned integration_point) const override |
Provides the shape matrix at the given integration point. | |
Public Member Functions inherited from ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerInterface | |
HydroMechanicsLocalAssemblerInterface (MeshLib::Element const &element, bool const is_axially_symmetric, NumLib::GenericIntegrationMethod const &integration_method, std::size_t n_local_size, std::vector< unsigned > dofIndex_to_localIndex) | |
void | assemble (double const, double const, std::vector< double > const &, std::vector< double > const &, std::vector< double > &, std::vector< double > &, std::vector< double > &) override |
void | assembleWithJacobian (double const t, double const dt, std::vector< double > const &local_x_, std::vector< double > const &local_x_prev_, std::vector< double > &local_b_data, std::vector< double > &local_Jac_data) override |
void | postTimestepConcrete (Eigen::VectorXd const &local_x_, Eigen::VectorXd const &, const double t, double const dt, int const) override |
Public Member Functions inherited from ProcessLib::LocalAssemblerInterface | |
virtual | ~LocalAssemblerInterface ()=default |
virtual void | setInitialConditions (std::size_t const mesh_item_id, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_tables, std::vector< GlobalVector * > const &x, double const t, int const process_id) |
virtual void | initialize (std::size_t const mesh_item_id, NumLib::LocalToGlobalIndexMap const &dof_table) |
virtual void | preAssemble (double const, double const, std::vector< double > const &) |
virtual void | assembleForStaggeredScheme (double const t, double const dt, Eigen::VectorXd const &local_x, Eigen::VectorXd const &local_x_prev, int const process_id, std::vector< double > &local_M_data, std::vector< double > &local_K_data, std::vector< double > &local_b_data) |
virtual void | assembleWithJacobianForStaggeredScheme (double const t, double const dt, Eigen::VectorXd const &local_x, Eigen::VectorXd const &local_x_prev, int const process_id, std::vector< double > &local_b_data, std::vector< double > &local_Jac_data) |
virtual void | computeSecondaryVariable (std::size_t const mesh_item_id, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_tables, double const t, double const dt, std::vector< GlobalVector * > const &x, GlobalVector const &x_prev, int const process_id) |
virtual void | preTimestep (std::size_t const mesh_item_id, NumLib::LocalToGlobalIndexMap const &dof_table, GlobalVector const &x, double const t, double const delta_t) |
virtual void | postTimestep (std::size_t const mesh_item_id, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_tables, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, double const t, double const dt, int const process_id) |
void | postNonLinearSolver (std::size_t const mesh_item_id, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_tables, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, double const t, double const dt, int const process_id) |
virtual Eigen::Vector3d | getFlux (MathLib::Point3d const &, double const, std::vector< double > const &) const |
virtual Eigen::Vector3d | getFlux (MathLib::Point3d const &, double const, std::vector< std::vector< double > > const &) const |
Fits to staggered scheme. | |
Public Member Functions inherited from NumLib::ExtrapolatableElement | |
virtual | ~ExtrapolatableElement ()=default |
Protected Types | |
using | ShapeMatricesTypeDisplacement |
using | BMatricesType |
using | BBarMatrixType = typename BMatricesType::BBarMatrixType |
using | ShapeMatricesTypePressure |
using | IntegrationPointDataType |
using | GlobalDimVector = Eigen::Matrix<double, GlobalDim, 1> |
Protected Member Functions | |
void | assembleWithJacobianConcrete (double const t, double const dt, Eigen::VectorXd const &local_x, Eigen::VectorXd const &local_x_prev, Eigen::VectorXd &local_rhs, Eigen::MatrixXd &local_Jac) override |
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 &u, Eigen::Ref< const Eigen::VectorXd > const &u_prev, Eigen::Ref< Eigen::VectorXd > rhs_p, Eigen::Ref< Eigen::VectorXd > rhs_u, Eigen::Ref< Eigen::MatrixXd > J_pp, Eigen::Ref< Eigen::MatrixXd > J_pu, Eigen::Ref< Eigen::MatrixXd > J_uu, Eigen::Ref< Eigen::MatrixXd > J_up) |
void | postTimestepConcreteWithVector (double const t, double const dt, Eigen::VectorXd const &local_x) override |
void | postTimestepConcreteWithBlockVectors (double const t, double const dt, Eigen::Ref< const Eigen::VectorXd > const &p, Eigen::Ref< const Eigen::VectorXd > const &u) |
void | setPressureOfInactiveNodes (double const t, Eigen::Ref< Eigen::VectorXd > p) |
std::optional< BBarMatrixType > | getDilatationalBBarMatrix () const |
Protected Member Functions inherited from ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerInterface |
Protected Attributes | |
HydroMechanicsProcessData< GlobalDim > & | _process_data |
std::vector< IntegrationPointDataType, Eigen::aligned_allocator< IntegrationPointDataType > > | _ip_data |
SecondaryData< typename ShapeMatricesTypeDisplacement::ShapeMatrices::ShapeType > | _secondary_data |
Protected Attributes inherited from ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerInterface | |
MeshLib::Element const & | _element |
bool const | _is_axially_symmetric |
NumLib::GenericIntegrationMethod const & | _integration_method |
Static Protected Attributes | |
static const int | pressure_index = 0 |
static const int | pressure_size = ShapeFunctionPressure::NPOINTS |
static const int | displacement_index = ShapeFunctionPressure::NPOINTS |
static const int | displacement_size |
static const int | kelvin_vector_size |
|
protected |
Definition at line 164 of file HydroMechanicsLocalAssemblerMatrix.h.
|
protected |
Definition at line 161 of file HydroMechanicsLocalAssemblerMatrix.h.
|
protected |
Definition at line 175 of file HydroMechanicsLocalAssemblerMatrix.h.
|
protected |
Definition at line 170 of file HydroMechanicsLocalAssemblerMatrix.h.
|
protected |
Definition at line 159 of file HydroMechanicsLocalAssemblerMatrix.h.
|
protected |
Definition at line 167 of file HydroMechanicsLocalAssemblerMatrix.h.
|
delete |
|
delete |
ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerMatrix< ShapeFunctionDisplacement, ShapeFunctionPressure, GlobalDim >::HydroMechanicsLocalAssemblerMatrix | ( | MeshLib::Element const & | e, |
std::size_t const | n_variables, | ||
std::size_t const | local_matrix_size, | ||
std::vector< unsigned > const & | dofIndex_to_localIndex, | ||
NumLib::GenericIntegrationMethod const & | integration_method, | ||
bool const | is_axially_symmetric, | ||
HydroMechanicsProcessData< GlobalDim > & | process_data ) |
Definition at line 32 of file HydroMechanicsLocalAssemblerMatrix-impl.h.
References ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerMatrix< ShapeFunctionDisplacement, ShapeFunctionPressure, GlobalDim >::_ip_data, ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerMatrix< ShapeFunctionDisplacement, ShapeFunctionPressure, GlobalDim >::_process_data, ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerMatrix< ShapeFunctionDisplacement, ShapeFunctionPressure, GlobalDim >::_secondary_data, ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerMatrix< ShapeFunctionDisplacement, ShapeFunctionPressure, GlobalDim >::displacement_size, MeshLib::Element::getID(), NumLib::GenericIntegrationMethod::getNumberOfPoints(), MathLib::WeightedPoint::getWeight(), NumLib::GenericIntegrationMethod::getWeightedPoint(), NumLib::initShapeMatrices(), ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerMatrix< ShapeFunctionDisplacement, ShapeFunctionPressure, GlobalDim >::kelvin_vector_size, ProcessLib::LIE::HydroMechanics::SecondaryData< ShapeMatrixType >::N, MaterialLib::Solids::selectSolidConstitutiveRelation(), ParameterLib::SpatialPosition::setElementID(), and ParameterLib::SpatialPosition::setIntegrationPoint().
|
protected |
Definition at line 159 of file HydroMechanicsLocalAssemblerMatrix-impl.h.
References ProcessLib::LinearBMatrix::computeBMatrixPossiblyWithBbar(), NumLib::interpolateXCoordinate(), MaterialPropertyLib::VariableArray::mechanical_strain, OGS_FATAL, ParameterLib::SpatialPosition::setElementID(), ParameterLib::SpatialPosition::setIntegrationPoint(), MaterialPropertyLib::VariableArray::stress, and MaterialPropertyLib::VariableArray::temperature.
|
overrideprotectedvirtual |
Implements ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerInterface.
Reimplemented in ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerMatrixNearFracture< ShapeFunctionDisplacement, ShapeFunctionPressure, GlobalDim >.
Definition at line 119 of file HydroMechanicsLocalAssemblerMatrix-impl.h.
|
inlineprotected |
Definition at line 177 of file HydroMechanicsLocalAssemblerMatrix.h.
References ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerInterface::_element, ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerInterface::_integration_method, ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerMatrix< ShapeFunctionDisplacement, ShapeFunctionPressure, GlobalDim >::_ip_data, ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerInterface::_is_axially_symmetric, ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerMatrix< ShapeFunctionDisplacement, ShapeFunctionPressure, GlobalDim >::_process_data, and ProcessLib::LinearBMatrix::computeDilatationalBbar().
|
overridevirtual |
Implements ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerInterface.
Definition at line 481 of file HydroMechanicsLocalAssemblerMatrix-impl.h.
References MathLib::createZeroedMatrix().
|
overridevirtual |
Implements ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerInterface.
Definition at line 467 of file HydroMechanicsLocalAssemblerMatrix-impl.h.
References ProcessLib::getIntegrationPointKelvinVectorData().
|
inlineoverridevirtual |
Implements ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerInterface.
Definition at line 100 of file HydroMechanicsLocalAssemblerMatrix.h.
|
inlineoverridevirtual |
Implements ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerInterface.
Definition at line 110 of file HydroMechanicsLocalAssemblerMatrix.h.
|
inlineoverridevirtual |
Implements ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerInterface.
Definition at line 90 of file HydroMechanicsLocalAssemblerMatrix.h.
|
inlineoverridevirtual |
Implements ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerInterface.
Definition at line 80 of file HydroMechanicsLocalAssemblerMatrix.h.
|
overridevirtual |
Implements ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerInterface.
Definition at line 454 of file HydroMechanicsLocalAssemblerMatrix-impl.h.
References ProcessLib::getIntegrationPointKelvinVectorData().
|
inlineoverridevirtual |
Provides the shape matrix at the given integration point.
Implements NumLib::ExtrapolatableElement.
Definition at line 120 of file HydroMechanicsLocalAssemblerMatrix.h.
References ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerMatrix< ShapeFunctionDisplacement, ShapeFunctionPressure, GlobalDim >::_secondary_data, and ProcessLib::LIE::HydroMechanics::SecondaryData< ShapeMatrixType >::N.
|
protected |
Definition at line 326 of file HydroMechanicsLocalAssemblerMatrix-impl.h.
References ProcessLib::LinearBMatrix::computeBMatrixPossiblyWithBbar(), NumLib::interpolateToHigherOrderNodes(), NumLib::interpolateXCoordinate(), MathLib::KelvinVector::kelvinVectorToSymmetricTensor(), MaterialPropertyLib::VariableArray::mechanical_strain, OGS_FATAL, ParameterLib::SpatialPosition::setElementID(), ParameterLib::SpatialPosition::setIntegrationPoint(), MaterialPropertyLib::VariableArray::stress, and MaterialPropertyLib::VariableArray::temperature.
|
overrideprotectedvirtual |
Implements ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerInterface.
Reimplemented in ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerMatrixNearFracture< ShapeFunctionDisplacement, ShapeFunctionPressure, GlobalDim >.
Definition at line 309 of file HydroMechanicsLocalAssemblerMatrix-impl.h.
|
inlineoverridevirtual |
Reimplemented from ProcessLib::LocalAssemblerInterface.
Reimplemented in ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerMatrixNearFracture< ShapeFunctionDisplacement, ShapeFunctionPressure, GlobalDim >.
Definition at line 52 of file HydroMechanicsLocalAssemblerMatrix.h.
|
protected |
Definition at line 433 of file HydroMechanicsLocalAssemblerMatrix-impl.h.
References ParameterLib::SpatialPosition::setElementID(), and ParameterLib::SpatialPosition::setNodeID().
|
protected |
Definition at line 196 of file HydroMechanicsLocalAssemblerMatrix.h.
Referenced by ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerMatrix< ShapeFunctionDisplacement, ShapeFunctionPressure, GlobalDim >::HydroMechanicsLocalAssemblerMatrix(), ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerMatrix< ShapeFunctionDisplacement, ShapeFunctionPressure, GlobalDim >::getDilatationalBBarMatrix(), and ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerMatrix< ShapeFunctionDisplacement, ShapeFunctionPressure, GlobalDim >::preTimestepConcrete().
|
protected |
Definition at line 192 of file HydroMechanicsLocalAssemblerMatrix.h.
Referenced by ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerMatrix< ShapeFunctionDisplacement, ShapeFunctionPressure, GlobalDim >::HydroMechanicsLocalAssemblerMatrix(), and ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerMatrix< ShapeFunctionDisplacement, ShapeFunctionPressure, GlobalDim >::getDilatationalBBarMatrix().
|
protected |
Definition at line 208 of file HydroMechanicsLocalAssemblerMatrix.h.
Referenced by ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerMatrix< ShapeFunctionDisplacement, ShapeFunctionPressure, GlobalDim >::HydroMechanicsLocalAssemblerMatrix(), and ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerMatrix< ShapeFunctionDisplacement, ShapeFunctionPressure, GlobalDim >::getShapeMatrix().
|
staticprotected |
Definition at line 200 of file HydroMechanicsLocalAssemblerMatrix.h.
|
staticprotected |
Definition at line 201 of file HydroMechanicsLocalAssemblerMatrix.h.
|
staticprotected |
Definition at line 203 of file HydroMechanicsLocalAssemblerMatrix.h.
|
staticprotected |
Definition at line 198 of file HydroMechanicsLocalAssemblerMatrix.h.
|
staticprotected |
Definition at line 199 of file HydroMechanicsLocalAssemblerMatrix.h.