20 #ifndef GEOS_PHYSICSSOLVERS_SOLIDMECHANICS_SOLIDMECHANICSFIELDS_HPP_
21 #define GEOS_PHYSICSSOLVERS_SOLIDMECHANICS_SOLIDMECHANICSFIELDS_HPP_
34 namespace solidMechanics
37 using array2dLayoutTotalDisplacement = array2d< real64, nodes::TOTAL_DISPLACEMENT_PERM >;
38 using arrayView2dLayoutTotalDisplacement = arrayView2d< real64, nodes::TOTAL_DISPLACEMENT_USD >;
39 using arrayViewConst2dLayoutTotalDisplacement = arrayView2d< real64 const, nodes::TOTAL_DISPLACEMENT_USD >;
41 using array2dLayoutIncrDisplacement = array2d< real64, nodes::INCR_DISPLACEMENT_PERM >;
42 using arrayView2dLayoutIncrDisplacement = arrayView2d< real64, nodes::INCR_DISPLACEMENT_USD >;
43 using arrayViewConst2dLayoutIncrDisplacement = arrayView2d< real64 const, nodes::INCR_DISPLACEMENT_USD >;
45 using array2dLayoutStrain = array2d< real64, cells::RANK2_TENSOR_PERM >;
46 using arrayView2dLayoutStrain = arrayView2d< real64, cells::RANK2_TENSOR_USD >;
47 using arrayViewConst2dLayoutStrain = arrayView2d< real64 const, cells::RANK2_TENSOR_USD >;
49 using array2dLayoutAvgStress = array2d< real64, cells::RANK2_TENSOR_PERM >;
50 using arrayView2dLayoutAvgStress = arrayView2d< real64, cells::RANK2_TENSOR_USD >;
51 using arrayViewConst2dLayoutAvgStress = arrayView2d< real64 const, cells::RANK2_TENSOR_USD >;
53 using array2dLayoutVelocity = array2d< real64, nodes::VELOCITY_PERM >;
54 using arrayView2dLayoutVelocity = arrayView2d< real64, nodes::VELOCITY_USD >;
55 using arrayViewConst2dLayoutVelocity = arrayView2d< real64 const, nodes::VELOCITY_USD >;
57 using array2dLayoutAcceleration = array2d< real64, nodes::ACCELERATION_PERM >;
58 using arrayView2dLayoutAcceleration = arrayView2d< real64, nodes::ACCELERATION_USD >;
59 using arrayViewConst2dLayoutAcceleration = arrayView2d< real64 const, nodes::ACCELERATION_USD >;
64 array2dLayoutTotalDisplacement,
68 "Total displacements at the nodes" );
71 "incrementalDisplacement",
72 array2dLayoutIncrDisplacement,
76 "Incremental displacements for the current time step on the nodes" );
84 "Quadrature averaged strain components in cell" );
88 array2dLayoutAvgStress,
92 "Quadrature averaged stress components in cell" );
95 "averagePlasticStrain",
100 "Average plastic strain in cell" );
104 array2dLayoutVelocity,
108 "Current velocity on the nodes" );
112 array2dLayoutAcceleration,
116 "Current acceleration on the nodes. This array also is used "
117 "to hold the summation of nodal forces resulting from the governing equations" );
125 "External forces on the nodes. This includes any boundary"
126 " conditions as well as coupling forces such as hydraulic forces" );
134 "Mass on the nodes" );
142 "Velocity predictors on the nodes" );
150 "Incremental displacement predictors on the nodes" );
#define DECLARE_FIELD(NAME, KEY, TYPE, DEFAULT, PLOTLEVEL, RESTARTFLAG, DESCRIPTION)
Generates a traits struct.