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 =
registerMooseObject("MiscApp", CoupledDirectionalMeshHeightInterpolation)
const Node *const & _current_node
static InputParameters validParams()
Couples to some other value and modulates it by the mesh height in a direction.
virtual Real computeValue()
CoupledDirectionalMeshHeightInterpolation(const InputParameters ¶meters)
unsigned int _direction
The direction to interpolate in.
static InputParameters validParams()
Factory constructor, takes parameters so that all derived classes can be built using the same constru...
const VariableValue & _coupled_val
The value of a coupled variable to modulate.
virtual MooseMesh & mesh()=0