ASL  0.1.7
Advanced Simulation Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
asl::LevelSet Class Referenceabstract

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

Definition at line 60 of file aslLevelSet.h.

Definition at line 61 of file aslLevelSet.h.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual void asl::LevelSet::execute ( )
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

Parameters
iElthe 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

Parameters
iElthe 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

Parameters
iDirthe element number
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
const VectorTemplate * asl::LevelSet::getVectorTemplate ( ) const
inline

Definition at line 146 of file aslLevelSet.h.

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

Builds the necesery internal data and kernels.

Implements asl::NumMethod.

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

Implemented in asl::LevelSetLinear.

void asl::LevelSet::initKernelPropagation ( )
protected
virtual void asl::LevelSet::initVelocityComputation ( )
protectedpure virtual
acl::VectorOfElements asl::LevelSet::isBoundaryDir ( unsigned int  iDir)

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

Parameters
iDirdirection number
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

Data asl::LevelSet::distanceField
protected

Definition at line 115 of file aslLevelSet.h.

Data asl::LevelSet::distanceFieldInternalData
protected

Definition at line 116 of file aslLevelSet.h.

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

Definition at line 121 of file aslLevelSet.h.

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

Definition at line 113 of file aslLevelSet.h.

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

Definition at line 122 of file aslLevelSet.h.

const VectorTemplate* asl::LevelSet::vectorTemplate
protected

Definition at line 118 of file aslLevelSet.h.

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: