![]() |
OGS
|
Namespaces | |
detail | |
Classes | |
struct | MaterialForcesInterface |
struct | SmallDeformationLocalAssemblerInterface |
struct | IntegrationPointData |
struct | SecondaryData |
class | SmallDeformationLocalAssembler |
class | SmallDeformationProcess |
struct | SmallDeformationProcessData |
Functions | |
template<int DisplacementDim, typename ShapeFunction , typename ShapeMatricesType , typename NodalForceVectorType , typename NodalDisplacementVectorType , typename GradientVectorType , typename GradientMatrixType , typename IPData , typename IntegrationMethod > | |
std::vector< double > const & | getMaterialForces (std::vector< double > const &local_x, std::vector< double > &nodal_values, IntegrationMethod const &_integration_method, IPData const &_ip_data, MeshLib::Element const &element, bool const is_axially_symmetric) |
template<typename LocalAssemblerInterface > | |
void | writeMaterialForces (std::unique_ptr< GlobalVector > &material_forces, std::vector< std::unique_ptr< LocalAssemblerInterface >> const &local_assemblers, NumLib::LocalToGlobalIndexMap const &local_to_global_index_map, GlobalVector const &x) |
template<int GlobalDim, template< typename, typename, int > class LocalAssemblerImplementation, typename LocalAssemblerInterface , typename... ExtraCtorArgs> | |
void | createLocalAssemblers (std::vector< MeshLib::Element * > const &mesh_elements, NumLib::LocalToGlobalIndexMap const &dof_table, std::vector< std::unique_ptr< LocalAssemblerInterface >> &local_assemblers, ExtraCtorArgs &&... extra_ctor_args) |
template<int DisplacementDim> | |
std::unique_ptr< Process > | createSmallDeformationProcess (std::string name, MeshLib::Mesh &mesh, std::unique_ptr< ProcessLib::AbstractJacobianAssembler > &&jacobian_assembler, std::vector< ProcessVariable > const &variables, std::vector< std::unique_ptr< ParameterLib::ParameterBase >> const ¶meters, std::optional< ParameterLib::CoordinateSystem > const &local_coordinate_system, unsigned const integration_order, BaseLib::ConfigTree const &config) |
template std::unique_ptr< Process > | createSmallDeformationProcess< 2 > (std::string name, MeshLib::Mesh &mesh, std::unique_ptr< ProcessLib::AbstractJacobianAssembler > &&jacobian_assembler, std::vector< ProcessVariable > const &variables, std::vector< std::unique_ptr< ParameterLib::ParameterBase >> const ¶meters, std::optional< ParameterLib::CoordinateSystem > const &local_coordinate_system, unsigned const integration_order, BaseLib::ConfigTree const &config) |
template std::unique_ptr< Process > | createSmallDeformationProcess< 3 > (std::string name, MeshLib::Mesh &mesh, std::unique_ptr< ProcessLib::AbstractJacobianAssembler > &&jacobian_assembler, std::vector< ProcessVariable > const &variables, std::vector< std::unique_ptr< ParameterLib::ParameterBase >> const ¶meters, std::optional< ParameterLib::CoordinateSystem > const &local_coordinate_system, unsigned const integration_order, BaseLib::ConfigTree const &config) |
void ProcessLib::SmallDeformation::createLocalAssemblers | ( | std::vector< MeshLib::Element * > const & | mesh_elements, |
NumLib::LocalToGlobalIndexMap const & | dof_table, | ||
std::vector< std::unique_ptr< LocalAssemblerInterface >> & | local_assemblers, | ||
ExtraCtorArgs &&... | extra_ctor_args | ||
) |
Creates local assemblers for each element of the given mesh
.
LocalAssemblerImplementation | the individual local assembler type |
LocalAssemblerInterface | the general local assembler interface |
ExtraCtorArgs | types of additional constructor arguments. Those arguments will be passed to the constructor of LocalAssemblerImplementation . |
The first two template parameters cannot be deduced from the arguments. Therefore they always have to be provided manually.
Definition at line 67 of file CreateLocalAssemblers.h.
References DBUG().
Referenced by ProcessLib::PhaseField::PhaseFieldProcess< DisplacementDim >::initializeConcreteProcess(), ProcessLib::SmallDeformation::SmallDeformationProcess< DisplacementDim >::initializeConcreteProcess(), ProcessLib::SmallDeformationNonlocal::SmallDeformationNonlocalProcess< DisplacementDim >::initializeConcreteProcess(), ProcessLib::ThermoMechanicalPhaseField::ThermoMechanicalPhaseFieldProcess< DisplacementDim >::initializeConcreteProcess(), and ProcessLib::ThermoMechanics::ThermoMechanicsProcess< DisplacementDim >::initializeConcreteProcess().
std::unique_ptr< Process > ProcessLib::SmallDeformation::createSmallDeformationProcess | ( | std::string | name, |
MeshLib::Mesh & | mesh, | ||
std::unique_ptr< ProcessLib::AbstractJacobianAssembler > && | jacobian_assembler, | ||
std::vector< ProcessVariable > const & | variables, | ||
std::vector< std::unique_ptr< ParameterLib::ParameterBase >> const & | parameters, | ||
std::optional< ParameterLib::CoordinateSystem > const & | local_coordinate_system, | ||
unsigned const | integration_order, | ||
BaseLib::ConfigTree const & | config | ||
) |
Definition at line 27 of file CreateSmallDeformationProcess.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), ProcessLib::createSecondaryVariables(), DBUG(), ParameterLib::findOptionalTagParameter(), ProcessLib::findProcessVariables(), BaseLib::ConfigTree::getConfigParameter(), BaseLib::ConfigTree::getConfigSubtree(), MathLib::KelvinVector::kelvin_vector_dimensions(), MeshLib::materialIDs(), MaterialPropertyLib::name, OGS_FATAL, and MaterialPropertyLib::reference_temperature.
template std::unique_ptr< Process > ProcessLib::SmallDeformation::createSmallDeformationProcess< 2 > | ( | std::string | name, |
MeshLib::Mesh & | mesh, | ||
std::unique_ptr< ProcessLib::AbstractJacobianAssembler > && | jacobian_assembler, | ||
std::vector< ProcessVariable > const & | variables, | ||
std::vector< std::unique_ptr< ParameterLib::ParameterBase >> const & | parameters, | ||
std::optional< ParameterLib::CoordinateSystem > const & | local_coordinate_system, | ||
unsigned const | integration_order, | ||
BaseLib::ConfigTree const & | config | ||
) |
Referenced by ProjectData::parseProcesses().
template std::unique_ptr< Process > ProcessLib::SmallDeformation::createSmallDeformationProcess< 3 > | ( | std::string | name, |
MeshLib::Mesh & | mesh, | ||
std::unique_ptr< ProcessLib::AbstractJacobianAssembler > && | jacobian_assembler, | ||
std::vector< ProcessVariable > const & | variables, | ||
std::vector< std::unique_ptr< ParameterLib::ParameterBase >> const & | parameters, | ||
std::optional< ParameterLib::CoordinateSystem > const & | local_coordinate_system, | ||
unsigned const | integration_order, | ||
BaseLib::ConfigTree const & | config | ||
) |
Referenced by ProjectData::parseProcesses().
std::vector<double> const& ProcessLib::SmallDeformation::getMaterialForces | ( | std::vector< double > const & | local_x, |
std::vector< double > & | nodal_values, | ||
IntegrationMethod const & | _integration_method, | ||
IPData const & | _ip_data, | ||
MeshLib::Element const & | element, | ||
bool const | is_axially_symmetric | ||
) |
Definition at line 41 of file MaterialForces.h.
References OGS_FATAL.
Referenced by ProcessLib::SmallDeformation::SmallDeformationLocalAssembler< ShapeFunction, IntegrationMethod, DisplacementDim >::getMaterialForces().
void ProcessLib::SmallDeformation::writeMaterialForces | ( | std::unique_ptr< GlobalVector > & | material_forces, |
std::vector< std::unique_ptr< LocalAssemblerInterface >> const & | local_assemblers, | ||
NumLib::LocalToGlobalIndexMap const & | local_to_global_index_map, | ||
GlobalVector const & | x | ||
) |
Definition at line 158 of file MaterialForces.h.
References MathLib::EigenVector::add(), DBUG(), NumLib::SerialExecutor::executeDereferenced(), MathLib::LinAlg::finalizeAssembly(), MathLib::EigenVector::get(), NumLib::getIndices(), MathLib::LinAlg::set(), and MathLib::LinAlg::setLocalAccessibleVector().
Referenced by ProcessLib::SmallDeformation::SmallDeformationProcess< DisplacementDim >::postTimestepConcreteProcess().