www.mooseframework.org
RadialDisplacementSphereAux.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 RADIALDISPLACEMENTSPHEREAUX_H
8 #define RADIALDISPLACEMENTSPHEREAUX_H
9 
10 #include "AuxKernel.h"
11 
13 
14 template <>
16 
22 class RadialDisplacementSphereAux : public AuxKernel
23 {
24 public:
25  RadialDisplacementSphereAux(const InputParameters & parameters);
26 
28 
29 protected:
31  virtual Real computeValue();
32 
34  Moose::CoordinateSystemType _coord_system;
35 
37  unsigned int _ndisp;
39  std::vector<const VariableValue *> _disp_vals;
40 
43  RealVectorValue _origin;
44 };
45 
46 #endif // RADIALDISPLACEMENTSPHEREAUX_H
Calculates the radial displacement for spherical geometries.
RealVectorValue _origin
Point used to define an origin for 2D axisymmetric or 3D Cartesian systems.
std::vector< const VariableValue * > _disp_vals
Coupled variable values of the displacement components.
RadialDisplacementSphereAux(const InputParameters &parameters)
unsigned int _ndisp
Number of displacment components.
virtual Real computeValue()
Compute the value of the radial displacement.
InputParameters validParams< RadialDisplacementSphereAux >()
Moose::CoordinateSystemType _coord_system
Type of coordinate system.