chombo-discharge
Loading...
Searching...
No Matches
Public Attributes | List of all members
EBHelmholtzOp::DomainBndryBoxes Struct Reference

Cached domain-boundary boxes for a single grid patch. More...

#include <CD_EBHelmholtzOp.H>

Public Attributes

bool touchesDomain = false
 True if the patch abuts the domain boundary on any side, i.e. if any boundary-flux work is needed at all.
 
int hasLo [SpaceDim] = {D_DECL(0, 0, 0)}
 Per-direction flag: 1 if the patch abuts the lo domain face in that direction, 0 otherwise.
 
int hasHi [SpaceDim] = {D_DECL(0, 0, 0)}
 Per-direction flag: 1 if the patch abuts the hi domain face in that direction, 0 otherwise.
 
Box loBox [SpaceDim]
 Lo-side cell-centered box abutting the domain. Valid only when hasLo[dir] == 1.
 
Box hiBox [SpaceDim]
 Hi-side cell-centered box abutting the domain. Valid only when hasHi[dir] == 1.
 

Detailed Description

Cached domain-boundary boxes for a single grid patch.

Precomputed in EBHelmholtzOp::defineStencils so that applyDomainFlux and fillDomainFlux can avoid recomputing EBArith::loHi (and its associated timer/box-arithmetic overhead) on every V-cycle. The boxes depend only on the problem domain and the grid layout, both of which are fixed once the operator has been defined.


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