www.mooseframework.org
Functions
SolidMechanicsApp.C File Reference

Go to the source code of this file.

Functions

 registerKnownLabel ("SolidMechanicsApp")
 
static void associateSyntaxInner (Syntax &syntax, ActionFactory &)
 
void SolidMechanicsApp__registerAll (Factory &f, ActionFactory &af, Syntax &s)
 
void SolidMechanicsApp_registerApps ()
 

Function Documentation

◆ associateSyntaxInner()

static void associateSyntaxInner ( Syntax syntax,
ActionFactory  
)
static

Definition at line 60 of file SolidMechanicsApp.C.

Referenced by SolidMechanicsApp::associateSyntax(), and SolidMechanicsApp::registerAll().

61 {
62  registerSyntax("EmptyAction", "BCs/CavityPressure");
63  registerSyntax("CavityPressureAction", "BCs/CavityPressure/*");
64  registerSyntax("CavityPressurePPAction", "BCs/CavityPressure/*");
65  registerSyntax("CavityPressureUOAction", "BCs/CavityPressure/*");
66 
67  registerDeprecatedSyntax("LegacyTensorMechanicsAction",
68  "Kernels/TensorMechanics",
69  "The 'Kernels/TensorMechanics' syntax is deprecated. Please use "
70  "'Physics/SolidMechanics/QuasiStatic' instead.");
71  registerDeprecatedSyntax("LegacyDynamicTensorMechanicsAction",
72  "Kernels/DynamicTensorMechanics",
73  "The 'Kernels/DynamicTensorMechanics' syntax is deprecated. Please use "
74  "'Physics/SolidMechanics/Dynamic' instead.");
75  // For convenience, since the Kernels/XYZMechanics syntax is still around
76  registerDeprecatedSyntax("LegacyTensorMechanicsAction",
77  "Kernels/SolidMechanics",
78  "The 'Kernels/SolidMechanics' syntax is deprecated. Please use "
79  "'Physics/SolidMechanics/QuasiStatic' instead.");
80  registerDeprecatedSyntax("LegacyDynamicTensorMechanicsAction",
81  "Kernels/DynamicSolidMechanics",
82  "The 'Kernels/DynamicSolidMechanics' syntax is deprecated. Please use "
83  "'Physics/SolidMechanics/Dynamic' instead.");
84  registerSyntax("PoroMechanicsAction", "Kernels/PoroMechanics");
85 
86  registerSyntax("EmptyAction", "BCs/Pressure");
87  registerSyntax("PressureAction", "BCs/Pressure/*");
88  registerSyntax("EmptyAction", "BCs/InclinedNoDisplacementBC");
89  registerSyntax("InclinedNoDisplacementBCAction", "BCs/InclinedNoDisplacementBC/*");
90  registerSyntax("EmptyAction", "BCs/CoupledPressure");
91  registerSyntax("CoupledPressureAction", "BCs/CoupledPressure/*");
92 
93  // Deprecated Modules/TensorMechanics syntax
94  registerDeprecatedSyntax("GeneralizedPlaneStrainAction",
95  "Modules/TensorMechanics/GeneralizedPlaneStrain/*",
96  "The 'Modules/TensorMechanics' syntax is deprecated. Please use "
97  "'Physics/SolidMechanics' instead.");
98  registerDeprecatedSyntax("GlobalStrainAction",
99  "Modules/TensorMechanics/GlobalStrain/*",
100  "The 'Modules/TensorMechanics' syntax is deprecated. Please use "
101  "'Physics/SolidMechanics' instead.");
102  registerDeprecatedSyntax("CommonSolidMechanicsAction",
103  "Modules/TensorMechanics/Master",
104  "The 'Modules/TensorMechanics/Master' syntax is deprecated. Please use "
105  "'Physics/SolidMechanics/QuasiStatic' instead.");
106  registerDeprecatedSyntax(
107  "CommonSolidMechanicsAction",
108  "Modules/TensorMechanics/DynamicMaster",
109  "The 'Modules/TensorMechanics/DynamicMaster' syntax is deprecated. Please use "
110  "'Physics/SolidMechanics/Dynamic' instead.");
111  registerDeprecatedSyntax("QuasiStaticSolidMechanicsPhysics",
112  "Modules/TensorMechanics/Master/*",
113  "The 'Modules/TensorMechanics/Master' syntax is deprecated. Please use "
114  "'Physics/SolidMechanics/QuasiStatic' instead.");
115  registerDeprecatedSyntax(
116  "DynamicSolidMechanicsPhysics",
117  "Modules/TensorMechanics/DynamicMaster/*",
118  "The 'Modules/TensorMechanics/DynamicMaster' syntax is deprecated. Please use "
119  "'Physics/SolidMechanics/Dynamic' instead.");
120 
121  registerDeprecatedSyntax(
122  "CommonLineElementAction",
123  "Modules/TensorMechanics/LineElementMaster",
124  "The 'Modules/TensorMechanics/LineElementMaster' syntax is deprecated. Please use "
125  "'Physics/SolidMechanics/LineElement/QuasiStatic' instead.");
126  registerDeprecatedSyntax(
127  "LineElementAction",
128  "Modules/TensorMechanics/LineElementMaster/*",
129  "The 'Modules/TensorMechanics/LineElementMaster' syntax is deprecated. Please use "
130  "'Physics/SolidMechanics/LineElement/QuasiStatic' instead.");
131 
132  registerDeprecatedSyntax(
133  "CommonCohesiveZoneAction",
134  "Modules/TensorMechanics/CohesiveZoneMaster",
135  "The 'Modules/TensorMechanics/CohesiveZoneMaster' syntax is deprecated. Please use "
136  "'Physics/SolidMechanics/CohesiveZone' instead.");
137  registerDeprecatedSyntax(
138  "CohesiveZoneAction",
139  "Modules/TensorMechanics/CohesiveZoneMaster/*",
140  "The 'Modules/TensorMechanics/CohesiveZoneMaster' syntax is deprecated. Please use "
141  "'Physics/SolidMechanics/CohesiveZone' instead.");
142 
143  registerDeprecatedSyntax("EmptyAction",
144  "Modules/TensorMechanics/MaterialVectorBodyForce",
145  "The 'Modules/TensorMechanics' syntax is deprecated. Please use "
146  "'Physics/SolidMechanics' instead.");
147  registerDeprecatedSyntax("MaterialVectorBodyForceAction",
148  "Modules/TensorMechanics/MaterialVectorBodyForce/*",
149  "The 'Modules/TensorMechanics' syntax is deprecated. Please use "
150  "'Physics/SolidMechanics' instead.");
151 
152  // New Physics syntax
153  registerSyntax("GeneralizedPlaneStrainAction", "Physics/SolidMechanics/GeneralizedPlaneStrain/*");
154  registerSyntax("GlobalStrainAction", "Physics/SolidMechanics/GlobalStrain/*");
155  registerSyntax("CommonSolidMechanicsAction", "Physics/SolidMechanics/QuasiStatic");
156  registerSyntax("CommonSolidMechanicsAction", "Physics/SolidMechanics/Dynamic");
157  registerSyntax("QuasiStaticSolidMechanicsPhysics", "Physics/SolidMechanics/QuasiStatic/*");
158  registerSyntax("DynamicSolidMechanicsPhysics", "Physics/SolidMechanics/Dynamic/*");
159 
160  registerSyntax("CommonLineElementAction", "Physics/SolidMechanics/LineElement/QuasiStatic");
161  registerSyntax("LineElementAction", "Physics/SolidMechanics/LineElement/QuasiStatic/*");
162 
163  registerSyntax("CommonCohesiveZoneAction", "Physics/SolidMechanics/CohesiveZone");
164  registerSyntax("CohesiveZoneAction", "Physics/SolidMechanics/CohesiveZone/*");
165 
166  registerSyntax("EmptyAction", "Physics/SolidMechanics/MaterialVectorBodyForce");
167  registerSyntax("MaterialVectorBodyForceAction",
168  "Physics/SolidMechanics/MaterialVectorBodyForce/*");
169 
170  registerSyntaxTask("DomainIntegralAction", "DomainIntegral", "add_user_object");
171  registerSyntaxTask("DomainIntegralAction", "DomainIntegral", "add_aux_variable");
172  registerSyntaxTask("DomainIntegralAction", "DomainIntegral", "add_aux_kernel");
173  registerSyntaxTask("DomainIntegralAction", "DomainIntegral", "add_postprocessor");
174  registerSyntaxTask("DomainIntegralAction", "DomainIntegral", "add_vector_postprocessor");
175  registerSyntaxTask("DomainIntegralAction", "DomainIntegral", "add_material");
176 
177  registerTask("validate_coordinate_systems", /*is_required=*/false);
178  addTaskDependency("validate_coordinate_systems", "create_problem_complete");
179  addTaskDependency("setup_postprocessor_data", "validate_coordinate_systems");
180 
181  registerTask("parse_neml2", /*required=*/true);
182  syntax.addDependency("add_material", "parse_neml2");
183  syntax.addDependency("add_user_object", "parse_neml2");
184  registerSyntax("NEML2Action", "NEML2");
185 }
void addDependency(const std::string &task, const std::string &pre_req)

◆ registerKnownLabel()

registerKnownLabel ( "SolidMechanicsApp"  )

◆ SolidMechanicsApp__registerAll()

void SolidMechanicsApp__registerAll ( Factory f,
ActionFactory af,
Syntax s 
)

Definition at line 224 of file SolidMechanicsApp.C.

225 {
227 }
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Real f(Real x)
Test function for Brents method.

◆ SolidMechanicsApp_registerApps()

void SolidMechanicsApp_registerApps ( )

Definition at line 229 of file SolidMechanicsApp.C.

230 {
232 }
static void registerApps()