asl::BCondWithMap Class Reference
Numerics » Boundary Conditions

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

`#include <aslBCond.h>`

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

## Public Member Functions

const VectorTemplate * | getVT ()
const VectorTemplate * | getVT ()
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 ()
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)
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< TemplateVE > | mapTVE
unique_ptr< TemplateVE > | cDomainTVE

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

- computation region: \( map(\vec r) > 0 \)
- outside region: \( map(\vec r) \leq 0 \)

Definition at line 100 of file aslBCond.h.

## Constructor & Destructor Documentation

## BCondWithMap() [1/10]

asl::BCondWithMap::BCondWithMap | ( | SPAbstractDataWithGhostNodes | m,
|  | const VectorTemplate *const | vt
| ) |  |

protected

Parameters

  m | the map
  t | the corresponding template

## BCondWithMap() [2/10]

asl::BCondWithMap::BCondWithMap | ( | SPDistanceFunction | m,
|  | const Block & | b,
|  | const VectorTemplate *const | vt
| ) |  |

protected

Parameters

  m | the map
  t | the corresponding template

## BCondWithMap() [3/10]

asl::BCondWithMap::BCondWithMap | ( | SPAbstractDataWithGhostNodes | m,
|  | SPAbstractDataWithGhostNodes | cd,
|  | const VectorTemplate *const | vt
| ) |  |

protected

Parameters

  m | the map for the particular boundary
  cd | the map for the computational domain
  t | the corresponding template

## BCondWithMap() [4/10]

asl::BCondWithMap::BCondWithMap | ( | SPAbstractDataWithGhostNodes | m,
|  | SPDistanceFunction | cd,
|  | const VectorTemplate *const | vt
| ) |  |

protected

Parameters

  m | the map for the particular boundary
  cd | the map for the computational domain
  t | the corresponding template

## BCondWithMap() [5/10]

asl::BCondWithMap::BCondWithMap | ( | SPDistanceFunction | m,
|  | SPDistanceFunction | cd,
|  | const Block & | b,
|  | const VectorTemplate *const | vt
| ) |  |

protected

Parameters

  m | the map for the particular boundary
  cd | the map for the computational domain
  t | the corresponding template
  b | the computation block

## BCondWithMap() [6/10]

asl::BCondWithMap::BCondWithMap | ( | SPAbstractDataWithGhostNodes | m,
|  | const VectorTemplate *const | vt
| ) |  |

protected

Parameters

  m | the map
  t | the corresponding template

## BCondWithMap() [7/10]

asl::BCondWithMap::BCondWithMap | ( | SPDistanceFunction | m,
|  | const Block & | b,
|  | const VectorTemplate *const | vt
| ) |  |

protected

Parameters

  m | the map
  t | the corresponding template

## BCondWithMap() [8/10]

asl::BCondWithMap::BCondWithMap | ( | SPAbstractDataWithGhostNodes | m,
|  | SPAbstractDataWithGhostNodes | cd,
|  | const VectorTemplate *const | vt
| ) |  |

protected

Parameters

  m | the map for the particular boundary
  cd | the map for the computational domain
  t | the corresponding template

## BCondWithMap() [9/10]

asl::BCondWithMap::BCondWithMap | ( | SPAbstractDataWithGhostNodes | m,
|  | SPDistanceFunction | cd,
|  | const VectorTemplate *const | vt
| ) |  |

protected

Parameters

  m | the map for the particular boundary
  cd | the map for the computational domain
  t | the corresponding template

## BCondWithMap() [10/10]

asl::BCondWithMap::BCondWithMap | ( | SPDistanceFunction | m,
|  | SPDistanceFunction | cd,
|  | const Block & | b,
|  | const VectorTemplate *const | vt
| ) |  |

protected

Parameters

  m | the map for the particular boundary
  cd | the map for the computational domain
  t | the corresponding template
  b | the computation block

## Member Function Documentation

## getVT() [1/2]

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

inline

Definition at line 346 of file aslBCond.h.

## getVT() [2/2]

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

inline

## initMapInfrastructure() [1/2]

virtual void asl::BCondWithMap::initMapInfrastructure | ( | acl::ExpressionContainer & | ec | ) |

protected virtual

initialize mapTVE and cDomainTVE

## initMapInfrastructure() [2/2]

virtual void asl::BCondWithMap::initMapInfrastructure | ( | acl::ExpressionContainer & | ec | ) |

protected virtual

initialize mapTVE and cDomainTVE

## isComputationNode() [1/6]

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

protected

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

## isComputationNode() [2/6]

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

protected

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

## isComputationNode() [3/6]

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

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

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

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

## isGhostNode() [1/4]

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

protected

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

## isGhostNode() [2/4]

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

protected

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

## isGhostNode() [3/4]

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

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

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

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