Chombo + EB  3.2
Macros | Functions
EdgeToCell.H File Reference
#include "LevelData.H"
#include "FArrayBox.H"
#include "FluxBox.H"
#include "NamespaceHeader.H"
#include "NamespaceFooter.H"
Include dependency graph for EdgeToCell.H:

Go to the source code of this file.

Macros

#define _EDGETOCELL_H_
 

Functions

void EdgeToCell (const LevelData< FluxBox > &a_edgeData, LevelData< FArrayBox > &a_cellData)
 averages cell-centered cellData to edge-centered edgeData More...
 
void EdgeToCell (const FluxBox &a_edgeData, FArrayBox &a_cellData)
 averages cellData->edgeData (all directions) for one FAB More...
 
void EdgeToCell (const FluxBox &a_edgeData, const int a_edgeComp, FArrayBox &a_cellData, const int a_cellComp, const int a_dir)
 averages cellData->edgeData in 1 direction, for one component in a FAB More...
 
void EdgeToCell (const FluxBox &a_edgeData, const int a_edgeComp, FArrayBox &a_cellData, const int a_cellComp, const Box &a_cellBox, const int a_dir)
 averages cellData->edgeData in 1 direction, for one component in a FAB, on a given cell box More...
 
void EdgeToCellMax (const LevelData< FluxBox > &a_edgeData, LevelData< FArrayBox > &a_cellData)
 cell-centered cellData from edge-centered edgeData using max More...
 
void EdgeToCellMax (const FluxBox &a_edgeData, FArrayBox &a_cellData)
 edgeData->cellData using max (all directions) for one FAB More...
 
void EdgeToCellMax (const FluxBox &a_edgeData, const int a_edgeComp, FArrayBox &a_cellData, const int a_cellComp, const int a_dir)
 fills cellData using edgeData in 1 direction using max, for one component in a FAB More...
 
void EdgeToCellMax (const FluxBox &a_edgeData, const int a_edgeComp, FArrayBox &a_cellData, const int a_cellComp, const Box &a_cellBox, const int a_dir)
 fills cellData->edgeData in 1 direction, for one component in a FAB, on a given cell box using max More...
 

Macro Definition Documentation

◆ _EDGETOCELL_H_

#define _EDGETOCELL_H_

Function Documentation

◆ EdgeToCell() [1/4]

void EdgeToCell ( const LevelData< FluxBox > &  a_edgeData,
LevelData< FArrayBox > &  a_cellData 
)

averages cell-centered cellData to edge-centered edgeData

◆ EdgeToCell() [2/4]

void EdgeToCell ( const FluxBox a_edgeData,
FArrayBox a_cellData 
)

averages cellData->edgeData (all directions) for one FAB

averages cell-centered cellData to SpaceDim-dimensioned EdgeData – assumes all boundary conditions already set. Does this for all grids.

◆ EdgeToCell() [3/4]

void EdgeToCell ( const FluxBox a_edgeData,
const int  a_edgeComp,
FArrayBox a_cellData,
const int  a_cellComp,
const int  a_dir 
)

averages cellData->edgeData in 1 direction, for one component in a FAB

◆ EdgeToCell() [4/4]

void EdgeToCell ( const FluxBox a_edgeData,
const int  a_edgeComp,
FArrayBox a_cellData,
const int  a_cellComp,
const Box a_cellBox,
const int  a_dir 
)

averages cellData->edgeData in 1 direction, for one component in a FAB, on a given cell box

◆ EdgeToCellMax() [1/4]

void EdgeToCellMax ( const LevelData< FluxBox > &  a_edgeData,
LevelData< FArrayBox > &  a_cellData 
)

cell-centered cellData from edge-centered edgeData using max

instead of averaging faces to cells, this function puts the max of the two opposing face-centered values into each cell.

◆ EdgeToCellMax() [2/4]

void EdgeToCellMax ( const FluxBox a_edgeData,
FArrayBox a_cellData 
)

edgeData->cellData using max (all directions) for one FAB

fills cell-centered cellData from EdgeData using max – assumes all boundary conditions already set. Does this for all grids.

◆ EdgeToCellMax() [3/4]

void EdgeToCellMax ( const FluxBox a_edgeData,
const int  a_edgeComp,
FArrayBox a_cellData,
const int  a_cellComp,
const int  a_dir 
)

fills cellData using edgeData in 1 direction using max, for one component in a FAB

◆ EdgeToCellMax() [4/4]

void EdgeToCellMax ( const FluxBox a_edgeData,
const int  a_edgeComp,
FArrayBox a_cellData,
const int  a_cellComp,
const Box a_cellBox,
const int  a_dir 
)

fills cellData->edgeData in 1 direction, for one component in a FAB, on a given cell box using max