Template base providing signed-distance and normal-vector utilities for SBM objects. More...
#include <SBMBase.h>
Public Member Functions | |
| SBMBase (const InputParameters ¶meters) | |
Static Public Member Functions | |
| static InputParameters | validParams () |
Protected Member Functions | |
| virtual void | initialSetup () override |
| virtual bool | perform_shifted () const =0 |
| Whether to apply shifted integration corrections. | |
| Real | h () const |
| Returns the characteristic mesh size, computed as (element_volume)^(1/dim) | |
| const RealVectorValue | surrogateDistance () const |
| Returns the shortest distance vector from the current quadrature point to the true interface. | |
| const RealVectorValue | trueNormal () const |
| Returns the true normal vector at the projected point on the true interface. | |
Protected Attributes | |
| const BoundaryShortestDistanceToSurface * | _sbm_distance_uo |
| user object for distance and normal calculations | |
Template base providing signed-distance and normal-vector utilities for SBM objects.
This mixes in with different MOOSE parents (IntegratedBC, InterfaceKernel, ... ) while sharing a single implementation.
| SBMBase< Parent >::SBMBase | ( | const InputParameters & | parameters | ) |
Definition at line 26 of file SBMBase.C.
|
protected |
|
overrideprotectedvirtual |
Definition at line 33 of file SBMBase.C.
|
protectedpure virtual |
Whether to apply shifted integration corrections.
Shifted integration is the intended SBM mode. A derived class may return false to retain the same formulation without its shifted corrections as a verification or comparison baseline.
|
protected |
Returns the shortest distance vector from the current quadrature point to the true interface.
Definition at line 55 of file SBMBase.C.
|
protected |
Returns the true normal vector at the projected point on the true interface.
Definition at line 63 of file SBMBase.C.
|
static |
Definition at line 15 of file SBMBase.C.
Referenced by SCZMInterfaceKernelBaseTempl< is_ad >::validParams().
|
protected |