https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
19public:
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
29protected:
31 const RealVectorValue & _point;
32
34 const RealVectorValue & _normal;
35
37 const Real & _epsilon;
38};
const Real p
virtual Real value(Real t, const Point &p) const
Implementation of a level set function to represent a plane.
const Real & _epsilon
The interface thickness.
const RealVectorValue & _point
A point on the plane.
static InputParameters validParams()
virtual RealGradient gradient(Real, const Point &p) const override
const RealVectorValue & _normal
The normal vector to the plane.
virtual Real value(Real, const Point &p) const override
const InputParameters & parameters() const