18 params.
addClassDescription(
"Compute the minimum timestep from the Courant-Friedrichs-Lewy (CFL) " 19 "condition for the level-set equation.");
26 _cfl_timestep(
std::numeric_limits<
Real>::
max()),
27 _velocity(adCoupledVectorValue(
"velocity"))
auto norm() const -> decltype(std::norm(Real()))
registerMooseObject("LevelSetApp", LevelSetCFLCondition)
const MooseArray< Point > & _q_point
static InputParameters validParams()
Real _cfl_timestep
The minimum timestep computed using CFL condition.
Computes the maximum timestep based on the CFL condition.
const ADVectorVariableValue & _velocity
Velocity vector variable.
auto max(const L &left, const R &right)
ADRealEigenVector< T, D, asd > abs(const ADRealEigenVector< T, D, asd > &)
unsigned int size() const
static InputParameters validParams()
void threadJoin(const UserObject &user_object) override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
LevelSetCFLCondition(const InputParameters ¶meters)
const Elem *const & _current_elem
Real _max_velocity
The max velocity on an element, this is done simply to avoid creating temporary calls to execute...
virtual PostprocessorValue getValue() const override