PRISMS-PF Manual
Loading...
Searching...
No Matches
type_enums.h File Reference
#include <prismspf/config.h>
#include <cstdint>
#include <string>
Include dependency graph for type_enums.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  SolveType { Constant , Explicit , Linear , Newton }
 Type of PDE that is being solved. More...
 
enum  TensorRank { Undefined = static_cast<unsigned int>(-1) , Scalar = 0 , Vector = 1 }
 Tensor rank of the field. More...
 
enum  ElasticityModel { Isotropic , Transverse , Orthotropic , Anisotropic }
 Symmetry of elastic tensor. More...
 
enum  StressState { ThreeDimension , PlaneStrain , PlaneStress }
 State of stress. More...
 
enum  DependencyType {
  DST = -2 , SRC = -1 , LHS = SRC , Solution = SRC ,
  Trial = SRC , Change = SRC , Current = 0 , OldOne ,
  OldTwo , OldThree , OldFour
}
 Internal classification for types of variable dependencies. More...
 
enum  SolverToleranceType {
  AbsoluteResidual , RMSEPerField , IntegratedPerField , RMSETotal ,
  IntegratedTotal
}
 Solver tolerance type. More...
 
enum  PreconditionerType { None , Chebyshev , GMG }
 Preconditioner type. More...
 

Enumeration Type Documentation

◆ DependencyType

Internal classification for types of variable dependencies.

Enumerator
DST 
SRC 
LHS 
Solution 
Trial 
Change 
Current 
OldOne 
OldTwo 
OldThree 
OldFour 

◆ ElasticityModel

Symmetry of elastic tensor.

Enumerator
Isotropic 
Transverse 
Orthotropic 
Anisotropic 

◆ PreconditionerType

Preconditioner type.

Enumerator
None 
Chebyshev 
GMG 

◆ SolverToleranceType

Solver tolerance type.

Enumerator
AbsoluteResidual 

Legacy.

RMSEPerField 

The mean local error averaged over each field is lower than the tolerance.

IntegratedPerField 

The integrated error averaged over each field is lower than the tolerance.

RMSETotal 

The sum of the average local errors of each field is lower than the tolerance.

IntegratedTotal 

The sum of the integrated errors of each field is lower than the tolerance.

◆ SolveType

enum SolveType

Type of PDE that is being solved.

Enumerator
Constant 

Fields remain constant in time. Be sure to set the solve_timing to Initialized.

Explicit 

Each increment, variables are set to the evaluation of the submission in equations_rhs. This is often used for forward-Euler time integration and postprocessed fields.

Linear 

Linear solver for implicit equations of the form Ax=b, solving for x, where A is a matrix of linear operators, and x1, x2, ..., xn are the fields being solved for. This is sometimes used for backward-Euler time integration. Evaluate Ax in equations_lhs using trial fields x. Evaluate b in equations_rhs.

Newton 

Nonlinear solver for implicit equations of the form R(x)=0, solving for x, where R is a generic function of x1, x2, ..., xn. This is sometimes used for backward-Euler time integration. The solver performs Newton's method by iteravely solving for a change term Deltax using a linear solve of the form -[dR/dx](Deltax) = R(x) and then performing x -> x + damping * Deltax. See Newton's Method

◆ StressState

State of stress.

Enumerator
ThreeDimension 

General 3D stress state.

PlaneStrain 

Assumes the body is very thick or infinitely long. Strain components in the out-of-plane direction are zero: epsilon_z = gamma_xz = gamma_yz = 0.

PlaneStress 

Assumes the body is very thin. Stress components associated with the out-of-plane direction are zero: sigma_z = tau_xz = tau_yz = 0.

◆ TensorRank

enum TensorRank

Tensor rank of the field.

Currently, only scalar and vectors are supported.

Enumerator
Undefined 
Scalar 
Vector