asl::LevelSet Class Referenceabstract
Physics » Interface Tracking | Numerics » Numerical Methods | Numerics » Advanced Level Set Method

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

`#include <aslLevelSet.h>`

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

## 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 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 &center, acl::VectorOfElements &area)
| generates expression for area of a boundary element More...
vector< acl::Element > | gcBoundaryArea (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 VectorTemplate * | getVectorTemplate () const
virtual void | init ()
| Builds the necesery internal data and kernels. More...
virtual void | execute ()
| Executes the numerical procedure. More...
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 &center, acl::VectorOfElements &area)
| generates expression for area of a boundary element More...
vector< acl::Element > | gcBoundaryArea (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 VectorTemplate * | getVectorTemplate () 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 ()
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::Kernel > | kernel
Data | distanceField
Data | distanceFieldInternalData
const VectorTemplate * | vectorTemplate
const VTObjects * | vto
unique_ptr< TemplateVE > | distanceTVE
vector< acl::VectorOfElements > | lVelocities

## Detailed Description

Numerical method which computes evolution of an interface.

<>

Definition at line 57 of file aslLevelSet.h.

## Member Typedef Documentation

## Data [1/2]

typedef SPDataWithGhostNodesACLData asl::LevelSet::Data

Definition at line 60 of file aslLevelSet.h.

## Data [2/2]

typedef SPDataWithGhostNodesACLData asl::LevelSet::Data

Definition at line 60 of file aslLevelSet.h.

## DataGen [1/2]

typedef SPDataWithGhostNodesACL asl::LevelSet::DataGen

Definition at line 61 of file aslLevelSet.h.

## DataGen [2/2]

typedef SPDataWithGhostNodesACL asl::LevelSet::DataGen

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

  df | is distance field

## ~LevelSet() [1/2]

asl::LevelSet::~LevelSet | ( |  | ) |

## LevelSet() [3/4]

asl::LevelSet::LevelSet | ( |  | ) |

## LevelSet() [4/4]

asl::LevelSet::LevelSet | ( | Data | df | ) |

Parameters

  df | is 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

  iEl | the 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

  iEl | the 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

  iEl | the 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

  iEl | the 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

  iDir | the element number

## getBoundaryPoint() [2/2]

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

computes coordinates of the surface point on the `iDir` vector

Parameters

  iDir | the 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

  field | vector contains values in each direction
  iDir | is 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

  field | vector contains values in each direction
  iDir | is 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 | ( |  | ) |

protected pure virtual

Implemented in asl::LevelSetLinear, and asl::LevelSetLinear.

## initDistancesComputation() [2/2]

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

protected pure virtual

Implemented in asl::LevelSetLinear, and asl::LevelSetLinear.

## initKernelPropagation() [1/2]

void asl::LevelSet::initKernelPropagation | ( |  | ) |

protected

## initKernelPropagation() [2/2]

void asl::LevelSet::initKernelPropagation | ( |  | ) |

protected

## initVelocityComputation() [1/2]

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

protected pure virtual

Implemented in asl::LSNormalGrowth, asl::LSFacetedGrowth, asl::InterfaceTrackingAlg1, asl::LSNormalGrowth, asl::LSFacetedGrowth, and asl::InterfaceTrackingAlg1.

## initVelocityComputation() [2/2]

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

protected pure virtual

Implemented in asl::LSNormalGrowth, asl::LSFacetedGrowth, asl::InterfaceTrackingAlg1, asl::LSNormalGrowth, asl::LSFacetedGrowth, and asl::InterfaceTrackingAlg1.

## isBoundaryDir() [1/2]

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

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

Parameters

  iDir | direction 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

  iDir | direction 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

  iEl | element 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

  iEl | element 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:

- /build/asl-1Fw6fH/asl-0.1.7/debian/tmp/usr/include/ASL/num/aslLevelSet.h