ASL 0.1.7
Advanced Simulation Library
Loading...
Searching...
No Matches

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

#include <aslLevelSet.h>

Inheritance diagram for asl::LevelSet:
Collaboration diagram for asl::LevelSet:

Public Types

typedef SPDataWithGhostNodesACLData Data
typedef SPDataWithGhostNodesACL DataGen
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
acl::VectorOfElements isBoundaryDir (unsigned int iDir)
 generates expression resulting true if there is a boundary in this direction
acl::VectorOfElements getValueOnBoundary (acl::VectorOfElements field, unsigned int iDir)
 generates expression resulting the value of the field
acl::VectorOfElements getBoundaryCenter (unsigned int iEl)
 generates expression for center of a boundary element
vector< acl::ElementgcBoundaryArea (unsigned int iEl, acl::VectorOfElements &center, acl::VectorOfElements &area)
 generates expression for area of a boundary element
vector< acl::ElementgcBoundaryArea (acl::VectorOfElements &center, acl::VectorOfElements &area)
 generates expression for area of a boundary element
acl::VectorOfElements getBoundaryPoint (unsigned int iDir)
 computes coordinates of the surface point on the iDir vector
 LevelSet ()
 LevelSet (Data df)
 ~LevelSet ()
const VectorTemplategetVectorTemplate () const
virtual void init ()
 Builds the necesery internal data and kernels.
virtual void execute ()
 Executes the numerical procedure.
acl::VectorOfElements isBoundaryEl (unsigned int iEl)
 generates expression resulting true if there is a boundary within the element
acl::VectorOfElements isBoundaryDir (unsigned int iDir)
 generates expression resulting true if there is a boundary in this direction
acl::VectorOfElements getValueOnBoundary (acl::VectorOfElements field, unsigned int iDir)
 generates expression resulting the value of the field
acl::VectorOfElements getBoundaryCenter (unsigned int iEl)
 generates expression for center of a boundary element
vector< acl::ElementgcBoundaryArea (unsigned int iEl, acl::VectorOfElements &center, acl::VectorOfElements &area)
 generates expression for area of a boundary element
vector< acl::ElementgcBoundaryArea (acl::VectorOfElements &center, acl::VectorOfElements &area)
 generates expression for area of a boundary element
acl::VectorOfElements getBoundaryPoint (unsigned int iDir)
 computes coordinates of the surface point on the iDir vector
 LevelSet ()
 LevelSet (Data df)
 ~LevelSet ()
const VectorTemplategetVectorTemplate () const
virtual void init ()
 Builds the necesery internal data and kernels.
virtual void execute ()
 Executes the numerical procedure.
Public Member Functions inherited from asl::NumMethod
virtual ~NumMethod ()
virtual ~NumMethod ()

Protected Member Functions

void initKernelPropagation ()
virtual void initVelocityComputation ()=0
virtual void initDistancesComputation ()=0
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 [1/2]

Definition at line 60 of file aslLevelSet.h.

◆ Data [2/2]

Definition at line 60 of file aslLevelSet.h.

◆ DataGen [1/2]

Definition at line 61 of file aslLevelSet.h.

◆ DataGen [2/2]

Definition at line 61 of file aslLevelSet.h.

Constructor & Destructor Documentation

◆ LevelSet() [1/4]

asl::LevelSet::LevelSet ( )

◆ LevelSet() [2/4]

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

◆ ~LevelSet() [1/2]

asl::LevelSet::~LevelSet ( )

◆ LevelSet() [3/4]

asl::LevelSet::LevelSet ( )

◆ LevelSet() [4/4]

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

◆ ~LevelSet() [2/2]

asl::LevelSet::~LevelSet ( )

Member Function Documentation

◆ execute() [1/2]

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

Executes the numerical procedure.

Implements asl::NumMethod.

◆ execute() [2/2]

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

Executes the numerical procedure.

Implements asl::NumMethod.

◆ gcBoundaryArea() [1/4]

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

◆ gcBoundaryArea() [2/4]

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

◆ gcBoundaryArea() [3/4]

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() [4/4]

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

◆ getBoundaryCenter() [1/2]

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

◆ getBoundaryCenter() [2/2]

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() [1/2]

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

computes coordinates of the surface point on the iDir vector

Parameters
iDirthe element number

◆ getBoundaryPoint() [2/2]

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

computes coordinates of the surface point on the iDir vector

Parameters
iDirthe element number

◆ getValueOnBoundary() [1/2]

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

◆ getValueOnBoundary() [2/2]

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() [1/2]

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

Definition at line 146 of file aslLevelSet.h.

◆ getVectorTemplate() [2/2]

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

◆ init() [1/2]

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

Builds the necesery internal data and kernels.

Implements asl::NumMethod.

◆ init() [2/2]

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

Builds the necesery internal data and kernels.

Implements asl::NumMethod.

◆ initDistancesComputation() [1/2]

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

◆ initDistancesComputation() [2/2]

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

◆ initKernelPropagation() [1/2]

void asl::LevelSet::initKernelPropagation ( )
protected

◆ initKernelPropagation() [2/2]

void asl::LevelSet::initKernelPropagation ( )
protected

◆ initVelocityComputation() [1/2]

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

◆ initVelocityComputation() [2/2]

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

◆ isBoundaryDir() [1/2]

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

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

Parameters
iDirdirection number

◆ isBoundaryDir() [2/2]

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

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

Parameters
iDirdirection number

◆ isBoundaryEl() [1/2]

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

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

Parameters
iElelement number

◆ isBoundaryEl() [2/2]

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 files: