21 params.
addRequiredParam<
unsigned int>(
"component",
"The vector component of interest");
23 "Computes velocity in the direction of a 1-D element from a vector velocity function");
29 _vel_fn(getFunction(
"vel_fn")),
30 _component(getParam<unsigned
int>(
"component"))
auto norm() const -> decltype(std::norm(Real()))
virtual Real value(const Point &p) override
virtual Elem * elemPtr(const dof_id_type i)
const unsigned int _component
Vector component to use.
const Function & _vel_fn
Velocity function.
static InputParameters validParams()
static InputParameters validParams()
registerMooseObject("ThermalHydraulicsApp", VectorVelocityIC)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual MooseMesh & mesh() override
const Elem *const & _current_elem
FEProblemBase & _fe_problem
virtual Real value(Real t, const Point &p) const
Computes velocity in the direction of a 1-D element from a vector velocity function.
void ErrorVector unsigned int
VectorVelocityIC(const InputParameters ¶meters)