ASL  0.1.7
Advanced Simulation Library
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
asl::BCondWithMap Class Reference

Virtual class describes general interface for boundary conditions. More...

#include <aslBCond.h>

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

Public Member Functions

const VectorTemplategetVT ()
 
- Public Member Functions inherited from asl::NumMethod
virtual void execute ()=0
 Executes the numerical procedure. More...
 
virtual void init ()=0
 Builds the necesery internal data and kernels. More...
 
virtual ~NumMethod ()
 

Protected Member Functions

virtual void initMapInfrastructure (acl::ExpressionContainer &ec)
 initialize mapTVE and cDomainTVE More...
 
acl::VectorOfElements isGhostNode (unsigned int i)
 returns expression corresponding to check if the node in i^th direction is ghost one More...
 
acl::VectorOfElements isComputationNode (unsigned int i)
 returns expression corresponding to check if the node in i^th direction is computation one More...
 
acl::VectorOfElements isComputationNode (const vector< unsigned int > &ii)
 returns expression corresponding to check if nodes in directions ii are computation ones More...
 
acl::VectorOfElements isGhostNode ()
 returns expression corresponding to check if the current node is ghost one More...
 
acl::VectorOfElements isComputationNode ()
 returns expression corresponding to check if the current node is computation one More...
 
 BCondWithMap (SPAbstractDataWithGhostNodes m, const VectorTemplate *const vt)
 
 BCondWithMap (SPDistanceFunction m, const Block &b, const VectorTemplate *const vt)
 
 BCondWithMap (SPAbstractDataWithGhostNodes m, SPAbstractDataWithGhostNodes cd, const VectorTemplate *const vt)
 
 BCondWithMap (SPAbstractDataWithGhostNodes m, SPDistanceFunction cd, const VectorTemplate *const vt)
 
 BCondWithMap (SPDistanceFunction m, SPDistanceFunction cd, const Block &b, const VectorTemplate *const vt)
 

Protected Attributes

bool pointsListFlag
 flag whether the point list to be generated or not More...
 
acl::VectorOfElements currentPoint
 
const VectorTemplate *const templ
 
Block bl
 block More...
 
SPAbstractDataWithGhostNodes map
 boundary description for the particular BC More...
 
SPDistanceFunction mapDF
 
SPAbstractDataWithGhostNodes computationalDomain
 Computational domain which contains all boundaries and the particular boundary as well. More...
 
SPDistanceFunction computationalDomainDF
 
unique_ptr< TemplateVEmapTVE
 
unique_ptr< TemplateVEcDomainTVE
 

Detailed Description

Virtual class describes general interface for boundary conditions.

The class is aimed to deal with numerical with computational map. Namely it should be a DataWithGhestNodes object with values in each point which can be interpreted as a computation map. The inteprretation law is:

Definition at line 100 of file aslBCond.h.

Constructor & Destructor Documentation

◆ BCondWithMap() [1/5]

asl::BCondWithMap::BCondWithMap ( SPAbstractDataWithGhostNodes  m,
const VectorTemplate *const  vt 
)
protected
Parameters
mthe map
tthe corresponding template

◆ BCondWithMap() [2/5]

asl::BCondWithMap::BCondWithMap ( SPDistanceFunction  m,
const Block b,
const VectorTemplate *const  vt 
)
protected
Parameters
mthe map
tthe corresponding template

◆ BCondWithMap() [3/5]

asl::BCondWithMap::BCondWithMap ( SPAbstractDataWithGhostNodes  m,
SPAbstractDataWithGhostNodes  cd,
const VectorTemplate *const  vt 
)
protected
Parameters
mthe map for the particular boundary
cdthe map for the computational domain
tthe corresponding template

◆ BCondWithMap() [4/5]

asl::BCondWithMap::BCondWithMap ( SPAbstractDataWithGhostNodes  m,
SPDistanceFunction  cd,
const VectorTemplate *const  vt 
)
protected
Parameters
mthe map for the particular boundary
cdthe map for the computational domain
tthe corresponding template

◆ BCondWithMap() [5/5]

asl::BCondWithMap::BCondWithMap ( SPDistanceFunction  m,
SPDistanceFunction  cd,
const Block b,
const VectorTemplate *const  vt 
)
protected
Parameters
mthe map for the particular boundary
cdthe map for the computational domain
tthe corresponding template
bthe computation block

Member Function Documentation

◆ getVT()

const VectorTemplate * asl::BCondWithMap::getVT ( )
inline

Definition at line 346 of file aslBCond.h.

◆ initMapInfrastructure()

virtual void asl::BCondWithMap::initMapInfrastructure ( acl::ExpressionContainer ec)
protectedvirtual

initialize mapTVE and cDomainTVE

◆ isComputationNode() [1/3]

acl::VectorOfElements asl::BCondWithMap::isComputationNode ( unsigned int  i)
protected

returns expression corresponding to check if the node in i^th direction is computation one

Requires call of initMapInfrastructure

◆ isComputationNode() [2/3]

acl::VectorOfElements asl::BCondWithMap::isComputationNode ( const vector< unsigned int > &  ii)
protected

returns expression corresponding to check if nodes in directions ii are computation ones

Requires call of initMapInfrastructure

◆ isComputationNode() [3/3]

acl::VectorOfElements asl::BCondWithMap::isComputationNode ( )
protected

returns expression corresponding to check if the current node is computation one

◆ isGhostNode() [1/2]

acl::VectorOfElements asl::BCondWithMap::isGhostNode ( unsigned int  i)
protected

returns expression corresponding to check if the node in i^th direction is ghost one

Requires call of initMapInfrastructure

◆ isGhostNode() [2/2]

acl::VectorOfElements asl::BCondWithMap::isGhostNode ( )
protected

returns expression corresponding to check if the current node is ghost one

Member Data Documentation

◆ bl

Block asl::BCondWithMap::bl
protected

block

Definition at line 109 of file aslBCond.h.

◆ cDomainTVE

unique_ptr<TemplateVE> asl::BCondWithMap::cDomainTVE
protected

Definition at line 118 of file aslBCond.h.

◆ computationalDomain

SPAbstractDataWithGhostNodes asl::BCondWithMap::computationalDomain
protected

Computational domain which contains all boundaries and the particular boundary as well.

Definition at line 114 of file aslBCond.h.

◆ computationalDomainDF

SPDistanceFunction asl::BCondWithMap::computationalDomainDF
protected

Definition at line 115 of file aslBCond.h.

◆ currentPoint

acl::VectorOfElements asl::BCondWithMap::currentPoint
protected

Definition at line 105 of file aslBCond.h.

◆ map

SPAbstractDataWithGhostNodes asl::BCondWithMap::map
protected

boundary description for the particular BC

Definition at line 111 of file aslBCond.h.

◆ mapDF

SPDistanceFunction asl::BCondWithMap::mapDF
protected

Definition at line 112 of file aslBCond.h.

◆ mapTVE

unique_ptr<TemplateVE> asl::BCondWithMap::mapTVE
protected

Definition at line 117 of file aslBCond.h.

◆ pointsListFlag

bool asl::BCondWithMap::pointsListFlag
protected

flag whether the point list to be generated or not

Definition at line 104 of file aslBCond.h.

◆ templ

const VectorTemplate* const asl::BCondWithMap::templ
protected

Definition at line 106 of file aslBCond.h.


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