ASL  0.1.7
Advanced Simulation Library
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members

Numerical method which computes evolution of an interface. More...

#include <aslLevelSet.h>

Inheritance diagram for asl::LevelSet:
Inheritance graph
[legend]
Collaboration diagram for asl::LevelSet:
Collaboration graph
[legend]

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::ElementgcBoundaryArea (unsigned int iEl, acl::VectorOfElements &center, acl::VectorOfElements &area)
 generates expression for area of a boundary element More...
 
vector< acl::ElementgcBoundaryArea (acl::VectorOfElements &center, 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 VectorTemplategetVectorTemplate () const
 
virtual void init ()
 Builds the necesery internal data and kernels. More...
 
virtual void execute ()
 Executes the numerical procedure. More...
 
- Public Member Functions inherited from asl::NumMethod
virtual ~NumMethod ()
 

Protected Member Functions

void initKernelPropagation ()
 
virtual void initVelocityComputation ()=0
 
virtual void initDistancesComputation ()=0
 

Protected Attributes

std::unique_ptr< acl::Kernelkernel
 
Data distanceField
 
Data distanceFieldInternalData
 
const VectorTemplatevectorTemplate
 
const VTObjectsvto
 
unique_ptr< TemplateVEdistanceTVE
 
vector< acl::VectorOfElementslVelocities
 

Detailed Description

Numerical method which computes evolution of an interface.

Definition at line 57 of file aslLevelSet.h.

Member Typedef Documentation

◆ Data

Definition at line 60 of file aslLevelSet.h.

◆ DataGen

Definition at line 61 of file aslLevelSet.h.

Constructor & Destructor Documentation

◆ LevelSet() [1/2]

asl::LevelSet::LevelSet ( )

◆ LevelSet() [2/2]

asl::LevelSet::LevelSet ( Data  df)
Parameters
dfis distance field

◆ ~LevelSet()

asl::LevelSet::~LevelSet ( )

Member Function Documentation

◆ execute()

virtual void asl::LevelSet::execute ( )
virtual

Executes the numerical procedure.

Implements asl::NumMethod.

◆ gcBoundaryArea() [1/2]

vector<acl::Element> asl::LevelSet::gcBoundaryArea ( unsigned int  iEl,
acl::VectorOfElements center,
acl::VectorOfElements area 
)

generates expression for area of a boundary element

Parameters
iElthe element number computes area of the corresponding boundary within cell iEl

◆ gcBoundaryArea() [2/2]

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

◆ getBoundaryCenter()

acl::VectorOfElements asl::LevelSet::getBoundaryCenter ( unsigned int  iEl)

generates expression for center of a boundary element

Parameters
iElthe element number computes avarage point of corners of the boundary poligon within the element

◆ getBoundaryPoint()

acl::VectorOfElements asl::LevelSet::getBoundaryPoint ( unsigned int  iDir)

computes coordinates of the surface point on the iDir vector

Parameters
iDirthe element number

◆ getValueOnBoundary()

acl::VectorOfElements asl::LevelSet::getValueOnBoundary ( acl::VectorOfElements  field,
unsigned int  iDir 
)

generates expression resulting the value of the field

Parameters
fieldvector contains values in each direction
iDiris the direction

◆ getVectorTemplate()

const VectorTemplate * asl::LevelSet::getVectorTemplate ( ) const
inline

Definition at line 146 of file aslLevelSet.h.

◆ init()

virtual void asl::LevelSet::init ( )
virtual

Builds the necesery internal data and kernels.

Implements asl::NumMethod.

◆ initDistancesComputation()

virtual void asl::LevelSet::initDistancesComputation ( )
protectedpure virtual

Implemented in asl::LevelSetLinear.

◆ initKernelPropagation()

void asl::LevelSet::initKernelPropagation ( )
protected

◆ initVelocityComputation()

virtual void asl::LevelSet::initVelocityComputation ( )
protectedpure virtual

◆ isBoundaryDir()

acl::VectorOfElements asl::LevelSet::isBoundaryDir ( unsigned int  iDir)

generates expression resulting true if there is a boundary in this direction

Parameters
iDirdirection number

◆ isBoundaryEl()

acl::VectorOfElements asl::LevelSet::isBoundaryEl ( unsigned int  iEl)

generates expression resulting true if there is a boundary within the element

Parameters
iElelement number

Member Data Documentation

◆ distanceField

Data asl::LevelSet::distanceField
protected

Definition at line 115 of file aslLevelSet.h.

◆ distanceFieldInternalData

Data asl::LevelSet::distanceFieldInternalData
protected

Definition at line 116 of file aslLevelSet.h.

◆ distanceTVE

unique_ptr<TemplateVE> asl::LevelSet::distanceTVE
protected

Definition at line 121 of file aslLevelSet.h.

◆ kernel

std::unique_ptr<acl::Kernel> asl::LevelSet::kernel
protected

Definition at line 113 of file aslLevelSet.h.

◆ lVelocities

vector<acl::VectorOfElements> asl::LevelSet::lVelocities
protected

Definition at line 122 of file aslLevelSet.h.

◆ vectorTemplate

const VectorTemplate* asl::LevelSet::vectorTemplate
protected

Definition at line 118 of file aslLevelSet.h.

◆ vto

const VTObjects* asl::LevelSet::vto
protected

Definition at line 119 of file aslLevelSet.h.


The documentation for this class was generated from the following file: