www.mooseframework.org
RadialDisplacementSphereAux.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "AuxKernel.h"
13 
15 
16 template <>
18 
24 class RadialDisplacementSphereAux : public AuxKernel
25 {
26 public:
27  static InputParameters validParams();
28 
29  RadialDisplacementSphereAux(const InputParameters & parameters);
30 
32 
33 protected:
35  virtual Real computeValue();
36 
38  Moose::CoordinateSystemType _coord_system;
39 
41  unsigned int _ndisp;
43  std::vector<const VariableValue *> _disp_vals;
44 
47  RealVectorValue _origin;
48 };
RadialDisplacementSphereAux::_coord_system
Moose::CoordinateSystemType _coord_system
Type of coordinate system.
Definition: RadialDisplacementSphereAux.h:38
RadialDisplacementSphereAux::_ndisp
unsigned int _ndisp
Number of displacment components.
Definition: RadialDisplacementSphereAux.h:41
RadialDisplacementSphereAux::_disp_vals
std::vector< const VariableValue * > _disp_vals
Coupled variable values of the displacement components.
Definition: RadialDisplacementSphereAux.h:43
RadialDisplacementSphereAux::validParams
static InputParameters validParams()
Definition: RadialDisplacementSphereAux.C:18
RadialDisplacementSphereAux::_origin
RealVectorValue _origin
Point used to define an origin for 2D axisymmetric or 3D Cartesian systems.
Definition: RadialDisplacementSphereAux.h:47
RadialDisplacementSphereAux::computeValue
virtual Real computeValue()
Compute the value of the radial displacement.
Definition: RadialDisplacementSphereAux.C:77
RadialDisplacementSphereAux::RadialDisplacementSphereAux
RadialDisplacementSphereAux(const InputParameters &parameters)
Definition: RadialDisplacementSphereAux.C:33
validParams< RadialDisplacementSphereAux >
InputParameters validParams< RadialDisplacementSphereAux >()
RadialDisplacementSphereAux::~RadialDisplacementSphereAux
virtual ~RadialDisplacementSphereAux()
Definition: RadialDisplacementSphereAux.h:31
RadialDisplacementSphereAux
Calculates the radial displacement for spherical geometries.
Definition: RadialDisplacementSphereAux.h:24