https://mooseframework.inl.gov
LevelSetOlssonPlane.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 
18 {
19 public:
21 
23 
24  using Function::value;
25  virtual Real value(Real /*t*/, const Point & p) const override;
26 
27  virtual RealGradient gradient(Real /*t*/, const Point & p) const override;
28 
29 protected:
32 
35 
37  const Real & _epsilon;
38 };
LevelSetOlssonPlane(const InputParameters &parameters)
Implementation of a level set function to represent a plane.
const Real & _epsilon
The interface thickness.
virtual Real value(Real, const Point &p) const override
const RealVectorValue & _normal
The normal vector to the plane.
const RealVectorValue & _point
A point on the plane.
virtual RealGradient gradient(Real, const Point &p) const override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
virtual Real value(Real t, const Point &p) const
static InputParameters validParams()