#include <MechanicsManufacturedSolutions.h>

Public Member Functions | |
| std::vector< double > | getExactSolutions (const std::vector< double > &xyz) const |
| std::vector< double > | getExactSolutions (double x, double y, double z) const |
| double | getExactSolutionX (const std::vector< double > &xyz) const |
| virtual double | getExactSolutionX (double x, double y, double z) const =0 |
| double | getExactSolutionY (const std::vector< double > &xyz) const |
| virtual double | getExactSolutionY (double x, double y, double z) const =0 |
| double | getExactSolutionZ (const std::vector< double > &xyz) const |
| virtual double | getExactSolutionZ (double x, double y, double z) const =0 |
| std::vector< double > | getForcingTerms (const std::vector< double > &xyz) const |
| std::vector< double > | getForcingTerms (double x, double y, double z) const |
| double | getForcingTermX (const std::vector< double > &xyz) const |
| virtual double | getForcingTermX (double x, double y, double z) const =0 |
| double | getForcingTermY (const std::vector< double > &xyz) const |
| virtual double | getForcingTermY (double x, double y, double z) const =0 |
| double | getForcingTermZ (const std::vector< double > &xyz) const |
| virtual double | getForcingTermZ (double x, double y, double z) const =0 |
| const std::string & | getName () const |
| std::vector< double > | getStressTensor (const std::vector< double > &xyz) const |
| virtual std::vector< double > | getStressTensor (double x, double y, double z) const =0 |
| MMS (double YM=0.0, double PR=0.0) | |
| void | multX (double M) |
| void | multXYZ (double M) |
| void | multY (double M) |
| void | multZ (double M) |
| void | scaleX (double L) |
| void | scaleXYZ (double L) |
| void | scaleY (double L) |
| void | scaleZ (double L) |
| void | set_axx (double v) |
| void | set_axy (double v) |
| void | set_axz (double v) |
| void | set_ayx (double v) |
| void | set_ayy (double v) |
| void | set_ayz (double v) |
| void | set_azx (double v) |
| void | set_azy (double v) |
| void | set_azz (double v) |
| void | set_bxx (double v) |
| void | set_bxy (double v) |
| void | set_bxz (double v) |
| void | set_byx (double v) |
| void | set_byy (double v) |
| void | set_byz (double v) |
| void | set_bzx (double v) |
| void | set_bzy (double v) |
| void | set_bzz (double v) |
| void | setPoissonsRatio (double PR) |
| void | setYoungsModulus (double YM) |
| virtual | ~MMS () |
| Destructor. | |
Protected Attributes | |
| double | axx |
| double | axy |
| double | axz |
| double | ayx |
| double | ayy |
| double | ayz |
| double | azx |
| double | azy |
| double | azz |
| double | bxx |
| double | bxy |
| double | bxz |
| double | byx |
| double | byy |
| double | byz |
| double | bzx |
| double | bzy |
| double | bzz |
| double | E |
| Young's modulus. | |
| double | Lx |
| double | Ly |
| double | Lz |
| scaling factors | |
| double | Mx |
| double | My |
| double | Mz |
| multiplying factors | |
| std::string | name |
| name/type of mechanics manufactured solution | |
| double | nu |
| Poisson's ratio. | |
This is a base class for mechanics manufactured solutions
The MMS class provide functions to evaluate exact solution for the displacement \( u_i \) and corresponding forcing term \( f_i = - \sigma_{ij,j} \) where \( i \in \{x,y,z\} \)
Definition at line 18 of file MechanicsManufacturedSolutions.h.
| AMP::MechanicsManufacturedSolution::MMS::MMS | ( | double | YM = 0.0, |
| double | PR = 0.0 |
||
| ) |
Default constructor
| YM | Youngs modulus |
| PR | Poissons ratio |
Note: Youngs modulus E and Poissons ratio nu are assumed to be constant here but this can be change later. If the need for it arise shout me an email dalg2.nosp@m.4@ne.nosp@m..tamu.nosp@m..edu
|
inlinevirtual |
Destructor.
Definition at line 33 of file MechanicsManufacturedSolutions.h.
|
inline |
Definition at line 147 of file MechanicsManufacturedSolutions.h.
References getExactSolutions().
|
inline |
All the following points to the method described above and is provided for conveniance only You may add as many as you want For instance if you want to pass a Point directly as an argument or if you want to pass vectors of integration point (then do it by constant reference!!)
Definition at line 131 of file MechanicsManufacturedSolutions.h.
References getExactSolutionX(), getExactSolutionY(), and getExactSolutionZ().
Referenced by getExactSolutions().
|
inline |
Definition at line 155 of file MechanicsManufacturedSolutions.h.
References AMP_ASSERT, and getExactSolutionX().
|
pure virtual |
These are overridden in derived classes and constains exact solutions and forcing terms for the displacement along the i-axis
Implemented in AMP::MechanicsManufacturedSolution::MMSLinear, and AMP::MechanicsManufacturedSolution::MMSTrigonometric.
Referenced by getExactSolutions(), and getExactSolutionX().
|
inline |
Definition at line 160 of file MechanicsManufacturedSolutions.h.
References AMP_ASSERT, and getExactSolutionY().
|
pure virtual |
Implemented in AMP::MechanicsManufacturedSolution::MMSLinear, and AMP::MechanicsManufacturedSolution::MMSTrigonometric.
Referenced by getExactSolutions(), and getExactSolutionY().
|
inline |
Definition at line 165 of file MechanicsManufacturedSolutions.h.
References AMP_ASSERT, and getExactSolutionZ().
|
pure virtual |
Implemented in AMP::MechanicsManufacturedSolution::MMSLinear, and AMP::MechanicsManufacturedSolution::MMSTrigonometric.
Referenced by getExactSolutions(), and getExactSolutionZ().
|
inline |
Definition at line 151 of file MechanicsManufacturedSolutions.h.
References getForcingTerms().
|
inline |
Definition at line 139 of file MechanicsManufacturedSolutions.h.
References getForcingTermX(), getForcingTermY(), and getForcingTermZ().
Referenced by getForcingTerms().
|
inline |
Definition at line 170 of file MechanicsManufacturedSolutions.h.
References AMP_ASSERT, and getForcingTermX().
|
pure virtual |
Implemented in AMP::MechanicsManufacturedSolution::MMSTrigonometric, and AMP::MechanicsManufacturedSolution::MMSLinear.
Referenced by getForcingTerms(), and getForcingTermX().
|
inline |
Definition at line 175 of file MechanicsManufacturedSolutions.h.
References AMP_ASSERT, and getForcingTermY().
|
pure virtual |
Implemented in AMP::MechanicsManufacturedSolution::MMSTrigonometric, and AMP::MechanicsManufacturedSolution::MMSLinear.
Referenced by getForcingTerms(), and getForcingTermY().
|
inline |
Definition at line 180 of file MechanicsManufacturedSolutions.h.
References AMP_ASSERT, and getForcingTermZ().
|
pure virtual |
Implemented in AMP::MechanicsManufacturedSolution::MMSTrigonometric, and AMP::MechanicsManufacturedSolution::MMSLinear.
Referenced by getForcingTerms(), and getForcingTermZ().
|
inline |
Accessor to the name/type of mechanics manufactured solution that have been instancied
Definition at line 98 of file MechanicsManufacturedSolutions.h.
References name.
|
inline |
Definition at line 197 of file MechanicsManufacturedSolutions.h.
References AMP_ASSERT, and getStressTensor().
|
pure virtual |
This is needed for traction boundary conditions The function will return the stress tensor \( \sigma \) under the form of a vector \( (\sigma_{xx}, \sigma_{yy}, \sigma_{zz}, \sigma_{yz}, \sigma_{xz}, \sigma_{xy})^T \)
Implemented in AMP::MechanicsManufacturedSolution::MMSLinear, and AMP::MechanicsManufacturedSolution::MMSTrigonometric.
Referenced by getStressTensor().
|
inline |
Definition at line 60 of file MechanicsManufacturedSolutions.h.
References Mx.
|
inline |
Definition at line 63 of file MechanicsManufacturedSolutions.h.
|
inline |
Definition at line 61 of file MechanicsManufacturedSolutions.h.
References My.
|
inline |
Definition at line 62 of file MechanicsManufacturedSolutions.h.
References Mz.
|
inline |
Mutators to set scaling factor \( L_{i} \) and multiplying factor \( M_{i} \) for displacement along axes \( i \in \{x,y,z\} \) Defaults values are \( L_{i} = 1 \) and \( M_{i} = 1 \)
Definition at line 51 of file MechanicsManufacturedSolutions.h.
References Lx.
|
inline |
Definition at line 54 of file MechanicsManufacturedSolutions.h.
|
inline |
Definition at line 52 of file MechanicsManufacturedSolutions.h.
References Ly.
|
inline |
Definition at line 53 of file MechanicsManufacturedSolutions.h.
References Lz.
|
inline |
Mutators for the coefficients \( a_{ij} \) and \( b_{ij} \) for all \( (i,j) \in \{x,y,z\} \) Default values are \( a_{ij} = 0 \) and \( b_{ij} = 1 \) By setting one of the \( b_{ij} \) to zero you impose \( u_i = 0 \)
Definition at line 76 of file MechanicsManufacturedSolutions.h.
References axx.
|
inline |
Definition at line 78 of file MechanicsManufacturedSolutions.h.
References axy.
|
inline |
Definition at line 80 of file MechanicsManufacturedSolutions.h.
References axz.
|
inline |
Definition at line 82 of file MechanicsManufacturedSolutions.h.
References ayx.
|
inline |
Definition at line 84 of file MechanicsManufacturedSolutions.h.
References ayy.
|
inline |
Definition at line 86 of file MechanicsManufacturedSolutions.h.
References ayz.
|
inline |
Definition at line 88 of file MechanicsManufacturedSolutions.h.
References azx.
|
inline |
Definition at line 90 of file MechanicsManufacturedSolutions.h.
References azy.
|
inline |
Definition at line 92 of file MechanicsManufacturedSolutions.h.
References azz.
|
inline |
Definition at line 77 of file MechanicsManufacturedSolutions.h.
References bxx.
|
inline |
Definition at line 79 of file MechanicsManufacturedSolutions.h.
References bxy.
|
inline |
Definition at line 81 of file MechanicsManufacturedSolutions.h.
References bxz.
|
inline |
Definition at line 83 of file MechanicsManufacturedSolutions.h.
References byx.
|
inline |
Definition at line 85 of file MechanicsManufacturedSolutions.h.
References byy.
|
inline |
Definition at line 87 of file MechanicsManufacturedSolutions.h.
References byz.
|
inline |
Definition at line 89 of file MechanicsManufacturedSolutions.h.
References bzx.
|
inline |
Definition at line 91 of file MechanicsManufacturedSolutions.h.
References bzy.
|
inline |
Definition at line 93 of file MechanicsManufacturedSolutions.h.
References bzz.
|
inline |
Mutator for Poissons modulus nu
Definition at line 43 of file MechanicsManufacturedSolutions.h.
References nu.
|
inline |
Mutator for Youngs modulus E
Definition at line 38 of file MechanicsManufacturedSolutions.h.
References E.
|
protected |
a few extra coefficients :) Please refer to the derived classes to see how these coefficients are used
Definition at line 212 of file MechanicsManufacturedSolutions.h.
Referenced by set_axx().
|
protected |
Definition at line 212 of file MechanicsManufacturedSolutions.h.
Referenced by set_axy().
|
protected |
Definition at line 212 of file MechanicsManufacturedSolutions.h.
Referenced by set_axz().
|
protected |
Definition at line 213 of file MechanicsManufacturedSolutions.h.
Referenced by set_ayx().
|
protected |
Definition at line 213 of file MechanicsManufacturedSolutions.h.
Referenced by set_ayy().
|
protected |
Definition at line 213 of file MechanicsManufacturedSolutions.h.
Referenced by set_ayz().
|
protected |
Definition at line 214 of file MechanicsManufacturedSolutions.h.
Referenced by set_azx().
|
protected |
Definition at line 214 of file MechanicsManufacturedSolutions.h.
Referenced by set_azy().
|
protected |
Definition at line 214 of file MechanicsManufacturedSolutions.h.
Referenced by set_azz().
|
protected |
Definition at line 212 of file MechanicsManufacturedSolutions.h.
Referenced by set_bxx().
|
protected |
Definition at line 212 of file MechanicsManufacturedSolutions.h.
Referenced by set_bxy().
|
protected |
Definition at line 212 of file MechanicsManufacturedSolutions.h.
Referenced by set_bxz().
|
protected |
Definition at line 213 of file MechanicsManufacturedSolutions.h.
Referenced by set_byx().
|
protected |
Definition at line 213 of file MechanicsManufacturedSolutions.h.
Referenced by set_byy().
|
protected |
Definition at line 213 of file MechanicsManufacturedSolutions.h.
Referenced by set_byz().
|
protected |
Definition at line 214 of file MechanicsManufacturedSolutions.h.
Referenced by set_bzx().
|
protected |
Definition at line 214 of file MechanicsManufacturedSolutions.h.
Referenced by set_bzy().
|
protected |
Definition at line 214 of file MechanicsManufacturedSolutions.h.
Referenced by set_bzz().
|
protected |
Young's modulus.
Definition at line 204 of file MechanicsManufacturedSolutions.h.
Referenced by setYoungsModulus().
|
protected |
Definition at line 206 of file MechanicsManufacturedSolutions.h.
Referenced by scaleX(), and scaleXYZ().
|
protected |
Definition at line 206 of file MechanicsManufacturedSolutions.h.
Referenced by scaleXYZ(), and scaleY().
|
protected |
scaling factors
Definition at line 206 of file MechanicsManufacturedSolutions.h.
Referenced by scaleXYZ(), and scaleZ().
|
protected |
Definition at line 207 of file MechanicsManufacturedSolutions.h.
|
protected |
Definition at line 207 of file MechanicsManufacturedSolutions.h.
|
protected |
multiplying factors
Definition at line 207 of file MechanicsManufacturedSolutions.h.
|
protected |
name/type of mechanics manufactured solution
Definition at line 215 of file MechanicsManufacturedSolutions.h.
Referenced by getName(), AMP::MechanicsManufacturedSolution::MMSLinear::MMSLinear(), and AMP::MechanicsManufacturedSolution::MMSTrigonometric::MMSTrigonometric().
|
protected |
Poisson's ratio.
Definition at line 205 of file MechanicsManufacturedSolutions.h.
Referenced by setPoissonsRatio().
|
Advanced Multi-Physics (AMP) Oak Ridge National Laboratory Idaho National Laboratory Los Alamos National Laboratory |
This page automatically produced from the source code by Last updated: Tue Mar 10 2026 13:06:43. Comments on this page |