https://mooseframework.inl.gov
LegacyTensorMechanicsAction.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
11 
12 registerMooseAction("SolidMechanicsApp", LegacyTensorMechanicsAction, "setup_mesh_complete");
13 
14 registerMooseAction("SolidMechanicsApp",
16  "validate_coordinate_systems");
17 
18 registerMooseAction("SolidMechanicsApp", LegacyTensorMechanicsAction, "add_kernel");
19 
22 {
24  params.addParam<bool>(
25  "use_displaced_mesh", false, "Whether to use displaced mesh in the kernels");
26  return params;
27 }
28 
31 {
32 }
33 
34 void
36 {
37  if (_current_task == "add_kernel" || _current_task == "validate_coordinate_systems")
39 }
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
LegacyTensorMechanicsAction(const InputParameters &params)
registerMooseAction("SolidMechanicsApp", LegacyTensorMechanicsAction, "setup_mesh_complete")
const std::string & _current_task
static InputParameters validParams()