www.mooseframework.org
MovingPlanarFront.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 
23 class MovingPlanarFront : public Function, protected FunctionInterface
24 {
25 public:
27 
29 
30  using Function::value;
31  virtual Real value(Real t, const Point & p) const override;
32 
33 protected:
36 
39 
42 
45 
48 
51 
54 
57 
60 };
const Real _activation_time
Activation time.
MovingPlanarFront(const InputParameters &parameters)
const Real _deactivation_time
Deactivation time.
const RealVectorValue _start_posn
Initial position of front.
const Function & _distance
The front's distance from start_posn (along the normal direction)
const Real _false_value
False value to return.
Defines the position of a moving front.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
virtual Real value(Real t, const Point &p) const override
const Real _true_value
True value to return.
virtual Real value(Real t, const Point &p) const
static InputParameters validParams()
const RealVectorValue _end_posn
Final position of the front: together with start_posn this defines the front's normal.
const Real _active_length
Active length.
RealVectorValue _front_normal
Front unit normal.