https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
QuasiStaticSolidMechanicsPhysicsBase Class Referenceabstract

#include <QuasiStaticSolidMechanicsPhysicsBase.h>

Inheritance diagram for QuasiStaticSolidMechanicsPhysicsBase:
[legend]

Public Types

typedef DataFileName DataFileParameterType
 

Public Member Functions

 QuasiStaticSolidMechanicsPhysicsBase (const InputParameters &params)
 
void timedAct ()
 
virtual void addRelationshipManagers (Moose::RelationshipManagerType when_type)
 
MooseObjectName uniqueActionName () const
 
const std::string & specificTaskName () const
 
const std::set< std::string > & getAllTasks () const
 
void appendTask (const std::string &task)
 
MooseAppgetMooseApp () const
 
const std::string & type () const
 
const std::string & name () const
 
std::string typeAndName () const
 
MooseObjectParameterName uniqueParameterName (const std::string &parameter_name) const
 
MooseObjectName uniqueName () const
 
const InputParametersparameters () const
 
const hit::Node * getHitNode () const
 
bool hasBase () const
 
const std::string & getBase () const
 
const TgetParam (const std::string &name) const
 
std::vector< std::pair< T1, T2 > > getParam (const std::string &param1, const std::string &param2) const
 
const TqueryParam (const std::string &name) const
 
const TgetRenamedParam (const std::string &old_name, const std::string &new_name) const
 
T getCheckedPointerParam (const std::string &name, const std::string &error_string="") const
 
bool isParamValid (const std::string &name) const
 
bool isParamSetByUser (const std::string &name) const
 
void connectControllableParams (const std::string &parameter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) const
 
void paramError (const std::string &param, Args... args) const
 
void paramWarning (const std::string &param, Args... args) const
 
void paramWarning (const std::string &param, Args... args) const
 
void paramInfo (const std::string &param, Args... args) const
 
std::string messagePrefix (const bool hit_prefix=true) const
 
std::string errorPrefix (const std::string &) const
 
void mooseError (Args &&... args) const
 
void mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, Args &&... args) const
 
void mooseErrorNonPrefixed (Args &&... args) const
 
void mooseWarning (Args &&... args) const
 
void mooseWarning (Args &&... args) const
 
void mooseWarningNonPrefixed (Args &&... args) const
 
void mooseWarningNonPrefixed (Args &&... args) const
 
void mooseDeprecated (Args &&... args) const
 
void mooseDeprecated (Args &&... args) const
 
void mooseDeprecatedNoTrace (Args &&... args) const
 
void mooseInfo (Args &&... args) const
 
void callMooseError (std::string msg, const bool with_prefix, const hit::Node *node=nullptr, const bool show_trace=true) const
 
std::string getDataFileName (const std::string &param) const
 
std::string getDataFileNameByName (const std::string &relative_path) const
 
std::string getDataFilePath (const std::string &relative_path) const
 
PerfGraphperfGraph ()
 
const Parallel::Communicator & comm () const
 
processor_id_type n_processors () const
 
processor_id_type processor_id () const
 

Static Public Member Functions

static InputParameters validParams ()
 
static MultiMooseEnum outputPropertiesType ()
 
static MultiMooseEnum materialOutputOrders ()
 
static MultiMooseEnum materialOutputFamilies ()
 
static void addCartesianComponentOutput (const std::string &name, const std::string &prop_name="")
 
static void callMooseError (MooseApp *const app, const InputParameters &params, std::string msg, const bool with_prefix, const hit::Node *node, const bool show_trace=true)
 

Public Attributes

 usingCombinedWarningSolutionWarnings
 
const ConsoleStream _console
 

Static Public Attributes

static const std::string unique_action_name_param
 
static const std::string type_param
 
static const std::string name_param
 
static const std::string unique_name_param
 
static const std::string app_param
 
static const std::string moose_base_param
 
static const std::string kokkos_object_param
 
static constexpr auto SYSTEM
 
static constexpr auto NAME
 
static const std::vector< char > _component_table = {'x', 'y', 'z'}
 table data for output generation
 
static const std::map< std::string, std::pair< std::string, std::vector< std::string > > > _rank_two_invariant_table
 
static const std::map< std::string, std::pair< std::string, std::vector< std::string > > > _rank_two_directional_component_table
 
static const std::map< std::string, std::pair< std::string, std::vector< std::string > > > _rank_two_cylindrical_component_table
 
static const std::map< std::string, std::pair< std::string, std::vector< std::string > > > _rank_two_spherical_component_table
 

Protected Member Functions

bool addRelationshipManagers (Moose::RelationshipManagerType when_type, const InputParameters &moose_object_pars)
 
virtual void act ()=0
 
void associateWithParameter (const std::string &param_name, InputParameters &params) const
 
void associateWithParameter (const InputParameters &from_params, const std::string &param_name, InputParameters &params) const
 
const TgetMeshProperty (const std::string &data_name, const std::string &prefix)
 
const TgetMeshProperty (const std::string &data_name)
 
bool hasMeshProperty (const std::string &data_name, const std::string &prefix) const
 
bool hasMeshProperty (const std::string &data_name, const std::string &prefix) const
 
bool hasMeshProperty (const std::string &data_name) const
 
bool hasMeshProperty (const std::string &data_name) const
 
std::string meshPropertyName (const std::string &data_name) const
 
PerfID registerTimedSection (const std::string &section_name, const unsigned int level) const
 
PerfID registerTimedSection (const std::string &section_name, const unsigned int level, const std::string &live_message, const bool print_dots=true) const
 
std::string timedSectionName (const std::string &section_name) const
 
void flagInvalidSolutionInternal (const InvalidSolutionID invalid_solution_id) const
 
InvalidSolutionID registerInvalidSolutionInternal (const std::string &message, const bool warning) const
 

Static Protected Member Functions

static std::string meshPropertyName (const std::string &data_name, const std::string &prefix)
 

Protected Attributes

const bool _use_ad
 
std::string _registered_identifier
 
std::string _specific_task_name
 
std::set< std::string > _all_tasks
 
ActionWarehouse_awh
 
const std::string & _current_task
 
std::shared_ptr< MooseMesh > & _mesh
 
std::shared_ptr< MooseMesh > & _displaced_mesh
 
std::shared_ptr< FEProblemBase > & _problem
 
PerfID _act_timer
 
MooseApp_app
 
Factory_factory
 
ActionFactory_action_factory
 
const std::string & _type
 
const std::string & _name
 
const InputParameters_pars
 
MooseApp_pg_moose_app
 
const std::string _prefix
 
const Parallel::Communicator & _communicator
 

Static Protected Attributes

static std::map< std::string, std::string > _rank_two_cartesian_component_table
 

Private Member Functions

bool addRelationshipManager (Moose::RelationshipManagerType input_rm_type, const InputParameters &moose_object_pars, std::string rm_name, Moose::RelationshipManagerType rm_type, Moose::RelationshipManagerInputParameterCallback rm_input_parameter_func, Moose::RMSystemType sys_type=Moose::RMSystemType::NONE)
 
virtual std::string meshPropertyPrefix (const std::string &data_name) const
 
const RestartableDataValuegetMeshPropertyInternal (const std::string &data_name, const std::string &prefix) const
 
void mooseErrorInternal (Args &&... args) const
 

Static Private Member Functions

static const hit::Node * getHitNode (const InputParameters &params)
 
static std::string messagePrefix (const InputParameters &params, const bool hit_prefix)
 

Private Attributes

const ParallelParamObject_parent
 
MooseApp_meta_data_app
 
const MooseObject *const _meta_data_object
 
const MooseBase_si_moose_base
 
const FEProblemBase_si_problem
 

Detailed Description

Definition at line 14 of file QuasiStaticSolidMechanicsPhysicsBase.h.

Constructor & Destructor Documentation

◆ QuasiStaticSolidMechanicsPhysicsBase()

QuasiStaticSolidMechanicsPhysicsBase::QuasiStaticSolidMechanicsPhysicsBase ( const InputParameters params)

Definition at line 288 of file QuasiStaticSolidMechanicsPhysicsBase.C.

290 : Action(parameters), _use_ad(getParam<bool>("use_automatic_differentiation"))
291{
292 const auto & params = _app.getInputParameterWarehouse().getInputParameters();
293 InputParameters & pars(*(params.find(uniqueActionName())->second.get()));
294
295 // check if a container block with common parameters is found
297 if (action.size() == 1)
298 pars.applyParameters(action[0]->parameters());
299
300 // append additional_generate_output
301 if (isParamValid("additional_generate_output"))
302 {
303 MultiMooseEnum generate_output = getParam<MultiMooseEnum>("generate_output");
304 MultiMooseEnum additional_generate_output =
305 getParam<MultiMooseEnum>("additional_generate_output");
306
307 MultiMooseEnum material_output_order = getParam<MultiMooseEnum>("material_output_order");
308 MultiMooseEnum additional_material_output_order =
309 getParam<MultiMooseEnum>("additional_material_output_order");
310
311 MultiMooseEnum material_output_family = getParam<MultiMooseEnum>("material_output_family");
312 MultiMooseEnum additional_material_output_family =
313 getParam<MultiMooseEnum>("additional_material_output_family");
314
315 for (auto & output : additional_generate_output)
316 generate_output.setAdditionalValue(output);
317 for (auto & order : additional_material_output_order)
318 material_output_order.setAdditionalValue(order);
319 for (auto & family : additional_material_output_family)
320 material_output_family.setAdditionalValue(family);
321
322 pars.set<MultiMooseEnum>("generate_output") = generate_output;
323 pars.set<MultiMooseEnum>("material_output_order") = material_output_order;
324 pars.set<MultiMooseEnum>("material_output_family") = material_output_family;
325 }
326}
std::vector< const T * > getActions()
MooseObjectName uniqueActionName() const
MooseApp & _app
ActionWarehouse & _awh
Store common tensor mechanics parameters.
const std::multimap< MooseObjectName, std::shared_ptr< InputParameters > > & getInputParameters(THREAD_ID tid=0) const
std::vector< std::pair< R1, R2 > > get(const std::string &param1, const std::string &param2) const
InputParameterWarehouse & getInputParameterWarehouse()
const InputParameters & parameters() const
bool isParamValid(const std::string &name) const

Member Function Documentation

◆ addCartesianComponentOutput()

void QuasiStaticSolidMechanicsPhysicsBase::addCartesianComponentOutput ( const std::string &  name,
const std::string &  prop_name = "" 
)
static

Definition at line 372 of file QuasiStaticSolidMechanicsPhysicsBase.C.

374{
375 if (prop_name.empty())
376 // the enum name is the actual tensor material property name
377 _rank_two_cartesian_component_table.emplace(enum_name, enum_name);
378 else
379 // supply a different name for the enum options (this is done for
380 // 'strain' -> 'mechanical_strain' in the TMA)
381 _rank_two_cartesian_component_table.emplace(enum_name, prop_name);
382}
static std::map< std::string, std::string > _rank_two_cartesian_component_table

◆ materialOutputFamilies()

MultiMooseEnum QuasiStaticSolidMechanicsPhysicsBase::materialOutputFamilies ( )
static

Definition at line 337 of file QuasiStaticSolidMechanicsPhysicsBase.C.

338{
339 return MultiMooseEnum("MONOMIAL LAGRANGE");
340}

Referenced by QuasiStaticSolidMechanicsPhysics::validParams(), and validParams().

◆ materialOutputOrders()

MultiMooseEnum QuasiStaticSolidMechanicsPhysicsBase::materialOutputOrders ( )
static

Definition at line 329 of file QuasiStaticSolidMechanicsPhysicsBase.C.

330{
332
333 return MultiMooseEnum(orders);
334}
static MooseEnum getAuxVariableOrders()
std::string getRawNames() const

Referenced by QuasiStaticSolidMechanicsPhysics::validParams(), and validParams().

◆ outputPropertiesType()

MultiMooseEnum QuasiStaticSolidMechanicsPhysicsBase::outputPropertiesType ( )
static

Definition at line 343 of file QuasiStaticSolidMechanicsPhysicsBase.C.

344{
345 std::string options = "";
346 for (auto & r2tc : _rank_two_cartesian_component_table)
347 for (unsigned int a = 0; a < 3; ++a)
348 for (unsigned int b = 0; b < 3; ++b)
349 options += (options == "" ? "" : " ") + r2tc.first + '_' + _component_table[a] +
351
352 for (auto & r2i : _rank_two_invariant_table)
353 for (auto & t : r2i.second.second)
354 options += " " + r2i.first + "_" + t;
355
356 for (auto & r2sdc : _rank_two_directional_component_table)
357 for (auto & r : r2sdc.second.second)
358 options += " " + r2sdc.first + "_" + r;
359
360 for (auto & r2cc : _rank_two_cylindrical_component_table)
361 for (auto & r : r2cc.second.second)
362 options += " " + r2cc.first + "_" + r;
363
364 for (auto & r2sc : _rank_two_spherical_component_table)
365 for (auto & r : r2sc.second.second)
366 options += " " + r2sc.first + "_" + r;
367
368 return MultiMooseEnum(options, "", true);
369}
for(PetscInt i=0;i< nvars;++i)
void ErrorVector unsigned int
static const std::vector< char > _component_table
table data for output generation
static const std::map< std::string, std::pair< std::string, std::vector< std::string > > > _rank_two_invariant_table
static const std::map< std::string, std::pair< std::string, std::vector< std::string > > > _rank_two_spherical_component_table
static const std::map< std::string, std::pair< std::string, std::vector< std::string > > > _rank_two_directional_component_table
static const std::map< std::string, std::pair< std::string, std::vector< std::string > > > _rank_two_cylindrical_component_table

Referenced by QuasiStaticSolidMechanicsPhysics::validParams(), and validParams().

◆ validParams()

InputParameters QuasiStaticSolidMechanicsPhysicsBase::validParams ( )
static

Definition at line 137 of file QuasiStaticSolidMechanicsPhysicsBase.C.

138{
140
141 params.addRequiredParam<std::vector<VariableName>>(
142 "displacements", "The nonlinear displacement variables for the problem");
143 params.addParam<std::vector<VariableName>>("temperature", "The temperature");
144
145 MooseEnum strainType("SMALL FINITE", "SMALL");
146 params.addParam<MooseEnum>("strain", strainType, "Strain formulation");
147 params.addParam<bool>("incremental",
148 "Use incremental or total strain (if not explicitly specified this "
149 "defaults to incremental for finite strain and total for small strain)");
150
151 params.addParam<std::string>("base_name", "Material property base name");
152 params.addParam<bool>(
153 "volumetric_locking_correction", false, "Flag to correct volumetric locking");
154 params.addParam<bool>(
155 "use_finite_deform_jacobian", false, "Jacobian for corrotational finite strain");
156 params.addParam<bool>("add_variables", false, "Add the displacement variables");
157 params.addParam<std::vector<MaterialPropertyName>>(
158 "eigenstrain_names", {}, "List of eigenstrains to be applied in this strain calculation");
159 params.addParam<bool>("use_automatic_differentiation",
160 false,
161 "Flag to use automatic differentiation (AD) objects when possible");
162 // Global Strain
163 params.addParam<MaterialPropertyName>(
164 "global_strain",
165 "Name of the global strain material to be applied in this strain calculation. "
166 "The global strain tensor is constant over the whole domain and allows visualization "
167 "of the deformed shape with the periodic BC");
168
169 // Advanced
170 params.addParam<std::vector<AuxVariableName>>("save_in", {}, "The displacement residuals");
171 params.addParam<std::vector<AuxVariableName>>(
172 "diag_save_in", {}, "The displacement diagonal preconditioner terms");
173 params.addParam<MooseEnum>("decomposition_method",
175 "Methods to calculate the finite strain and rotation increments");
176 params.addParamNamesToGroup("save_in diag_save_in", "Advanced");
177
178 // Planar Formulation
179 MooseEnum planarFormulationType("NONE WEAK_PLANE_STRESS PLANE_STRAIN GENERALIZED_PLANE_STRAIN",
180 "NONE");
181 params.addParam<MooseEnum>(
182 "planar_formulation", planarFormulationType, "Out-of-plane stress/strain formulation");
183 params.addParam<VariableName>("scalar_out_of_plane_strain",
184 "Scalar variable for the out-of-plane strain (in y "
185 "direction for 1D Axisymmetric or in z direction for 2D "
186 "Cartesian problems)");
187 params.addParam<VariableName>("out_of_plane_strain",
188 "Variable for the out-of-plane strain for plane stress models");
189 MooseEnum outOfPlaneDirection("x y z", "z");
190 params.addParam<MooseEnum>(
191 "out_of_plane_direction", outOfPlaneDirection, "The direction of the out-of-plane strain.");
192 params.addDeprecatedParam<FunctionName>(
193 "out_of_plane_pressure",
194 "Function used to prescribe pressure (applied toward the body) in the out-of-plane direction "
195 "(y for 1D Axisymmetric or z for 2D Cartesian problems)",
196 "This has been replaced by 'out_of_plane_pressure_function'");
197 params.addParam<FunctionName>(
198 "out_of_plane_pressure_function",
199 "Function used to prescribe pressure (applied toward the body) in the out-of-plane direction "
200 "(y for 1D Axisymmetric or z for 2D Cartesian problems)");
201 params.addParam<Real>(
202 "pressure_factor",
203 "Scale factor applied to prescribed out-of-plane pressure (both material and function)");
204 params.addParam<MaterialPropertyName>("out_of_plane_pressure_material",
205 "0",
206 "Material used to prescribe pressure (applied toward the "
207 "body) in the out-of-plane direction");
208 params.addParamNamesToGroup("planar_formulation scalar_out_of_plane_strain out_of_plane_pressure "
209 "out_of_plane_pressure_material out_of_plane_pressure_function "
210 "pressure_factor out_of_plane_direction out_of_plane_strain",
211 "Out-of-plane stress/strain");
212
213 // Output
214 params.addParam<MultiMooseEnum>("generate_output",
216 "Add scalar quantity output for stress and/or strain");
217
218 params.addParam<MultiMooseEnum>(
219 "material_output_order",
221 "Specifies the order of the FE shape function to use for this variable.");
222
223 params.addParam<MultiMooseEnum>(
224 "material_output_family",
226 "Specifies the family of FE shape functions to use for this variable.");
227 params.addParamNamesToGroup("generate_output material_output_order material_output_family",
228 "Output");
229 params.addParam<bool>("verbose", false, "Display extra information.");
230
231 params.addParam<bool>("new_system",
232 false,
233 "If true use the new "
234 "LagrangianStressDiverence kernels.");
235
236 params.addParam<bool>(
237 "compatibility_mode",
238 false,
239 "If true, configure the Lagrangian kernel system to reproduce the OLD "
240 "(StressDivergenceTensors + ComputeFiniteStrain) results bit-for-bit when wrapping an "
241 "old-style ComputeStressBase material like ComputeMultiPlasticityStress. Implies "
242 "`new_system = true` and `formulation = TOTAL`; auto-adds ComputeLagrangianWrappedStress "
243 "around the user-supplied stress material; sets `kinematic_approximation` from "
244 "`decomposition_method`; sets `F_bar_mode = incremental` when "
245 "`volumetric_locking_correction = true`; redirects `stress` / `mechanical_strain` output "
246 "requests to the equivalent NEW-system properties (`cauchy_stress` / "
247 "`rotated_mechanical_strain`).");
248
249 MooseEnum formulationType("TOTAL UPDATED", "TOTAL");
250 params.addParam<MooseEnum>("formulation",
251 formulationType,
252 "Select between the total Lagrangian (TOTAL) "
253 "and updated Lagrangian (UPDATED) formulations "
254 "for the new kernel system.");
255
256 MooseEnum kinematicApproximation("linear quadratic rashid_approximate rashid_eigen", "linear");
257 params.addParam<MooseEnum>(
258 "kinematic_approximation",
259 kinematicApproximation,
260 "Approximation used by the Lagrangian strain calculator to convert the incremental "
261 "deformation gradient into the strain and vorticity increments (large deformation only).");
262
264 "generalized_midpoint_alpha",
265 1.0,
266 "generalized_midpoint_alpha >= 0.5 & generalized_midpoint_alpha <= 1.0",
267 "Generalized midpoint weight for the deformation gradient in the Lagrangian strain "
268 "calculator. 1.0 = backward Euler (default), 0.5 = midpoint rule.");
269
270 MooseEnum volumetricLockingCorrectionMode("total incremental", "total");
271 params.addParam<MooseEnum>(
272 "volumetric_locking_correction_mode",
273 volumetricLockingCorrectionMode,
274 "Volumetric part averaged by the F-bar volumetric locking correction in the Lagrangian "
275 "strain calculator: the total (default) or incremental deformation gradient.");
276
277 params.addParamNamesToGroup("add_variables displacements temperature", "Variables");
278 params.addParamNamesToGroup("strain incremental use_finite_deform_jacobian eigenstrain_names "
279 "volumetric_locking_correction kinematic_approximation "
280 "generalized_midpoint_alpha volumetric_locking_correction_mode",
281 "Strain");
282 params.addParamNamesToGroup("new_system compatibility_mode formulation",
283 "Lagrangian formulation");
284
285 return params;
286}
static InputParameters validParams()
static MooseEnum decompositionType()
void addParamNamesToGroup(const std::string &space_delim_names, const std::string group_name)
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addDeprecatedParam(const std::string &name, const T &value, const std::string &doc_string, const std::string &deprecation_message)
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
void addRangeCheckedParam(const std::string &name, const T &value, const std::string &parsed_function, const std::string &doc_string)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real

Referenced by CommonSolidMechanicsAction::validParams(), and QuasiStaticSolidMechanicsPhysics::validParams().

Member Data Documentation

◆ _component_table

const std::vector< char > QuasiStaticSolidMechanicsPhysicsBase::_component_table = {'x', 'y', 'z'}
static

table data for output generation

Definition at line 33 of file QuasiStaticSolidMechanicsPhysicsBase.h.

Referenced by QuasiStaticSolidMechanicsPhysics::actOutputMatProp(), and outputPropertiesType().

◆ _rank_two_cartesian_component_table

std::map< std::string, std::string > QuasiStaticSolidMechanicsPhysicsBase::_rank_two_cartesian_component_table
staticprotected
Initial value:
= {
{"strain", "total_strain"},
{"mechanical_strain", "mechanical_strain"},
{"stress", "stress"},
{"cauchy_stress", "cauchy_stress"},
{"deformation_gradient", "deformation_gradient"},
{"pk1_stress", "pk1_stress"},
{"pk2_stress", "pk2_stress"},
{"small_stress", "small_stress"},
{"elastic_strain", "elastic_strain"},
{"plastic_strain", "plastic_strain"},
{"creep_strain", "creep_strain"},
{"creep_stress", "creep_stress"}}

Definition at line 20 of file QuasiStaticSolidMechanicsPhysicsBase.h.

25 :
27 static const std::vector<char> _component_table;
28 static const std::map<std::string, std::pair<std::string, std::vector<std::string>>>
30 static const std::map<std::string, std::pair<std::string, std::vector<std::string>>>
32 static const std::map<std::string, std::pair<std::string, std::vector<std::string>>>

Referenced by QuasiStaticSolidMechanicsPhysics::actOutputMatProp(), addCartesianComponentOutput(), outputPropertiesType(), and QuasiStaticSolidMechanicsPhysics::setupOutput().

◆ _rank_two_cylindrical_component_table

const std::map< std::string, std::pair< std::string, std::vector< std::string > > > QuasiStaticSolidMechanicsPhysicsBase::_rank_two_cylindrical_component_table
static
Initial value:
= {
{"axial",
{"AxialStress", {"stress", "strain", "plastic_strain", "creep_strain", "elastic_strain"}}},
{"hoop",
{"HoopStress", {"stress", "strain", "plastic_strain", "creep_strain", "elastic_strain"}}},
{"radial", {"RadialStress", {"stress", "strain"}}}}

Definition at line 123 of file QuasiStaticSolidMechanicsPhysicsBase.h.

136 : public Action
137{
138public:
140
142
146
147public:
149 static const std::vector<char> _component_table;
150 static const std::map<std::string, std::pair<std::string, std::vector<std::string>>>
152 static const std::map<std::string, std::pair<std::string, std::vector<std::string>>>
154 static const std::map<std::string, std::pair<std::string, std::vector<std::string>>>
156 static const std::map<std::string, std::pair<std::string, std::vector<std::string>>>
159
160 static void addCartesianComponentOutput(const std::string & name,
161 const std::string & prop_name = "");
162
163protected:
164 static std::map<std::string, std::string> _rank_two_cartesian_component_table;
165
166 const bool _use_ad;
167};
const std::string & name() const
static void addCartesianComponentOutput(const std::string &name, const std::string &prop_name="")

Referenced by QuasiStaticSolidMechanicsPhysics::actOutputMatProp(), and outputPropertiesType().

◆ _rank_two_directional_component_table

const std::map< std::string, std::pair< std::string, std::vector< std::string > > > QuasiStaticSolidMechanicsPhysicsBase::_rank_two_directional_component_table
static
Initial value:
= {
{"directional", {"Direction", {"stress", "strain"}}}}

Definition at line 119 of file QuasiStaticSolidMechanicsPhysicsBase.h.

132 : public Action
133{
134public:
136
138
142
143public:
145 static const std::vector<char> _component_table;
146 static const std::map<std::string, std::pair<std::string, std::vector<std::string>>>
148 static const std::map<std::string, std::pair<std::string, std::vector<std::string>>>
150 static const std::map<std::string, std::pair<std::string, std::vector<std::string>>>
152 static const std::map<std::string, std::pair<std::string, std::vector<std::string>>>
155
156 static void addCartesianComponentOutput(const std::string & name,
157 const std::string & prop_name = "");
158
159protected:
160 static std::map<std::string, std::string> _rank_two_cartesian_component_table;
161
162 const bool _use_ad;
163};

Referenced by QuasiStaticSolidMechanicsPhysics::actOutputMatProp(), and outputPropertiesType().

◆ _rank_two_invariant_table

const std::map< std::string, std::pair< std::string, std::vector< std::string > > > QuasiStaticSolidMechanicsPhysicsBase::_rank_two_invariant_table
static

Definition at line 38 of file QuasiStaticSolidMechanicsPhysicsBase.h.

41 :
42 static std::map<std::string, std::string> _rank_two_cartesian_component_table;
43
44 const bool _use_ad;
45};

Referenced by QuasiStaticSolidMechanicsPhysics::actOutputMatProp(), and outputPropertiesType().

◆ _rank_two_spherical_component_table

const std::map< std::string, std::pair< std::string, std::vector< std::string > > > QuasiStaticSolidMechanicsPhysicsBase::_rank_two_spherical_component_table
static
Initial value:
= {
{"spherical_hoop",
{"HoopStress", {"stress", "strain", "plastic_strain", "creep_strain", "elastic_strain"}}},
{"spherical_radial", {"RadialStress", {"stress", "strain"}}}}

Definition at line 131 of file QuasiStaticSolidMechanicsPhysicsBase.h.

144 : public Action
145{
146public:
148
150
154
155public:
157 static const std::vector<char> _component_table;
158 static const std::map<std::string, std::pair<std::string, std::vector<std::string>>>
160 static const std::map<std::string, std::pair<std::string, std::vector<std::string>>>
162 static const std::map<std::string, std::pair<std::string, std::vector<std::string>>>
164 static const std::map<std::string, std::pair<std::string, std::vector<std::string>>>
167
168 static void addCartesianComponentOutput(const std::string & name,
169 const std::string & prop_name = "");
170
171protected:
172 static std::map<std::string, std::string> _rank_two_cartesian_component_table;
173
174 const bool _use_ad;
175};

Referenced by QuasiStaticSolidMechanicsPhysics::actOutputMatProp(), and outputPropertiesType().

◆ _use_ad

const bool QuasiStaticSolidMechanicsPhysicsBase::_use_ad
protected

The documentation for this class was generated from the following files: