1.4.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 () const
 

Constructor & Destructor Documentation

◆ Skin() [1/2]

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

◆ Skin() [2/2]

Skin::Skin ( const Skin r)

◆ ~Skin()

Skin::~Skin ( )
virtual

Member Function Documentation

◆ getNext()

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

◆ gridShift()

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

◆ init()

int Skin::init ( bool  verbose = false)

Initialize the skin

Returns
Error returned code
Parameters
[in]verboseVerbose flag

◆ operator=()

Skin & Skin::operator= ( const Skin r)

◆ remains()

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

◆ skinPrint()

void Skin::skinPrint ( ) const

Print the computing information concerning the skin algorithm

◆ unstack()

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: