https://mooseframework.inl.gov
Loading...
Searching...
No Matches
RZSymmetry.h
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
10#pragma once
11
12#include "InputParameters.h"
13
14#include "libmesh/vector_value.h"
15
20{
21public:
22 RZSymmetry(const MooseObject * moose_object, const InputParameters & parameters);
23
24protected:
25 virtual Real computeCircumference(const RealVectorValue & pt);
26
28 RealVectorValue _axis_point;
30 const RealVectorValue & _axis_dir;
32 const Real & _offset;
33
34public:
36};
Interface class for enabling objects to be RZ symmetric about arbitrary axis.
Definition RZSymmetry.h:20
const RealVectorValue & _axis_dir
The direction of the axis of symmetry.
Definition RZSymmetry.h:30
virtual Real computeCircumference(const RealVectorValue &pt)
Definition RZSymmetry.C:85
RealVectorValue _axis_point
A point on the axis of symmetry.
Definition RZSymmetry.h:28
const Real & _offset
Radial offset of the axis of symmetry.
Definition RZSymmetry.h:32
static InputParameters validParams()
Definition RZSymmetry.C:17