KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Classes
StructuralMechanicsApplication
Collaboration diagram for StructuralMechanicsApplication:

Classes

class  Kratos::AdjointPotentialResponseFunction
 
class  Kratos::AdjointStructuralResponseFunction
 AdjointStructuralResponseFunction. More...
 
class  Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >
 Custom convergence for used to check the convergence in the mesh error. More...
 
class  Kratos::NodeConfigureForNodeSearch
 Configuration file for nodes. More...
 
class  Kratos::NodeSearchUtility
 Node Search. More...
 
class  Kratos::PerturbGeometryBaseUtility
 Base class for geometry perturbation utilities. More...
 
class  Kratos::PerturbGeometrySparseUtility
 This class generates a random field based on a sparse correlation matrix. More...
 
class  Kratos::PerturbGeometrySubgridUtility
 This class generates a random field based on a reduced correlation matrix. More...
 
class  Kratos::ProjectVectorOnSurfaceUtility
 Short class definition. More...
 
class  Kratos::FlowStationarityCheck
 This defines a class to assess whether stationarity has been reached in the fluid. More...
 
class  Kratos::InitialState
 Define the initial state of the material in terms of initial stress/strain/F. More...
 
class  Kratos::GenericCompressionConstitutiveLawIntegratorDplusDminusDamage< TYieldSurfaceType >
 : This object integrates the predictive stress using the isotropic the d+d- damage theory More...
 
class  Kratos::GenericTensionConstitutiveLawIntegratorDplusDminusDamage< TYieldSurfaceType >
 : This object integrates the predictive stress using the isotropic the d+d- damage theory More...
 
class  Kratos::GenericConstitutiveLawIntegratorDamage< TYieldSurfaceType >
 : This object integrates the predictive stress using the isotropic damage theory by means of linear/exponential softening. More...
 
class  Kratos::GenericConstitutiveLawIntegratorKinematicPlasticity< TYieldSurfaceType >
 This object integrates the predictive stress using the plasticity theory by means of linear/exponential softening or hardening + softening evolution laws. More...
 
class  Kratos::GenericConstitutiveLawIntegratorPlasticity< TYieldSurfaceType >
 This object integrates the predictive stress using the plasticity theory by means of linear/exponential softening or hardening + softening evolution laws. More...
 
class  Kratos::HighCycleFatigueLawIntegrator< TVoigtSize >
 : This object computes all the required information for the high cycle fatigue constitutive law. More...
 
class  Kratos::DruckerPragerPlasticPotential< TVoigtSize >
 This class defines a plastic potential following the theory of Drucker-Prager. More...
 
class  Kratos::GenericPlasticPotential< TVoigtSize >
 If the plastic potential is of the same type as the yield surface we talk about associated flow rules, if a different function is used, it is non-associated. For metals associated flow rules work great, while frictional materials typically need non-associated flow rules. More...
 
class  Kratos::ModifiedMohrCoulombPlasticPotential< TVoigtSize >
 This class defines a plastic potential following the theory of Mohr-Coulomb (modified) More...
 
class  Kratos::MohrCoulombPlasticPotential< TVoigtSize >
 This class defines a plastic potential following the theory of Mohr-Coulomb. More...
 
class  Kratos::RankinePlasticPotential< TVoigtSize >
 This class defines a plastic potential following the theory of Rankine. More...
 
class  Kratos::TrescaPlasticPotential< TVoigtSize >
 This class defines a plastic potential following the theory of Tresca. More...
 
class  Kratos::VonMisesPlasticPotential< TVoigtSize >
 This class defines a plastic potential following the theory of Von Mises. More...
 
class  Kratos::DruckerPragerYieldSurface< TPlasticPotentialType >
 This class defines a yield surface according to Drucker-Prager theory. More...
 
class  Kratos::GenericYieldSurface< TPlasticPotentialType >
 This class defines a generic yield surface. More...
 
class  Kratos::ModifiedMohrCoulombYieldSurface< TPlasticPotentialType >
 This class defines a yield surface according to Modified Mohr-Coulumb theory. More...
 
class  Kratos::MohrCoulombYieldSurface< TPlasticPotentialType >
 This class defines a yield surface according to Von-Mises theory. More...
 
class  Kratos::RankineYieldSurface< TPlasticPotentialType >
 This class defines a yield surface according to Rankine theory. More...
 
class  Kratos::SimoJuYieldSurface< TPlasticPotentialType >
 Short class definition. More...
 
class  Kratos::TrescaYieldSurface< TPlasticPotentialType >
 This class defines a yield surface according to Tresca theory. More...
 
class  Kratos::VonMisesYieldSurface< TPlasticPotentialType >
 This class defines a yield surface according to Von-Mises theory. More...
 
class  Kratos::ParallelRuleOfMixturesLaw< TDim >
 This law defines a parallel rule of mixture (classic law of mixture) More...
 
class  Kratos::SerialParallelRuleOfMixturesLaw
 This CL implements the serial-parallel rule of mixtures developed by F.Rastellini. More...
 
class  Kratos::TractionSeparationLaw3D< TDim >
 This law defines a parallel rule of mixture (classic law of mixture) More...
 
class  Kratos::HyperElasticIsotropicKirchhoff3D
 This law defines an hyperelastic material according to the Saint-Venant–Kirchhoff formulation for 3D cases. More...
 
class  Kratos::HyperElasticIsotropicKirchhoffPlaneStrain2D
 This law defines an hyperelastic material according to the Saint-Venant–Kirchhoff formulation for 2D-plane strain cases. More...
 
class  Kratos::HyperElasticIsotropicKirchhoffPlaneStress2D
 This law defines an hyperelastic material according to the Saint-Venant–Kirchhoff formulation for 2D-plane stress cases. More...
 
class  Kratos::HyperElasticIsotropicNeoHookean3D
 This law defines an hyperelastic material according to the NeoHookean formulation for 3D cases. More...
 
class  Kratos::HyperElasticIsotropicNeoHookeanPlaneStrain2D
 This law defines an hyperelastic material according to the NeoHookean formulation for 2D-plane strain cases. More...
 
class  Kratos::HyperElasticSimoTaylorNeoHookean3D
 This law defines a Neo-Hookean hyperelastic material with monotonic behavior for 3D problems. More...
 
class  Kratos::HyperElasticSimoTaylorNeoHookeanPlaneStrain2D
 This law defines a Neo-Hookean hyperelastic material with monotonic behavior for plane strain problems. More...
 
class  Kratos::FiniteStrainIsotropicPlasticityFactory
 Dummy class to register, only implements create() More...
 
class  Kratos::FiniteStrainKinematicPlasticityFactory
 Dummy class to register, only implements create() More...
 
class  Kratos::GenericFiniteStrainIsotropicPlasticity< TConstLawIntegratorType >
 This class is the base class which define all the constitutive laws for plasticity in strain framework. More...
 
class  Kratos::GenericFiniteStrainKinematicPlasticity< TConstLawIntegratorType >
 This class is the base class which define all the constitutive laws for plasticity in strain framework. More...
 
class  Kratos::GenericAnisotropic3DLaw
 This CL takes into account the material anisotropy in terms of young modulus, poisson ratio, orientation and strengths. More...
 
class  Kratos::DamageDPlusDMinusMasonry3DLaw
 
class  Kratos::GenericSmallStrainDplusDminusDamage< TConstLawIntegratorTensionType, TConstLawIntegratorCompressionType >
 This class is the base class which define all the constitutive laws for damage in small deformation. More...
 
class  Kratos::GenericSmallStrainIsotropicDamage< TConstLawIntegratorType >
 This class is the base class which define all the constitutive laws for damage in small deformation. More...
 
class  Kratos::GenericSmallStrainIsotropicDamagePlaneStress< TConstLawIntegratorType >
 This class is the base class which define all the constitutive laws for damage in plane stress small deformation. More...
 
class  Kratos::GenericSmallStrainOrthotropicDamage< TConstLawIntegratorType >
 This class defines an small strain orthotropic damage model developed by Cervera et. al in "Appraisement of planar, bending and twisting cracks in 3D with isotropic and orthotropic damage models" International Journal of Fracture. More...
 
class  Kratos::DamageDPlusDMinusMasonry2DLaw
 
class  Kratos::SmallStrainIsotropicDamage3D
 Defines a damage with hardening constitutive law in 3D. More...
 
class  Kratos::SmallStrainIsotropicDamageFactory
 Dummy class to register, only implements create() More...
 
class  LinearIsotropicDamagePlaneStrain2D
 Defines a damage with hardening/softening constitutive law in 2D (Plane Strain) More...
 
class  LinearIsotropicDamageTractionOnly3D
 Defines a damage with hardening/softening constitutive law in 3D. More...
 
class  Kratos::GenericSmallStrainHighCycleFatigueLaw< TConstLawIntegratorType >
 This class is the base class which defines the constitutive law used for high cycle fatigue (HCF) in small deformation. More...
 
class  Kratos::ElasticIsotropicPlaneStressUncoupledShear
 Defines a elastic constitutive law in 2D under plane stress in addition the shear modulus is independent from the Young modulus as well as the poisson ratio. More...
 
class  Kratos::WrinklingLinear2DLaw
 This law defines a wrinkling modification for any linear 2D claw. More...
 
class  Kratos::AssociativePlasticDamageModel< TYieldSurfaceType >
 This law defines a parallel rule of mixture (classic law of mixture) More...
 
class  Kratos::GenericSmallStrainPlasticDamageModel< TPlasticityIntegratorType, TDamageIntegratorType >
 This class is the base class which define the Plastic Damage model developed by Luccioni B. and Oller S. More...
 
class  Kratos::GenericSmallStrainIsotropicPlasticity< TConstLawIntegratorType >
 This class is the base class which define all the constitutive laws for plasticity in small deformation. More...
 
class  Kratos::GenericSmallStrainKinematicPlasticity< TConstLawIntegratorType >
 This class is the base class which define all the constitutive laws for kinematic plasticity in small deformation. More...
 
class  Kratos::PlasticityIsotropicKinematicJ2
 Defines a Simo J2 plasticity CL with Isotropic & Kinematic Hardening in 3D. More...
 
class  Kratos::SmallStrainIsotropicPlasticityFactory
 Dummy class to register, only implements create() More...
 
class  LinearJ2Plasticity3D
 Defines a Simo J2 plasticity constitutive law in 3D. More...
 
class  LinearJ2PlasticityPlaneStrain2D
 Defines a Simo J2 plasticity constitutive law in 2D (Plane Strain) More...
 
class  Kratos::SmallStrainKinematicPlasticityFactory
 Dummy class to register, only implements create() More...
 
class  GenericConstitutiveLawIntegrator
 
class  Kratos::ViscousGeneralizedKelvin< TElasticBehaviourLaw >
 This is a constitutive law that reproduces the behaviour of viscous Kelvin material. More...
 
class  Kratos::ViscousGeneralizedMaxwell< TElasticBehaviourLaw >
 This is a viscous law using Maxwell formulation. More...
 
class  Kratos::ThermalDruckerPragerYieldSurface< TPlasticPotentialType >
 This class defines a yield surface according to Drucker-Prager theory. More...
 
class  Kratos::ThermalModifiedMohrCoulombYieldSurface< TPlasticPotentialType >
 This class defines a yield surface according to Modified Mohr-Coulumb theory. More...
 
class  Kratos::ThermalMohrCoulombYieldSurface< TPlasticPotentialType >
 This class defines a yield surface according to Von-Mises theory. More...
 
class  Kratos::ThermalSimoJuYieldSurface< TPlasticPotentialType >
 This class defines a yield surface according to Simo-Ju theory. More...
 
class  Kratos::ThermalVonMisesYieldSurface< TPlasticPotentialType >
 This class defines a yield surface according to Von-Mises theory. More...
 
class  Kratos::ThermalElasticIsotropic3D
 This class defines a Thermo dependant CL, including the addition of thermal expansion strains. More...
 
class  Kratos::ThermalLinearPlaneStrain
 This class defines a Thermo dependant CL, including the addition of thermal expansion strains. More...
 
class  Kratos::ThermalLinearPlaneStress
 This class defines a Thermo dependant CL, including the addition of thermal expansion strains. More...
 
class  Kratos::AdvancedConstitutiveLawUtilities< TVoigtSize >
 This class includes several utilities necessaries for the computation of the constitutive law. More...
 
class  Kratos::TangentOperatorCalculatorUtility
 An algorithm that derives numerically the constitutive tangent tensor at one GP. More...
 
class  Kratos::LinearPlaneStrain
 This class defines a small deformation linear elastic constitutive model for 3D cases. More...
 
class  Kratos::HyperElasticIsotropicNeoHookean3DFEMDEM
 This law defines an hyperelastic material according to the NeoHookean formulation for 3D cases. More...
 
class  Kratos::HyperElasticIsotropicNeoHookeanPlaneStrain2DFEMDEM
 This law defines an hyperelastic material according to the NeoHookean formulation for 2D-plane strain cases. More...
 
class  Kratos::LinearPlaneStrainFEMDEM
 This class defines a small deformation linear elastic constitutive model for plane strain cases. More...
 
class  Kratos::LinearPlaneStressFEMDEM
 This class defines a small deformation linear elastic constitutive model for plane stress cases. More...
 
class  Kratos::BaseSolidElement
 This is base class used to define the solid elements. More...
 
class  Kratos::GenericTotalLagrangianFemDemElement< TDim, TyieldSurf >
 Total Lagrangian element for 2D and 3D geometries. More...
 
class  Kratos::ConstitutiveLawUtilities< TVoigtSize >
 This class includes several utilities necessaries for the computation of the constitutive law. More...
 
class  Kratos::BaseLoadCondition
 This is the base class of all the load conditions on StructuralMechanicsApplication. More...
 
class  Kratos::DisplacementControlCondition
 This class is to add contributions to LHS and RHS of the displacement control condition. More...
 
class  Kratos::LineLoadCondition< TDim >
 Line load condition for 3D and 2D geometries. More...
 
class  Kratos::MovingLoadCondition< TDim, TNumNodes >
 This class is the responsible to add the contributions of the RHS and LHS of the moving loads of the structure. More...
 
class  Kratos::SmallDisplacementLineLoadCondition< TDim >
 This class is the responsible to add the contributions of the RHS and LHS of the line loads of the structure. More...
 
class  Kratos::SmallDisplacementSurfaceLoadCondition3D
 This class is the responsible to add the contributions of the RHS and LHS of the surface loads of the structure. More...
 
class  Kratos::SurfaceLoadCondition3D
 This class is the responsible to add the contributions of the RHS and LHS of the surface loads of the structure. More...
 
class  Kratos::LinearPlaneStress
 This class defines a small deformation linear elastic constitutive model for plane stress cases. More...
 
class  Kratos::UserProvidedLinearElasticLaw< TDim >
 This class defines a linear elastic law with user provided constitutive tensor. More...
 
class  Kratos::SmallDisplacement
 Small displacement element for 2D and 3D geometries. More...
 
class  Kratos::SmallDisplacementBbar
 Infinitesimal strain definition with mixed B-bar formulation. More...
 
class  Kratos::SmallDisplacementMixedVolumetricStrainElement
 Small displacement with strain based mixed formulation element. More...
 
class  Kratos::SolidShellElementSprism3D6N
 This is a triangular prism solid element for the analysis of thin/thick shells undergoing large elastic–plastic strains. More...
 
class  Kratos::TotalLagrangian
 Total Lagrangian element for 2D and 3D geometries. More...
 
class  Kratos::TotalLagrangianMixedVolumetricStrainElement< TDim >
 Total Lagrangian mixed displacement volumetric strain formulation element. More...
 
class  Kratos::TotalLagrangianQ1P0MixedElement
 Total Lagrangian mixed u-p element (Q1P0) for 2D and 3D geometries. More...
 
class  Kratos::UpdatedLagrangian
 Updated Lagrangian element for 2D and 3D geometries. More...
 
class  Kratos::ZStrainDriven2p5DSmallDisplacement
 Small displacement element for 2.5D cases. More...
 
class  Kratos::ComputeCenterOfGravityProcess
 This method computes the center of gravity. More...
 
class  Kratos::ComputeMassMomentOfInertiaProcess
 This method computes the moment of inertia (rotational) More...
 
class  Kratos::ImposeRigidMovementProcess
 This method assign linear kinematic constrains to a certain submodelpart. More...
 
class  Kratos::ImposeZStrainProcess
 This class assigns the same Z-Strain value to the member variables of all 2.5D solid elements. More...
 
class  Kratos::PrismNeighboursProcess
 An algorithm that looks for neighbour nodes and elements in a mesh of prismatic elements. More...
 
class  Kratos::SetAutomatedInitialVariableProcess
 This class automotes the creation of the variables INITIAL_STRAIN_VECTOR and INITIAL_STRESS_VECTOR using tables imported from csv files. More...
 
class  Kratos::SetCartesianLocalAxesProcess
 This class set the local axes of the elements according to a given set of cartesian axes. More...
 
class  Kratos::SetCylindricalLocalAxesProcess
 This class set the local axes of the elements according to a cylindrical coordinates. More...
 
class  Kratos::SetMovingLoadProcess
 Process to set the moving load. More...
 
class  Kratos::SetSphericalLocalAxesProcess
 This class set the local axes of the elements according to a SPHERICAL coordinates. More...
 
class  Kratos::ShellToSolidShellProcess< TNumNodes >
 This method transforms triangular and quadrilateral elements into prisms and hexahedra elements. More...
 
class  Kratos::SolidShellThickComputeProcess
 This method computes the current thickness in a node of a solid-shell. More...
 
class  Kratos::SPRErrorProcess< TDim >
 This class is can be used to compute the metrics of the model part with a superconvergent patch recovery (SPR) approach. More...
 
class  Kratos::TotalStructuralMassProcess
 This method computes the total mass of a structure. More...
 
class  Kratos::AdjointSolidElement< TPrimalElement >
 A template class for creating adjoint elements for solids. More...
 
class  Kratos::ResidualDisplacementAndOtherDoFCriteria< TSparseSpace, TDenseSpace >
 This is a convergence criteria that employes the residual as criteria, it divides the problem in two dofs, displacement and another one. More...
 
class  Kratos::PrebucklingStrategy< TSparseSpace, TDenseSpace, TLinearSolver >
 Strategy for linearized prebuckling analysis. More...
 
class  Kratos::KratosStructuralMechanicsApplication
 This application features Elements, Conditions, Constitutive laws and Utilities for structural analysis problems. More...
 

Type Definitions

typedef std::size_t Kratos::AdjointPotentialResponseFunction::IndexType
 
typedef std::size_t Kratos::AdjointPotentialResponseFunction::SizeType
 
 Kratos::AdjointPotentialResponseFunction::KRATOS_CLASS_POINTER_DEFINITION (AdjointPotentialResponseFunction)
 

Type Definitions

typedef ConvergenceCriteria< TSparseSpace, TDenseSpace > Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::BaseType
 
typedef TSparseSpace Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::SparseSpaceType
 
typedef BaseType::TDataType Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::TDataType
 
typedef BaseType::DofsArrayType Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::DofsArrayType
 
typedef BaseType::TSystemMatrixType Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::TSystemMatrixType
 
typedef BaseType::TSystemVectorType Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::TSystemVectorType
 
typedef ModelPart::ConditionsContainerType Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::ConditionsArrayType
 
typedef ModelPart::NodesContainerType Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::NodesArrayType
 
typedef std::size_t Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::KeyType
 
typedef std::size_t Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::SizeType
 
 Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::KRATOS_CLASS_POINTER_DEFINITION (ErrorMeshCriteria)
 

Protected member Variables

ModelPartKratos::AdjointPotentialResponseFunction::mrModelPart
 

Life Cycle

 Kratos::AdjointPotentialResponseFunction::AdjointPotentialResponseFunction (ModelPart &rModelPart, Parameters ResponseSettings)
 Constructor. More...
 
 Kratos::AdjointPotentialResponseFunction::~AdjointPotentialResponseFunction () override
 Destructor. More...
 

Operations

void Kratos::AdjointPotentialResponseFunction::Initialize () override
 
void Kratos::AdjointPotentialResponseFunction::InitializeSolutionStep () override
 
void Kratos::AdjointPotentialResponseFunction::CalculateGradient (const Condition &rAdjointCondition, const Matrix &rResidualGradient, Vector &rResponseGradient, const ProcessInfo &rProcessInfo) override
 Calculate the local gradient w.r.t. primal solution. More...
 
double Kratos::AdjointPotentialResponseFunction::CalculateValue (ModelPart &rModelPart) override
 Calculate the scalar valued response function. More...
 

Life Cycle

 Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::ErrorMeshCriteria (Parameters ThisParameters=Parameters(R"({})"))
 Default constructors. More...
 
 Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::ErrorMeshCriteria (ErrorMeshCriteria const &rOther)
 Copy constructor. More...
 
 Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::~ErrorMeshCriteria () override=default
 Destructor. More...
 

Operators

void Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::Initialize (ModelPart &rModelPart) override
 This function initialize the convergence criteria. More...
 
bool Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::PostCriteria (ModelPart &rModelPart, DofsArrayType &rDofSet, const TSystemMatrixType &A, const TSystemVectorType &Dx, const TSystemVectorType &b) override
 Compute relative and absolute error. More...
 

Input and output

std::istream & Kratos::operator>> (std::istream &rIStream, NodeConfigureForNodeSearch &rThis)
 input stream function More...
 
std::ostream & Kratos::operator<< (std::ostream &rOStream, const NodeConfigureForNodeSearch &rThis)
 output stream function More...
 
std::istream & Kratos::operator>> (std::istream &rIStream, FlowStationarityCheck &rThis)
 input stream function More...
 
std::ostream & Kratos::operator<< (std::ostream &rOStream, const FlowStationarityCheck &rThis)
 output stream function More...
 

Detailed Description

Typedef Documentation

◆ BaseType

template<class TSparseSpace , class TDenseSpace >
typedef ConvergenceCriteria< TSparseSpace, TDenseSpace > Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::BaseType

◆ ConditionsArrayType

template<class TSparseSpace , class TDenseSpace >
typedef ModelPart::ConditionsContainerType Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::ConditionsArrayType

◆ DofsArrayType

template<class TSparseSpace , class TDenseSpace >
typedef BaseType::DofsArrayType Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::DofsArrayType

◆ IndexType

◆ KeyType

template<class TSparseSpace , class TDenseSpace >
typedef std::size_t Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::KeyType

◆ NodesArrayType

template<class TSparseSpace , class TDenseSpace >
typedef ModelPart::NodesContainerType Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::NodesArrayType

◆ SizeType [1/2]

◆ SizeType [2/2]

template<class TSparseSpace , class TDenseSpace >
typedef std::size_t Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::SizeType

◆ SparseSpaceType

template<class TSparseSpace , class TDenseSpace >
typedef TSparseSpace Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::SparseSpaceType

◆ TDataType

template<class TSparseSpace , class TDenseSpace >
typedef BaseType::TDataType Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::TDataType

◆ TSystemMatrixType

template<class TSparseSpace , class TDenseSpace >
typedef BaseType::TSystemMatrixType Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::TSystemMatrixType

◆ TSystemVectorType

template<class TSparseSpace , class TDenseSpace >
typedef BaseType::TSystemVectorType Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::TSystemVectorType

Function Documentation

◆ AdjointPotentialResponseFunction()

Kratos::AdjointPotentialResponseFunction::AdjointPotentialResponseFunction ( ModelPart rModelPart,
Parameters  ResponseSettings 
)

Constructor.

◆ CalculateGradient()

void Kratos::AdjointPotentialResponseFunction::CalculateGradient ( const Condition rAdjointCondition,
const Matrix rResidualGradient,
Vector rResponseGradient,
const ProcessInfo rProcessInfo 
)
overridevirtual

Calculate the local gradient w.r.t. primal solution.

Parameters
[in]rAdjointConditionthe adjoint condition.
[in]rResidualGradientthe transposed gradient of the condition's residual w.r.t. primal.
[out]rResponseGradientthe gradient of the response function.
[in]rProcessInfothe current process info.

Reimplemented from Kratos::AdjointResponseFunction.

◆ CalculateValue()

double Kratos::AdjointPotentialResponseFunction::CalculateValue ( ModelPart rModelPart)
overridevirtual

Calculate the scalar valued response function.

Implements Kratos::AdjointResponseFunction.

◆ ErrorMeshCriteria() [1/2]

template<class TSparseSpace , class TDenseSpace >
Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::ErrorMeshCriteria ( ErrorMeshCriteria< TSparseSpace, TDenseSpace > const &  rOther)
inline

Copy constructor.

◆ ErrorMeshCriteria() [2/2]

template<class TSparseSpace , class TDenseSpace >
Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::ErrorMeshCriteria ( Parameters  ThisParameters = Parameters(R"({})"))
inlineexplicit

Default constructors.

error_mesh_tolerance: The tolerance in the convergence criteria of the error error_mesh_constant: The constant considered in the remeshing process penalty_normal: The penalty used in the normal direction (for the contact patch) penalty_tangential: The penalty used in the tangent direction (for the contact patch) echo_level: The verbosity

◆ Initialize() [1/2]

void Kratos::AdjointPotentialResponseFunction::Initialize ( )
overridevirtual

Reimplemented from Kratos::AdjointResponseFunction.

◆ Initialize() [2/2]

template<class TSparseSpace , class TDenseSpace >
void Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::Initialize ( ModelPart rModelPart)
inlineoverridevirtual

This function initialize the convergence criteria.

Parameters
rModelPartThe model part of interest

Reimplemented from Kratos::ConvergenceCriteria< TSparseSpace, TDenseSpace >.

◆ InitializeSolutionStep()

void Kratos::AdjointPotentialResponseFunction::InitializeSolutionStep ( )
overridevirtual

Reimplemented from Kratos::AdjointResponseFunction.

◆ KRATOS_CLASS_POINTER_DEFINITION() [1/2]

Kratos::AdjointPotentialResponseFunction::KRATOS_CLASS_POINTER_DEFINITION ( AdjointPotentialResponseFunction  )

◆ KRATOS_CLASS_POINTER_DEFINITION() [2/2]

template<class TSparseSpace , class TDenseSpace >
Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::KRATOS_CLASS_POINTER_DEFINITION ( ErrorMeshCriteria< TSparseSpace, TDenseSpace >  )

◆ operator<<() [1/2]

std::ostream& Kratos::operator<< ( std::ostream &  rOStream,
const FlowStationarityCheck rThis 
)
inline

output stream function

◆ operator<<() [2/2]

std::ostream& Kratos::operator<< ( std::ostream &  rOStream,
const NodeConfigureForNodeSearch rThis 
)
inline

output stream function

◆ operator>>() [1/2]

std::istream& Kratos::operator>> ( std::istream &  rIStream,
FlowStationarityCheck rThis 
)
inline

input stream function

◆ operator>>() [2/2]

std::istream& Kratos::operator>> ( std::istream &  rIStream,
NodeConfigureForNodeSearch rThis 
)
inline

input stream function

◆ PostCriteria()

template<class TSparseSpace , class TDenseSpace >
bool Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::PostCriteria ( ModelPart rModelPart,
DofsArrayType rDofSet,
const TSystemMatrixType A,
const TSystemVectorType Dx,
const TSystemVectorType b 
)
inlineoverridevirtual

Compute relative and absolute error.

Parameters
rModelPartReference to the ModelPart containing the problem.
rDofSetReference to the container of the problem's degrees of freedom (stored by the BuilderAndSolver)
ASystem matrix (unused)
DxVector of results (variations on nodal variables)
bRHS vector (residual)
Returns
true if convergence is achieved, false otherwise

Reimplemented from Kratos::ConvergenceCriteria< TSparseSpace, TDenseSpace >.

◆ ~AdjointPotentialResponseFunction()

Kratos::AdjointPotentialResponseFunction::~AdjointPotentialResponseFunction ( )
inlineoverride

Destructor.

◆ ~ErrorMeshCriteria()

template<class TSparseSpace , class TDenseSpace >
Kratos::ErrorMeshCriteria< TSparseSpace, TDenseSpace >::~ErrorMeshCriteria ( )
overridedefault

Destructor.

Variable Documentation

◆ mrModelPart

ModelPart& Kratos::AdjointPotentialResponseFunction::mrModelPart
protected