13 #include "libmesh/mesh_tools.h" 23 "The variable whose values are scaled based on position relative to the model bounds.");
28 "Scales a variable based on position relative to the model bounds in a specified direction");
36 _coupled_val(coupledValue(
"coupled_var")),
37 _direction(getParam<
MooseEnum>(
"direction"))
39 BoundingBox bounding_box = MeshTools::create_bounding_box(
_subproblem.
mesh());
50 const Real fraction_along_direction =
virtual MooseMesh & mesh()=0
virtual Real computeValue()
const VariableValue & _coupled_val
The value of a coupled variable to modulate.
const Node *const & _current_node
CoupledDirectionalMeshHeightInterpolation(const InputParameters ¶meters)
static const std::string directions[3]
unsigned int _direction
The direction to interpolate in.
registerMooseObject("MiscApp", CoupledDirectionalMeshHeightInterpolation)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Couples to some other value and modulates it by the mesh height in a direction.
static InputParameters validParams()
static InputParameters validParams()
Factory constructor, takes parameters so that all derived classes can be built using the same constru...