COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Member Functions | Public Attributes | List of all members
BlockArrays::Implementation::Patch Struct Reference

Public Member Functions

 Patch (const Block &a_block, const Uint fixed_dir, const Uint idx, const Uint orientation)
 
Uint global_idx (Uint i) const
 Access to a global index, 1D version. More...
 
Uint global_idx (Uint i, Uint j) const
 Access to a global index, 2D version. More...
 

Public Attributes

const Blockblock
 
Uint nb_elems
 
std::vector< Uintsegments
 
Uint fixed_direction
 
Uint fixed_idx
 
Uint m_orientation
 

Detailed Description

Definition at line 228 of file BlockData.cpp.

Constructor & Destructor Documentation

Patch ( const Block a_block,
const Uint  fixed_dir,
const Uint  idx,
const Uint  orientation 
)
inline

Create a new patch

Parameters
a_blockThe block that is adjacent to the patch
fixed_dirTHe component of corrdinates in which all points of the patch lie
idxIndex of the patch layer in the adjacent block
orientationDirection of the patch normal

Definition at line 235 of file BlockData.cpp.

Member Function Documentation

Uint global_idx ( Uint  i) const
inline

Access to a global index, 1D version.

Definition at line 254 of file BlockData.cpp.

Uint global_idx ( Uint  i,
Uint  j 
) const
inline

Access to a global index, 2D version.

Definition at line 262 of file BlockData.cpp.

Member Data Documentation

const Block& block

Definition at line 281 of file BlockData.cpp.

Uint fixed_direction

Definition at line 284 of file BlockData.cpp.

Uint fixed_idx

Definition at line 285 of file BlockData.cpp.

Uint m_orientation

Definition at line 286 of file BlockData.cpp.

Uint nb_elems

Definition at line 282 of file BlockData.cpp.

std::vector<Uint> segments

Definition at line 283 of file BlockData.cpp.


The documentation for this struct was generated from the following file:
Send comments to:
COOLFluiD Web Admin