Line data Source code
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 : 10 : #pragma once 11 : 12 : #include "Action.h" 13 : 14 0 : class QuasiStaticSolidMechanicsPhysicsBase : public Action 15 : { 16 : public: 17 : static InputParameters validParams(); 18 : 19 : QuasiStaticSolidMechanicsPhysicsBase(const InputParameters & params); 20 : 21 : static MultiMooseEnum outputPropertiesType(); 22 : static MultiMooseEnum materialOutputOrders(); 23 : static MultiMooseEnum materialOutputFamilies(); 24 : 25 : public: 26 : ///@{ table data for output generation 27 : static const std::vector<char> _component_table; 28 : static const std::map<std::string, std::pair<std::string, std::vector<std::string>>> 29 : _rank_two_invariant_table; 30 : static const std::map<std::string, std::pair<std::string, std::vector<std::string>>> 31 : _rank_two_directional_component_table; 32 : static const std::map<std::string, std::pair<std::string, std::vector<std::string>>> 33 : _rank_two_cylindrical_component_table; 34 : static const std::map<std::string, std::pair<std::string, std::vector<std::string>>> 35 : _rank_two_spherical_component_table; 36 : ///@} 37 : 38 : static void addCartesianComponentOutput(const std::string & name, 39 : const std::string & prop_name = ""); 40 : 41 : protected: 42 : static std::map<std::string, std::string> _rank_two_cartesian_component_table; 43 : 44 : const bool _use_ad; 45 : };