https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MovingPlanarFront.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 "Function.h"
13#include "FunctionInterface.h"
14
24{
25public:
27
29
30 using Function::value;
31 virtual Real value(Real t, const Point & p) const override;
32
33protected:
35 const RealVectorValue _start_posn;
36
38 const RealVectorValue _end_posn;
39
42
44 const Real _active_length;
45
47 const Real _true_value;
48
50 const Real _false_value;
51
53 const Real _activation_time;
54
57
59 RealVectorValue _front_normal;
60};
const Real p
virtual Real value(Real t, const Point &p) const
const InputParameters & parameters() const
Defines the position of a moving front.
const Real _activation_time
Activation time.
virtual Real value(Real t, const Point &p) const override
const Function & _distance
The front's distance from start_posn (along the normal direction)
const Real _active_length
Active length.
const RealVectorValue _start_posn
Initial position of front.
static InputParameters validParams()
const Real _false_value
False value to return.
const Real _deactivation_time
Deactivation time.
const RealVectorValue _end_posn
Final position of the front: together with start_posn this defines the front's normal.
RealVectorValue _front_normal
Front unit normal.
const Real _true_value
True value to return.