ASL
0.1.7
Advanced Simulation Library
|
Numerical method which computes evolution of an interface. More...
#include <aslLevelSet.h>
Public Types | |
typedef SPDataWithGhostNodesACLData | Data |
typedef SPDataWithGhostNodesACL | DataGen |
Public Member Functions | |
acl::VectorOfElements | isBoundaryEl (unsigned int iEl) |
generates expression resulting true if there is a boundary within the element More... | |
acl::VectorOfElements | isBoundaryDir (unsigned int iDir) |
generates expression resulting true if there is a boundary in this direction More... | |
acl::VectorOfElements | getValueOnBoundary (acl::VectorOfElements field, unsigned int iDir) |
generates expression resulting the value of the field More... | |
acl::VectorOfElements | getBoundaryCenter (unsigned int iEl) |
generates expression for center of a boundary element More... | |
vector< acl::Element > | gcBoundaryArea (unsigned int iEl, acl::VectorOfElements ¢er, acl::VectorOfElements &area) |
generates expression for area of a boundary element More... | |
vector< acl::Element > | gcBoundaryArea (acl::VectorOfElements ¢er, acl::VectorOfElements &area) |
generates expression for area of a boundary element More... | |
acl::VectorOfElements | getBoundaryPoint (unsigned int iDir) |
computes coordinates of the surface point on the iDir vector More... | |
LevelSet () | |
LevelSet (Data df) | |
~LevelSet () | |
const VectorTemplate * | getVectorTemplate () const |
virtual void | init () |
Builds the necesery internal data and kernels. More... | |
virtual void | execute () |
Executes the numerical procedure. More... | |
![]() | |
virtual | ~NumMethod () |
Protected Member Functions | |
void | initKernelPropagation () |
virtual void | initVelocityComputation ()=0 |
virtual void | initDistancesComputation ()=0 |
Protected Attributes | |
std::unique_ptr< acl::Kernel > | kernel |
Data | distanceField |
Data | distanceFieldInternalData |
const VectorTemplate * | vectorTemplate |
const VTObjects * | vto |
unique_ptr< TemplateVE > | distanceTVE |
vector< acl::VectorOfElements > | lVelocities |
Numerical method which computes evolution of an interface.
Definition at line 57 of file aslLevelSet.h.
Definition at line 60 of file aslLevelSet.h.
Definition at line 61 of file aslLevelSet.h.
asl::LevelSet::LevelSet | ( | ) |
asl::LevelSet::LevelSet | ( | Data | df | ) |
df | is distance field |
asl::LevelSet::~LevelSet | ( | ) |
|
virtual |
Executes the numerical procedure.
Implements asl::NumMethod.
vector<acl::Element> asl::LevelSet::gcBoundaryArea | ( | unsigned int | iEl, |
acl::VectorOfElements & | center, | ||
acl::VectorOfElements & | area | ||
) |
generates expression for area of a boundary element
iEl | the element number computes area of the corresponding boundary within cell iEl |
vector<acl::Element> asl::LevelSet::gcBoundaryArea | ( | acl::VectorOfElements & | center, |
acl::VectorOfElements & | area | ||
) |
generates expression for area of a boundary element
computes area of the corresponding boundary within cell iEl
acl::VectorOfElements asl::LevelSet::getBoundaryCenter | ( | unsigned int | iEl | ) |
generates expression for center of a boundary element
iEl | the element number computes avarage point of corners of the boundary poligon within the element |
acl::VectorOfElements asl::LevelSet::getBoundaryPoint | ( | unsigned int | iDir | ) |
computes coordinates of the surface point on the iDir
vector
iDir | the element number |
acl::VectorOfElements asl::LevelSet::getValueOnBoundary | ( | acl::VectorOfElements | field, |
unsigned int | iDir | ||
) |
generates expression resulting the value of the field
field | vector contains values in each direction |
iDir | is the direction |
|
inline |
Definition at line 146 of file aslLevelSet.h.
|
virtual |
Builds the necesery internal data and kernels.
Implements asl::NumMethod.
|
protectedpure virtual |
Implemented in asl::LevelSetLinear.
|
protected |
|
protectedpure virtual |
Implemented in asl::LSFacetedGrowth, asl::InterfaceTrackingAlg1, and asl::LSNormalGrowth.
acl::VectorOfElements asl::LevelSet::isBoundaryDir | ( | unsigned int | iDir | ) |
generates expression resulting true if there is a boundary in this direction
iDir | direction number |
acl::VectorOfElements asl::LevelSet::isBoundaryEl | ( | unsigned int | iEl | ) |
generates expression resulting true if there is a boundary within the element
iEl | element number |
|
protected |
Definition at line 115 of file aslLevelSet.h.
|
protected |
Definition at line 116 of file aslLevelSet.h.
|
protected |
Definition at line 121 of file aslLevelSet.h.
|
protected |
Definition at line 113 of file aslLevelSet.h.
|
protected |
Definition at line 122 of file aslLevelSet.h.
|
protected |
Definition at line 118 of file aslLevelSet.h.
|
protected |
Definition at line 119 of file aslLevelSet.h.