www.mooseframework.org
DomainIntegralAction.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef DOMAININTEGRALACTION_H
8 #define DOMAININTEGRALACTION_H
9 
10 // MOOSE includes
11 #include "Action.h"
12 #include "MooseEnum.h"
13 #include "MooseTypes.h"
14 
15 #include "libmesh/vector_value.h"
16 
18 
19 template <>
20 InputParameters validParams<DomainIntegralAction>();
21 
22 class DomainIntegralAction : public Action
23 {
24 public:
25  DomainIntegralAction(const InputParameters & params);
26 
28 
29  virtual void act();
30 
31 protected:
32  enum INTEGRAL
33  {
39  };
40 
42  {
45  };
46 
47  unsigned int calcNumCrackFrontPoints();
48 
49  std::set<INTEGRAL> _integrals;
50  const std::vector<BoundaryName> & _boundary_names;
51  std::vector<Point> _crack_front_points;
55  const std::string _order;
56  const std::string _family;
60  RealVectorValue _crack_direction_vector;
65  std::vector<BoundaryName> _crack_mouth_boundary_names;
66  std::vector<BoundaryName> _intersecting_boundary_names;
68  unsigned int _axis_2d;
69  std::vector<Real> _radius_inner;
70  std::vector<Real> _radius_outer;
71  unsigned int _ring_first;
72  unsigned int _ring_last;
73  std::vector<VariableName> _output_variables;
76  std::vector<SubdomainName> _blocks;
77  std::vector<VariableName> _displacements;
78  VariableName _temp;
81  unsigned int _symmetry_plane;
82  MooseEnum _position_type;
83  MooseEnum _q_function_type;
86  bool _output_q;
87  std::vector<unsigned int> _ring_vec;
89 };
90 
91 #endif // DOMAININTEGRALACTION_H
unsigned int _number_crack_front_points
InputParameters validParams< DomainIntegralAction >()
std::vector< VariableName > _output_variables
const std::vector< BoundaryName > & _boundary_names
UserObjectName _crack_front_points_provider
const std::string _order
RealVectorValue _crack_direction_vector_end_1
std::vector< BoundaryName > _intersecting_boundary_names
unsigned int calcNumCrackFrontPoints()
RealVectorValue _crack_direction_vector
std::vector< Real > _radius_inner
DomainIntegralAction(const InputParameters &params)
const std::string _family
MooseEnum _direction_method_moose_enum
std::vector< VariableName > _displacements
std::vector< BoundaryName > _crack_mouth_boundary_names
std::vector< SubdomainName > _blocks
MooseEnum _end_direction_method_moose_enum
std::vector< unsigned int > _ring_vec
std::vector< Real > _radius_outer
std::vector< Point > _crack_front_points
RealVectorValue _crack_direction_vector_end_2
std::set< INTEGRAL > _integrals