ASL 0.1.7
Advanced Simulation Library
|
#include <aslBlocks.h>
Public Types | |
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 Block & | operator= (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 DV & | getSize () 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 |
Simple block with position
The Block describes the simulation grid and is defined by the position and by the size.
Definition at line 56 of file aslBlocks.h.
Discrete Vector.
Definition at line 59 of file aslBlocks.h.
Type of the position.
Definition at line 63 of file aslBlocks.h.
|
inline |
the size is taken 1, the position is taken to be 0
Definition at line 141 of file aslBlocks.h.
Definition at line 132 of file aslBlocks.h.
Definition at line 159 of file aslBlocks.h.
Definition at line 150 of file aslBlocks.h.
Definition at line 170 of file aslBlocks.h.
defines convertion rule of 1D/2D/3D index i
into container one
Definition at line 189 of file aslBlocks.h.
acl::VectorOfElements asl::Block::getACLPosition | ( | ) |
acl::VectorOfElements asl::Block::getACLPositionDiscrete | ( | ) |
returns position of the point diagonal to (0) one returns Body Diagonal (or space diagonal) that starts at (0)
Definition at line 214 of file aslBlocks.h.
Definition at line 208 of file aslBlocks.h.
acl::VectorOfElements asl::Block::initACLPosition | ( | ) |
acl::VectorOfElements asl::Block::initACLPositionDiscrete | ( | ) |
Definition at line 179 of file aslBlocks.h.
Definition at line 199 of file aslBlocks.h.
DV asl::Block::c2iTransformVector |
Definition at line 67 of file aslBlocks.h.
double asl::Block::dx |
Definition at line 66 of file aslBlocks.h.
V asl::Block::position |
Definition at line 65 of file aslBlocks.h.