Grid 0.7.0
PaddedCell Class Reference

#include <PaddedCell.h>

Public Member Functions

 ~PaddedCell ()
 PaddedCell (int _depth, GridCartesian *_grid)
void DeleteGrids (void)
void AllocateGrids (void)
template<class vobj>
Lattice< vobj > Extract (const Lattice< vobj > &in) const
template<class vobj>
Lattice< vobj > Exchange (const Lattice< vobj > &in, const CshiftImplBase< vobj > &cshift=CshiftImplDefault< vobj >()) const
template<class vobj>
Lattice< vobj > ExchangePeriodic (const Lattice< vobj > &in) const
template<class vobj>
Lattice< vobj > Expand (int dim, const Lattice< vobj > &in, const CshiftImplBase< vobj > &cshift=CshiftImplDefault< vobj >()) const
template<class vobj>
Lattice< vobj > ExpandPeriodic (int dim, const Lattice< vobj > &in) const
template<class vobj>
void Face_exchange (const Lattice< vobj > &from, Lattice< vobj > &to, int dimension, int depth) const

Data Fields

GridCartesianunpadded_grid
int dims
int depth
std::vector< GridCartesian * > grids

Detailed Description

Definition at line 230 of file PaddedCell.h.

Constructor & Destructor Documentation

◆ ~PaddedCell()

PaddedCell::~PaddedCell ( )
inline

Definition at line 237 of file PaddedCell.h.

References DeleteGrids().

◆ PaddedCell()

PaddedCell::PaddedCell ( int _depth,
GridCartesian * _grid )
inline

Definition at line 241 of file PaddedCell.h.

References AllocateGrids(), depth, dims, local, GridBase::Nd(), and unpadded_grid.

Member Function Documentation

◆ DeleteGrids()

void PaddedCell::DeleteGrids ( void )
inline

Definition at line 253 of file PaddedCell.h.

References grids, and unpadded_grid.

Referenced by ~PaddedCell().

◆ AllocateGrids()

void PaddedCell::AllocateGrids ( void )
inline

Definition at line 263 of file PaddedCell.h.

References depth, dims, grids, local, plocal, and unpadded_grid.

Referenced by PaddedCell().

◆ Extract()

◆ Exchange()

template<class vobj>
Lattice< vobj > PaddedCell::Exchange ( const Lattice< vobj > & in,
const CshiftImplBase< vobj > & cshift = CshiftImplDefault<vobj>() ) const
inline

◆ ExchangePeriodic()

template<class vobj>
Lattice< vobj > PaddedCell::ExchangePeriodic ( const Lattice< vobj > & in) const
inline

Definition at line 315 of file PaddedCell.h.

References dims, ExpandPeriodic(), Lattice< vobj >::Grid(), and GridBase::Nd().

◆ Expand()

template<class vobj>
Lattice< vobj > PaddedCell::Expand ( int dim,
const Lattice< vobj > & in,
const CshiftImplBase< vobj > & cshift = CshiftImplDefault<vobj>() ) const
inline

◆ ExpandPeriodic()

template<class vobj>
Lattice< vobj > PaddedCell::ExpandPeriodic ( int dim,
const Lattice< vobj > & in ) const
inline

◆ Face_exchange()

Field Documentation

◆ unpadded_grid

GridCartesian* PaddedCell::unpadded_grid

Definition at line 232 of file PaddedCell.h.

Referenced by AllocateGrids(), DeleteGrids(), Expand(), ExpandPeriodic(), Extract(), and PaddedCell().

◆ dims

int PaddedCell::dims

Definition at line 233 of file PaddedCell.h.

Referenced by AllocateGrids(), Exchange(), ExchangePeriodic(), Extract(), and PaddedCell().

◆ depth

◆ grids


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