PlasCom2  1.0
XPACC Multi-physics simluation application
stencilset Struct Reference

Encapsulation for a collection of operator stencils. More...

Detailed Description

Encapsulation for a collection of operator stencils.

StencilSet.png
plascom2::operators::stencilset data structure

The stencilset encapsulates the data structures required to implement operator stencils (e.g. for finite difference) and communicate the stencils to Fortran kernels.

Definition at line 26 of file Stencil.H.

#include <Stencil.H>

Public Member Functions

 stencilset ()
 Constructor. More...
 
void Copy (const stencilset &inStencilSet)
 Copy a stencil. More...
 
void Destroy ()
 Destroy utility destroys the stencil set memory. More...
 
 ~stencilset ()
 Destructor. More...
 

Public Attributes

int numStencils
 The number of stencils (e.g. interior + boundary) More...
 
int numValues
 The total number of weights for all stencils (reqd for Fortran) More...
 
bool ownData
 Indicates whether this data structure owns the stencil memory. More...
 
int * stencilSizes
 The number of weights for each stencil. More...
 
int * stencilStarts
 The starting index into the stencilWeight and stencilOffset arrays for each stencil. More...
 
int * stencilOffsets
 The offsets wrt the grid point at which the stencil is being applied. More...
 
double * stencilWeights
 The stencil weights. More...
 
int * stencilOrders
 Boundary weight needed by BC's. More...
 
double boundaryWeight
 The order of accuracy for each stencil. More...
 
int boundaryDepth
 Boundary depth is the number of biased boundary stencils for one boundary. More...
 
int boundaryWidth
 Boundary width is the size of the on-boundary stencil. More...
 
int overallOrder
 The overall order of the scheme this stencil implements. More...
 

Constructor & Destructor Documentation

◆ stencilset()

stencilset ( )
inline

Constructor.

Definition at line 28 of file Stencil.H.

◆ ~stencilset()

~stencilset ( )
inline

Destructor.

Definition at line 93 of file Stencil.H.

References stencilset::Destroy(), and stencilset::numStencils.

Here is the call graph for this function:

Member Function Documentation

◆ Copy()

◆ Destroy()

Member Data Documentation

◆ boundaryDepth

◆ boundaryWeight

double boundaryWeight

The order of accuracy for each stencil.

Definition at line 112 of file Stencil.H.

Referenced by stencilset::Copy(), stencilset::Destroy(), plascom2::operators::dissipation::Initialize(), and plascom2::operators::sbp::OperatorSetup().

◆ boundaryWidth

◆ numStencils

◆ numValues

◆ overallOrder

int overallOrder

The overall order of the scheme this stencil implements.

Definition at line 118 of file Stencil.H.

Referenced by stencilset::Copy(), stencilset::Destroy(), and plascom2::operators::sbp::OperatorSetup().

◆ ownData

bool ownData

Indicates whether this data structure owns the stencil memory.

Definition at line 100 of file Stencil.H.

Referenced by CoeffsWENO::CoeffsWENO(), stencilset::Copy(), stencilset::Destroy(), plascom2::operators::dissipation::Initialize(), and plascom2::operators::sbp::OperatorSetup().

◆ stencilOffsets

◆ stencilOrders

int* stencilOrders

Boundary weight needed by BC's.

Definition at line 110 of file Stencil.H.

Referenced by plascom2::operators::sbp::BruteTest1(), stencilset::Copy(), stencilset::Destroy(), and plascom2::operators::sbp::OperatorSetup().

◆ stencilSizes

◆ stencilStarts

◆ stencilWeights


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