ASL 0.1.7
Advanced Simulation Library
Loading...
Searching...
No Matches
asl::Block Class Reference

#include <aslBlocks.h>

Collaboration diagram for asl::Block:

Public Types

typedef AVec< int > DV
 Discrete Vector.
typedef AVec V
 Type of the position.
typedef AVec< int > DV
 Discrete Vector.
typedef AVec V
 Type of the position.

Public Member Functions

 Block ()
 the size is taken 1, the position is taken to be 0
 Block (unsigned int nd)
 Block (const DV &s, double dx, const V &p)
 Block (const DV &s, double dx=1)
 Block (const Block &b)
const Blockoperator= (const Block &b)
int c2i (const Block::DV &c) const
 defines convertion rule of 1D/2D/3D index i into container one
void setSize (const DV &s)
const DVgetSize () const
const V getBPosition () const
acl::VectorOfElements initACLPositionDiscrete ()
acl::VectorOfElements initACLPosition ()
acl::VectorOfElements getACLPositionDiscrete ()
acl::VectorOfElements getACLPosition ()
 Block ()
 the size is taken 1, the position is taken to be 0
 Block (unsigned int nd)
 Block (const DV &s, double dx, const V &p)
 Block (const DV &s, double dx=1)
 Block (const Block &b)
const Blockoperator= (const Block &b)
int c2i (const Block::DV &c) const
 defines convertion rule of 1D/2D/3D index i into container one
void setSize (const DV &s)
const DVgetSize () const
const V getBPosition () const
acl::VectorOfElements initACLPositionDiscrete ()
acl::VectorOfElements initACLPosition ()
acl::VectorOfElements getACLPositionDiscrete ()
acl::VectorOfElements getACLPosition ()

Public Attributes

V position
double dx
DV c2iTransformVector

Detailed Description

Member Typedef Documentation

◆ DV [1/2]

typedef AVec<int> asl::Block::DV

Discrete Vector.

Examples
acousticWaves.cc, multicomponent_flow.cc, multiphase_flow.cc, and pitot_tube_ice.cc.

Definition at line 59 of file aslBlocks.h.

◆ DV [2/2]

typedef AVec<int> asl::Block::DV

Discrete Vector.

Definition at line 59 of file aslBlocks.h.

◆ V [1/2]

Type of the position.

Definition at line 63 of file aslBlocks.h.

◆ V [2/2]

Type of the position.

Definition at line 63 of file aslBlocks.h.

Constructor & Destructor Documentation

◆ Block() [1/10]

asl::Block::Block ( )
inline

the size is taken 1, the position is taken to be 0

Definition at line 141 of file aslBlocks.h.

◆ Block() [2/10]

asl::Block::Block ( unsigned int nd)
inlineexplicit

Definition at line 132 of file aslBlocks.h.

◆ Block() [3/10]

asl::Block::Block ( const DV & s,
double dx,
const V & p )
inline

Definition at line 159 of file aslBlocks.h.

◆ Block() [4/10]

asl::Block::Block ( const DV & s,
double dx = 1 )
inlineexplicit

Definition at line 150 of file aslBlocks.h.

◆ Block() [5/10]

asl::Block::Block ( const Block & b)
inline

Definition at line 170 of file aslBlocks.h.

◆ Block() [6/10]

asl::Block::Block ( )
inline

the size is taken 1, the position is taken to be 0

◆ Block() [7/10]

asl::Block::Block ( unsigned int nd)
inlineexplicit

◆ Block() [8/10]

asl::Block::Block ( const DV & s,
double dx,
const V & p )
inline

◆ Block() [9/10]

asl::Block::Block ( const DV & s,
double dx = 1 )
inlineexplicit

◆ Block() [10/10]

asl::Block::Block ( const Block & b)
inline

Member Function Documentation

◆ c2i() [1/2]

int asl::Block::c2i ( const Block::DV & c) const
inline

defines convertion rule of 1D/2D/3D index i into container one

Definition at line 189 of file aslBlocks.h.

◆ c2i() [2/2]

int asl::Block::c2i ( const Block::DV & c) const

defines convertion rule of 1D/2D/3D index i into container one

◆ getACLPosition() [1/2]

acl::VectorOfElements asl::Block::getACLPosition ( )

◆ getACLPosition() [2/2]

acl::VectorOfElements asl::Block::getACLPosition ( )

◆ getACLPositionDiscrete() [1/2]

acl::VectorOfElements asl::Block::getACLPositionDiscrete ( )

◆ getACLPositionDiscrete() [2/2]

acl::VectorOfElements asl::Block::getACLPositionDiscrete ( )

◆ getBPosition() [1/2]

const Block::V asl::Block::getBPosition ( ) const
inline

returns position of the point diagonal to (0) one returns Body Diagonal (or space diagonal) that starts at (0)

Examples
compressor.cc, locomotive.cc, and locomotive_laminar.cc.

Definition at line 214 of file aslBlocks.h.

◆ getBPosition() [2/2]

const V asl::Block::getBPosition ( ) const
inline

returns position of the point diagonal to (0) one returns Body Diagonal (or space diagonal) that starts at (0)

◆ getSize() [1/2]

const Block::DV & asl::Block::getSize ( ) const
inline
Examples
flow3.cc, flowKDPGrowth.cc, locomotive_laminar.cc, and testABDFormat.cc.

Definition at line 208 of file aslBlocks.h.

◆ getSize() [2/2]

const DV & asl::Block::getSize ( ) const
inline

◆ initACLPosition() [1/2]

acl::VectorOfElements asl::Block::initACLPosition ( )

◆ initACLPosition() [2/2]

acl::VectorOfElements asl::Block::initACLPosition ( )

◆ initACLPositionDiscrete() [1/2]

acl::VectorOfElements asl::Block::initACLPositionDiscrete ( )

◆ initACLPositionDiscrete() [2/2]

acl::VectorOfElements asl::Block::initACLPositionDiscrete ( )

◆ operator=() [1/2]

const Block & asl::Block::operator= ( const Block & b)
inline

Definition at line 179 of file aslBlocks.h.

◆ operator=() [2/2]

const Block & asl::Block::operator= ( const Block & b)
inline

◆ setSize() [1/2]

void asl::Block::setSize ( const DV & s)
inline

Definition at line 199 of file aslBlocks.h.

◆ setSize() [2/2]

void asl::Block::setSize ( const DV & s)
inline

Member Data Documentation

◆ c2iTransformVector

DV asl::Block::c2iTransformVector

Definition at line 67 of file aslBlocks.h.

◆ dx

◆ position

V asl::Block::position
Examples
compressor.cc, locomotive.cc, locomotive_laminar.cc, and testABDFormat.cc.

Definition at line 65 of file aslBlocks.h.


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