1.1.0
CCC
 
Skin Class Reference

#include <Skin.hpp>

Public Member Functions

 Skin (const ISkinFunctions *skf, DbGrid *dbgrid=nullptr)
 
 Skin (const Skin &r)
 
Skinoperator= (const Skin &r)
 
virtual ~Skin ()
 
int gridShift (int lec, int dir)
 
int init (bool verbose=false)
 
int remains (bool verbose=false)
 
void getNext (int *rank, int *ipos)
 
int unstack (int rank0, int ipos0)
 
void skinPrint ()
 

Constructor & Destructor Documentation

Skin::Skin ( const ISkinFunctions skf,
DbGrid dbgrid = nullptr 
)
Skin::Skin ( const Skin r)
Skin::~Skin ( )
virtual

Member Function Documentation

void Skin::getNext ( int *  rank,
int *  ipos 
)

Find the next cell at random within the skin

Parameters
[out]rankLocation of the cell in the skin
[out]iposCell location
int Skin::gridShift ( int  lec,
int  dir 
)

Returns the shifted node of a skin

Returns
The absolute sample address
Parameters
[in]lecAbsolute grid index of the input grid node
[in]dirRank of the direction
int Skin::init ( bool  verbose = false)

Initialize the skin

Returns
Error returned code
Parameters
[in]verboseVerbose flag
Skin & Skin::operator= ( const Skin r)
int Skin::remains ( bool  verbose = false)

Returns the number of cells still to be processed

Returns
Returns the number of cells still to be processed
void Skin::skinPrint ( )

Print the computing information concerning the skin algorithm

int Skin::unstack ( int  rank0,
int  ipos0 
)

Suppress the current cell from the skin

Returns
Error return code
Parameters
[in]rank0Rank of the current cell in the skin
[in]ipos0Cell location

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