#include "LevelData.H"
#include "NodeFArrayBox.H"
#include "Vector.H"
#include "IntVectSet.H"
#include "NamespaceHeader.H"
#include "NamespaceFooter.H"
Go to the source code of this file.
Functions | |
Real | norm (const NodeFArrayBox &a_nfab, const Real a_dx, const Box &a_subbox, const int a_p, const int a_startComp=0, const int a_numComp=1) |
Computes L^p norm of a subbox of a NodeFArrayBox. | |
Real | maxnorm (const NodeFArrayBox &a_nfab, const Box &a_subbox, const int a_startComp=0, const int a_numComp=1) |
Computes max norm of a subbox of a NodeFArrayBox. | |
Real | norm (const BoxLayoutData< NodeFArrayBox > &a_layout, const Real a_dx, const int a_p, const Interval &a_interval, bool a_verbose=false) |
Computes L^p norm of a BoxLayoutData<NodeFArrayBox>. | |
Real | norm (const BoxLayoutData< NodeFArrayBox > &a_layout, const LevelData< NodeFArrayBox > &a_mask, const ProblemDomain &a_domain, const Real a_dx, const int a_p, const Interval &a_interval, bool a_verbose=false) |
Computes L^p norm of a BoxLayoutData<NodeFArrayBox>. | |
Real | maxnorm (const BoxLayoutData< NodeFArrayBox > &a_layout, const LevelData< NodeFArrayBox > &a_mask, const ProblemDomain &a_domain, const Interval &a_interval, bool a_verbose=false) |
Computes max norm of a BoxLayoutData<NodeFArrayBox>. | |
Real | maxnorm (const BoxLayoutData< NodeFArrayBox > &a_layout, const Interval &a_interval, bool a_verbose=false) |
Computes max norm of a BoxLayoutData<NodeFArrayBox>. | |
Real | norm (const Vector< LevelData< NodeFArrayBox > * > &a_phi, const Vector< ProblemDomain > &a_domain, const Vector< int > &a_nRefFine, const Real a_dxCrse, const Interval &a_comps, const int a_p, const int a_lBase, bool a_verbose=false) |
Computes norm of multilevel array, counting only valid nodes at each level. | |
Real | norm (const Vector< LevelData< NodeFArrayBox > * > &a_phi, const Vector< ProblemDomain > &a_domain, const Vector< LayoutData< Vector< Box > > * > &a_IVSVext, const Vector< LayoutData< Vector< Box > > * > &a_IVSVintFinerCoarsened, const Vector< DisjointBoxLayout > &a_layoutsFinerCoarsened, const Vector< int > &a_nRefFine, const Real a_dxCrse, const Interval &a_comps, const int a_p, const int a_lBase, bool a_verbose=false) |
Computes norm of multilevel array, counting only valid nodes at each level. | |
Real | norm (const Vector< LevelData< NodeFArrayBox > * > &a_phi, const Vector< ProblemDomain > &a_domain, const Vector< LayoutData< Vector< IntVectSet > > * > &a_IVSVext, const Vector< LayoutData< Vector< IntVectSet > > * > &a_IVSVintFinerCoarsened, const Vector< DisjointBoxLayout > &a_layoutsFinerCoarsened, const Vector< int > &a_nRefFine, const Real a_dxCrse, const Interval &a_comps, const int a_p, const int a_lBase, bool a_verbose=false) |
Computes norm of multilevel array, counting only valid nodes at each level. | |
Real | norm (const Vector< LevelData< NodeFArrayBox > * > &a_phi, const Vector< LevelData< NodeFArrayBox > * > &a_mask, const Vector< ProblemDomain > &a_vectPD, const Vector< int > &a_nRefFine, const Real a_dxCrse, const Interval &a_comps, const int a_p, const int a_lBase, bool a_verbose=false) |
Computes norm of multilevel array, counting only valid nodes at each level. | |
Real | norm (const Vector< LevelData< NodeFArrayBox > * > &a_phi, const Vector< Box > &a_domain, const Vector< int > &a_nRefFine, const Real a_dxCrse, const Interval &a_comps, const int a_p, const int a_lBase, bool a_verbose=false) |
Computes norm of multilevel array, counting only valid nodes at each level. | |
Real | norm (const LevelData< NodeFArrayBox > &a_phi, const ProblemDomain &a_domain, const DisjointBoxLayout *a_finerGridsPtr, const int a_nRefFine, const Real a_dx, const Interval &a_comps, const int a_p, bool a_verbose=false) |
Computes norm of single-level array, counting only valid nodes. | |
Real | norm (const LevelData< NodeFArrayBox > &a_phi, const Box &a_domain, const DisjointBoxLayout *a_finerGridsPtr, const int a_nRefFine, const Real a_dx, const Interval &a_comps, const int a_p, bool a_verbose=false) |
Computes norm of single-level array, counting only valid nodes. | |
Real | norm (const LevelData< NodeFArrayBox > &a_phi, const ProblemDomain &a_domain, const DisjointBoxLayout &a_finerGridsCoarsened, const LayoutData< Vector< IntVectSet > > &a_IVSVext, const LayoutData< Vector< IntVectSet > > &a_IVSVintFinerCoarsened, const int a_nRefFine, const Real a_dx, const Interval &a_comps, const int a_p, bool a_verbose=false) |
Computes norm of single-level array, counting only valid nodes. | |
Real | norm (const LevelData< NodeFArrayBox > &a_phi, const ProblemDomain &a_domain, const DisjointBoxLayout &a_finerGridsCoarsened, const LayoutData< Vector< Box > > &a_IVSVext, const LayoutData< Vector< Box > > &a_IVSVintFinerCoarsened, const int a_nRefFine, const Real a_dx, const Interval &a_comps, const int a_p, bool a_verbose=false) |
Computes norm of single-level array, counting only valid nodes. | |
Real | norm (const LevelData< NodeFArrayBox > &a_phi, const Box &a_domain, const DisjointBoxLayout &a_finerGridsCoarsened, const LayoutData< Vector< IntVectSet > > &a_IVSVext, const LayoutData< Vector< IntVectSet > > &a_IVSVintFinerCoarsened, const int a_nRefFine, const Real a_dx, const Interval &a_comps, const int a_p, bool a_verbose=false) |
Computes norm of single-level array, counting only valid nodes. | |
Real | norm (const LevelData< NodeFArrayBox > &a_phi, const Box &a_domain, const DisjointBoxLayout &a_finerGridsCoarsened, const LayoutData< Vector< Box > > &a_IVSVext, const LayoutData< Vector< Box > > &a_IVSVintFinerCoarsened, const int a_nRefFine, const Real a_dx, const Interval &a_comps, const int a_p, bool a_verbose=false) |
Computes norm of single-level array, counting only valid nodes. | |
Real | norm (const LevelData< NodeFArrayBox > &a_phi, const ProblemDomain &a_domain, const LayoutData< Vector< IntVectSet > > &a_IVSVext, const Real a_dx, const Interval &a_comps, const int a_p, bool a_verbose=false) |
Computes norm of single-level array, counting only valid nodes, with no finer level. | |
Real | norm (const LevelData< NodeFArrayBox > &a_phi, const ProblemDomain &a_domain, const LayoutData< Vector< Box > > &a_IVSVext, const Real a_dx, const Interval &a_comps, const int a_p, bool a_verbose=false) |
Computes norm of single-level array, counting only valid nodes, with no finer level. | |
Real | maxnorm (const Vector< LevelData< NodeFArrayBox > * > &a_phi, const Vector< ProblemDomain > &a_domain, const Vector< int > &a_nRefFine, const Interval &a_comps, const int a_lBase, bool a_verbose=false) |
Computes max norm of multilevel array, counting only valid nodes at each level. | |
Real | maxnorm (const Vector< LevelData< NodeFArrayBox > * > &a_phi, const Vector< Box > &a_domain, const Vector< int > &a_nRefFine, const Interval &a_comps, const int a_lBase, bool a_verbose=false) |
Computes max norm of multilevel array, counting only valid nodes at each level. | |
Real | maxnorm (const LevelData< NodeFArrayBox > &a_phi, const ProblemDomain &a_domain, const DisjointBoxLayout *a_finerGridsPtr, const int a_nRefFine, const Interval &a_comps, bool a_verbose=false) |
Computes max norm of single-level array, counting only valid nodes. | |
Real | maxnorm (const LevelData< NodeFArrayBox > &a_phi, const Box &a_domain, const DisjointBoxLayout *a_finerGridsPtr, const int a_nRefFine, const Interval &a_comps, bool a_verbose=false) |
Computes max norm of single-level array, counting only valid nodes. | |
Real | maxnorm (const LevelData< NodeFArrayBox > &a_phi, const ProblemDomain &a_domain, const DisjointBoxLayout &a_finerGridsCoarsened, const LayoutData< Vector< IntVectSet > > &a_IVSVext, const LayoutData< Vector< IntVectSet > > &a_IVSVintFinerCoarsened, const int a_nRefFine, const Interval &a_comps, bool a_verbose=false) |
Computes max norm of single-level array, counting only valid nodes. | |
Real | maxnorm (const LevelData< NodeFArrayBox > &a_phi, const ProblemDomain &a_domain, const DisjointBoxLayout &a_finerGridsCoarsened, const LayoutData< Vector< Box > > &a_IVSVext, const LayoutData< Vector< Box > > &a_IVSVintFinerCoarsened, const int a_nRefFine, const Interval &a_comps, bool a_verbose=false) |
Computes max norm of single-level array, counting only valid nodes. | |
Real | maxnorm (const LevelData< NodeFArrayBox > &a_phi, const Box &a_domain, const DisjointBoxLayout &a_finerGridsCoarsened, const LayoutData< Vector< IntVectSet > > &a_IVSVext, const LayoutData< Vector< IntVectSet > > &a_IVSVintFinerCoarsened, const int a_nRefFine, const Interval &a_comps, bool a_verbose=false) |
Computes max norm of single-level array, counting only valid nodes. | |
Real | maxnorm (const LevelData< NodeFArrayBox > &a_phi, const Box &a_domain, const DisjointBoxLayout &a_finerGridsCoarsened, const LayoutData< Vector< Box > > &a_IVSVext, const LayoutData< Vector< Box > > &a_IVSVintFinerCoarsened, const int a_nRefFine, const Interval &a_comps, bool a_verbose=false) |
Computes max norm of single-level array, counting only valid nodes. | |
Real | maxnorm (const LevelData< NodeFArrayBox > &a_phi, const ProblemDomain &a_domain, const LayoutData< Vector< IntVectSet > > &a_IVSVext, const Interval &a_comps, bool a_verbose=false) |
Computes max norm of single-level array, counting only valid nodes, with no finer level. | |
Real | maxnorm (const LevelData< NodeFArrayBox > &a_phi, const Box &a_domain, const LayoutData< Vector< Box > > &a_IVSVext, const Interval &a_comps, bool a_verbose=false) |
Computes max norm of single-level array, counting only valid nodes, with no finer level. |
Real norm | ( | const NodeFArrayBox & | a_nfab, | |
const Real | a_dx, | |||
const Box & | a_subbox, | |||
const int | a_p, | |||
const int | a_startComp = 0 , |
|||
const int | a_numComp = 1 | |||
) |
Computes L^p norm of a subbox of a NodeFArrayBox.
Computes L^p norm of the data in a subbox of a_nfab.
a_nfab | the data on which to take the norm |
a_dx | mesh spacing at this level |
a_subbox | CELL-centered subbox over which to take norm |
a_p | norm to take, or 0 for max norm |
a_startComp | starting component |
a_numComp | number of components |
Real maxnorm | ( | const NodeFArrayBox & | a_nfab, | |
const Box & | a_subbox, | |||
const int | a_startComp = 0 , |
|||
const int | a_numComp = 1 | |||
) |
Computes max norm of a subbox of a NodeFArrayBox.
Computes max norm of the data in a subbox of a_nfab.
a_nfab | the data on which to take the norm |
a_subbox | CELL-centered subbox over which to take norm |
a_startComp | starting component |
a_numComp | number of components |
Real norm | ( | const BoxLayoutData< NodeFArrayBox > & | a_layout, | |
const Real | a_dx, | |||
const int | a_p, | |||
const Interval & | a_interval, | |||
bool | a_verbose = false | |||
) |
Computes L^p norm of a BoxLayoutData<NodeFArrayBox>.
Computes L^p norm of a_layout. Ignores ghost cells for LevelData.
This is an internal function that should NOT normally be called by the user.
a_layout | the data on which to take the norm |
a_dx | mesh spacing at this level |
a_p | norm to take, or 0 for max norm |
a_interval | interval of components to use |
a_verbose | verbosity, whether to print norms of each box |
Real norm | ( | const BoxLayoutData< NodeFArrayBox > & | a_layout, | |
const LevelData< NodeFArrayBox > & | a_mask, | |||
const ProblemDomain & | a_domain, | |||
const Real | a_dx, | |||
const int | a_p, | |||
const Interval & | a_interval, | |||
bool | a_verbose = false | |||
) |
Computes L^p norm of a BoxLayoutData<NodeFArrayBox>.
Computes L^p norm of a_layout. Ignores ghost cells for LevelData.
This function uses the masks.
a_layout | the data on which to take the norm |
a_mask | mask for the data |
a_domain | domain of this level |
a_dx | mesh spacing at this level |
a_p | norm to take, or 0 for max norm |
a_interval | interval of components to use |
a_verbose | verbosity, whether to print norms of each box |
Real maxnorm | ( | const BoxLayoutData< NodeFArrayBox > & | a_layout, | |
const LevelData< NodeFArrayBox > & | a_mask, | |||
const ProblemDomain & | a_domain, | |||
const Interval & | a_interval, | |||
bool | a_verbose = false | |||
) |
Computes max norm of a BoxLayoutData<NodeFArrayBox>.
Computes max norm of a_layout. Ignores ghost cells for LevelData.
This function uses the masks.
a_layout | the data on which to take the norm |
a_mask | mask for the data |
a_domain | domain of the data |
a_interval | interval of components to use |
a_verbose | verbosity, whether to print norms of each box |
Real maxnorm | ( | const BoxLayoutData< NodeFArrayBox > & | a_layout, | |
const Interval & | a_interval, | |||
bool | a_verbose = false | |||
) |
Computes max norm of a BoxLayoutData<NodeFArrayBox>.
Computes max norm of a_layout. Ignores ghost cells for LevelData.
This is an internal function that should NOT normally be called by the user.
a_layout | the data on which to take the norm |
a_interval | components to use in computing norm |
a_verbose | verbosity, whether to print norms of each box |
Real norm | ( | const Vector< LevelData< NodeFArrayBox > * > & | a_phi, | |
const Vector< ProblemDomain > & | a_domain, | |||
const Vector< int > & | a_nRefFine, | |||
const Real | a_dxCrse, | |||
const Interval & | a_comps, | |||
const int | a_p, | |||
const int | a_lBase, | |||
bool | a_verbose = false | |||
) |
Computes norm of multilevel array, counting only valid nodes at each level.
Computes norm of multilevel array a_phi. Only the valid nodes at each level are counted. The valid nodes at a level are those that are not covered by the interior of any finer level.
a_phi | multilevel data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_nRefFine | refinement ratios between successive levels |
a_dxCrse | mesh spacing at base level a_lBase |
a_comps | components to use in computing norm |
a_p | norm to take, or 0 for max norm |
a_lBase | index of base level to use in Vectors |
a_verbose | verbosity, whether to print norms of each box |
Real norm | ( | const Vector< LevelData< NodeFArrayBox > * > & | a_phi, | |
const Vector< ProblemDomain > & | a_domain, | |||
const Vector< LayoutData< Vector< Box > > * > & | a_IVSVext, | |||
const Vector< LayoutData< Vector< Box > > * > & | a_IVSVintFinerCoarsened, | |||
const Vector< DisjointBoxLayout > & | a_layoutsFinerCoarsened, | |||
const Vector< int > & | a_nRefFine, | |||
const Real | a_dxCrse, | |||
const Interval & | a_comps, | |||
const int | a_p, | |||
const int | a_lBase, | |||
bool | a_verbose = false | |||
) |
Computes norm of multilevel array, counting only valid nodes at each level.
Computes norm of multilevel array a_phi. Only the valid nodes at each level are counted. The valid nodes at a level are those that are not covered by the interior of any finer level.
a_IVSVext and a_IVSVintFinerCoarsened can be found by: exteriorAndInteriorNodes(a_IVSVext, a_IVSVintFinerCoarsened, layouts, a_domain, a_nRefFine); where layouts is Vector<DisjointBoxLayout> on which the data in a_phi live.
a_phi | multilevel data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_IVSVext | exterior boundary nodes at all level |
a_IVSVintFinerCoarsened | interior boundary nodes of coarsened finer-level grids at all levels except finest |
a_layoutsFinerCoarsened | coarsened finer-level grids at all levels except finest |
a_nRefFine | refinement ratios between successive levels |
a_dxCrse | mesh spacing at base level a_lBase |
a_comps | components to use in computing norm |
a_p | norm to take, or 0 for max norm |
a_lBase | index of base level to use in Vectors |
a_verbose | verbosity, whether to print norms of each box |
Real norm | ( | const Vector< LevelData< NodeFArrayBox > * > & | a_phi, | |
const Vector< ProblemDomain > & | a_domain, | |||
const Vector< LayoutData< Vector< IntVectSet > > * > & | a_IVSVext, | |||
const Vector< LayoutData< Vector< IntVectSet > > * > & | a_IVSVintFinerCoarsened, | |||
const Vector< DisjointBoxLayout > & | a_layoutsFinerCoarsened, | |||
const Vector< int > & | a_nRefFine, | |||
const Real | a_dxCrse, | |||
const Interval & | a_comps, | |||
const int | a_p, | |||
const int | a_lBase, | |||
bool | a_verbose = false | |||
) |
Computes norm of multilevel array, counting only valid nodes at each level.
Computes norm of multilevel array a_phi. Only the valid nodes at each level are counted. The valid nodes at a level are those that are not covered by the interior of any finer level.
a_IVSVext and a_IVSVintFinerCoarsened can be found by: exteriorAndInteriorNodes(a_IVSVext, a_IVSVintFinerCoarsened, layouts, a_domain, a_nRefFine); where layouts is Vector<DisjointBoxLayout> on which the data in a_phi live.
a_phi | multilevel data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_IVSVext | exterior boundary nodes at all level |
a_IVSVintFinerCoarsened | interior boundary nodes of coarsened finer-level grids at all levels except finest |
a_layoutsFinerCoarsened | coarsened finer-level grids at all levels except finest |
a_nRefFine | refinement ratios between successive levels |
a_dxCrse | mesh spacing at base level a_lBase |
a_comps | components to use in computing norm |
a_p | norm to take, or 0 for max norm |
a_lBase | index of base level to use in Vectors |
a_verbose | verbosity, whether to print norms of each box |
Real norm | ( | const Vector< LevelData< NodeFArrayBox > * > & | a_phi, | |
const Vector< LevelData< NodeFArrayBox > * > & | a_mask, | |||
const Vector< ProblemDomain > & | a_vectPD, | |||
const Vector< int > & | a_nRefFine, | |||
const Real | a_dxCrse, | |||
const Interval & | a_comps, | |||
const int | a_p, | |||
const int | a_lBase, | |||
bool | a_verbose = false | |||
) |
Computes norm of multilevel array, counting only valid nodes at each level.
Computes norm of multilevel array a_phi. Only the valid nodes at each level are counted, with the mask vector. The valid nodes at a level are those that are not covered by the interior of any finer level.
a_phi | multilevel data on which to take the norm |
a_mask | mask at each level |
a_vectPD | domain at each level |
a_nRefFine | refinement ratios between successive levels |
a_dxCrse | mesh spacing at base level a_lBase |
a_comps | components to use in computing norm |
a_p | norm to take, or 0 for max norm |
a_lBase | index of base level to use in Vectors |
a_verbose | verbosity, whether to print norms of each box |
Real norm | ( | const Vector< LevelData< NodeFArrayBox > * > & | a_phi, | |
const Vector< Box > & | a_domain, | |||
const Vector< int > & | a_nRefFine, | |||
const Real | a_dxCrse, | |||
const Interval & | a_comps, | |||
const int | a_p, | |||
const int | a_lBase, | |||
bool | a_verbose = false | |||
) |
Computes norm of multilevel array, counting only valid nodes at each level.
Computes norm of multilevel array a_phi. Only the valid nodes at each level are counted. The valid nodes at a level are those that are not covered by the interior of any finer level.
a_phi | multilevel data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_nRefFine | refinement ratios between successive levels |
a_dxCrse | mesh spacing at base level a_lBase |
a_comps | components to use in computing norm |
a_p | norm to take, or 0 for max norm |
a_lBase | index of base level to use in Vectors |
a_verbose | verbosity, whether to print norms of each box |
Real norm | ( | const LevelData< NodeFArrayBox > & | a_phi, | |
const ProblemDomain & | a_domain, | |||
const DisjointBoxLayout * | a_finerGridsPtr, | |||
const int | a_nRefFine, | |||
const Real | a_dx, | |||
const Interval & | a_comps, | |||
const int | a_p, | |||
bool | a_verbose = false | |||
) |
Computes norm of single-level array, counting only valid nodes.
Computes norm of single-level array a_phi. Only the valid nodes at this level are counted. The valid nodes are the interior nodes of this level that are not projections of interior nodes of the finer level, if any.
This function computes exterior boundary nodes, and interior boundary nodes of the coarsened finer level, if any. It is more efficient to precompute these boundary-node objects and call one of the other norm functions below.
a_phi | the data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_finerGridsPtr | pointer to CELL-centered grids on the next finer level, or NULL if there is none. |
a_nRefFine | refinement ratio to next finer level |
a_dx | mesh spacing at this level |
a_comps | interval of components to use |
a_p | norm to take, or 0 for max norm |
a_verbose | verbosity, whether to print norms of each box |
Real norm | ( | const LevelData< NodeFArrayBox > & | a_phi, | |
const Box & | a_domain, | |||
const DisjointBoxLayout * | a_finerGridsPtr, | |||
const int | a_nRefFine, | |||
const Real | a_dx, | |||
const Interval & | a_comps, | |||
const int | a_p, | |||
bool | a_verbose = false | |||
) |
Computes norm of single-level array, counting only valid nodes.
Computes norm of single-level array a_phi. Only the valid nodes at this level are counted. The valid nodes are the interior nodes of this level that are not projections of interior nodes of the finer level, if any.
This function computes exterior boundary nodes, and interior boundary nodes of the coarsened finer level, if any. It is more efficient to precompute these boundary-node objects and call one of the other norm functions below.
a_phi | the data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_finerGridsPtr | pointer to CELL-centered grids on the next finer level, or NULL if there is none. |
a_nRefFine | refinement ratio to next finer level |
a_dx | mesh spacing at this level |
a_comps | interval of components to use |
a_p | norm to take, or 0 for max norm |
a_verbose | verbosity, whether to print norms of each box |
Real norm | ( | const LevelData< NodeFArrayBox > & | a_phi, | |
const ProblemDomain & | a_domain, | |||
const DisjointBoxLayout & | a_finerGridsCoarsened, | |||
const LayoutData< Vector< IntVectSet > > & | a_IVSVext, | |||
const LayoutData< Vector< IntVectSet > > & | a_IVSVintFinerCoarsened, | |||
const int | a_nRefFine, | |||
const Real | a_dx, | |||
const Interval & | a_comps, | |||
const int | a_p, | |||
bool | a_verbose = false | |||
) |
Computes norm of single-level array, counting only valid nodes.
Computes norm of single-level array a_phi. Only the valid nodes at this level are counted. The valid nodes are the interior nodes of this level that are not projections of interior nodes of the finer level, if any.
The a_IVSVext argument is obtained from the calls:
interiorBoundaryNodes(IVSVint, a_phi.getBoxes(), a_domain);
exteriorBoundaryNodes(a_IVSVext, IVSVint, a_phi.getBoxes();
The a_IVSVintFinerCoarsened argument is obtained from the call:
interiorBoundaryNodes(a_IVSVintFinerCoarsened, a_phi.getBoxes(), a_finerGridsCoarsened, a_domain);
a_phi | the data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_finerGridsCoarsened | CELL-centered grids on the next finer level |
a_IVSVext | exterior boundary nodes of this level |
a_IVSVintFinerCoarsened | interior boundary nodes of coarsened finer-level grids |
a_nRefFine | refinement ratio to next finer level |
a_dx | mesh spacing at this level |
a_comps | interval of components to use |
a_p | norm to take, or 0 for max norm |
a_verbose | verbosity, whether to print norms of each box |
Real norm | ( | const LevelData< NodeFArrayBox > & | a_phi, | |
const ProblemDomain & | a_domain, | |||
const DisjointBoxLayout & | a_finerGridsCoarsened, | |||
const LayoutData< Vector< Box > > & | a_IVSVext, | |||
const LayoutData< Vector< Box > > & | a_IVSVintFinerCoarsened, | |||
const int | a_nRefFine, | |||
const Real | a_dx, | |||
const Interval & | a_comps, | |||
const int | a_p, | |||
bool | a_verbose = false | |||
) |
Computes norm of single-level array, counting only valid nodes.
Computes norm of single-level array a_phi. Only the valid nodes at this level are counted. The valid nodes are the interior nodes of this level that are not projections of interior nodes of the finer level, if any.
The a_IVSVext argument is obtained from the calls:
interiorBoundaryNodes(IVSVint, a_phi.getBoxes(), a_domain);
exteriorBoundaryNodes(a_IVSVext, IVSVint, a_phi.getBoxes();
The a_IVSVintFinerCoarsened argument is obtained from the call:
interiorBoundaryNodes(a_IVSVintFinerCoarsened, a_phi.getBoxes(), a_finerGridsCoarsened, a_domain);
a_phi | the data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_finerGridsCoarsened | CELL-centered grids on the next finer level |
a_IVSVext | exterior boundary nodes of this level |
a_IVSVintFinerCoarsened | interior boundary nodes of coarsened finer-level grids |
a_nRefFine | refinement ratio to next finer level |
a_dx | mesh spacing at this level |
a_comps | interval of components to use |
a_p | norm to take, or 0 for max norm |
a_verbose | verbosity, whether to print norms of each box |
Real norm | ( | const LevelData< NodeFArrayBox > & | a_phi, | |
const Box & | a_domain, | |||
const DisjointBoxLayout & | a_finerGridsCoarsened, | |||
const LayoutData< Vector< IntVectSet > > & | a_IVSVext, | |||
const LayoutData< Vector< IntVectSet > > & | a_IVSVintFinerCoarsened, | |||
const int | a_nRefFine, | |||
const Real | a_dx, | |||
const Interval & | a_comps, | |||
const int | a_p, | |||
bool | a_verbose = false | |||
) |
Computes norm of single-level array, counting only valid nodes.
Computes norm of single-level array a_phi. Only the valid nodes at this level are counted. The valid nodes are the interior nodes of this level that are not projections of interior nodes of the finer level, if any.
The a_IVSVext argument is obtained from the calls:
interiorBoundaryNodes(IVSVint, a_phi.getBoxes(), a_domain);
exteriorBoundaryNodes(a_IVSVext, IVSVint, a_phi.getBoxes();
The a_IVSVintFinerCoarsened argument is obtained from the call:
interiorBoundaryNodes(a_IVSVintFinerCoarsened, a_phi.getBoxes(), a_finerGridsCoarsened, a_domain);
a_phi | the data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_finerGridsCoarsened | CELL-centered grids on the next finer level |
a_IVSVext | exterior boundary nodes of this level |
a_IVSVintFinerCoarsened | interior boundary nodes of coarsened finer-level grids |
a_nRefFine | refinement ratio to next finer level |
a_dx | mesh spacing at this level |
a_comps | interval of components to use |
a_p | norm to take, or 0 for max norm |
a_verbose | verbosity, whether to print norms of each box |
Real norm | ( | const LevelData< NodeFArrayBox > & | a_phi, | |
const Box & | a_domain, | |||
const DisjointBoxLayout & | a_finerGridsCoarsened, | |||
const LayoutData< Vector< Box > > & | a_IVSVext, | |||
const LayoutData< Vector< Box > > & | a_IVSVintFinerCoarsened, | |||
const int | a_nRefFine, | |||
const Real | a_dx, | |||
const Interval & | a_comps, | |||
const int | a_p, | |||
bool | a_verbose = false | |||
) |
Computes norm of single-level array, counting only valid nodes.
Computes norm of single-level array a_phi. Only the valid nodes at this level are counted. The valid nodes are the interior nodes of this level that are not projections of interior nodes of the finer level, if any.
The a_IVSVext argument is obtained from the calls:
interiorBoundaryNodes(IVSVint, a_phi.getBoxes(), a_domain);
exteriorBoundaryNodes(a_IVSVext, IVSVint, a_phi.getBoxes();
The a_IVSVintFinerCoarsened argument is obtained from the call:
interiorBoundaryNodes(a_IVSVintFinerCoarsened, a_phi.getBoxes(), a_finerGridsCoarsened, a_domain);
a_phi | the data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_finerGridsCoarsened | CELL-centered grids on the next finer level |
a_IVSVext | exterior boundary nodes of this level |
a_IVSVintFinerCoarsened | interior boundary nodes of coarsened finer-level grids |
a_nRefFine | refinement ratio to next finer level |
a_dx | mesh spacing at this level |
a_comps | interval of components to use |
a_p | norm to take, or 0 for max norm |
a_verbose | verbosity, whether to print norms of each box |
Real norm | ( | const LevelData< NodeFArrayBox > & | a_phi, | |
const ProblemDomain & | a_domain, | |||
const LayoutData< Vector< IntVectSet > > & | a_IVSVext, | |||
const Real | a_dx, | |||
const Interval & | a_comps, | |||
const int | a_p, | |||
bool | a_verbose = false | |||
) |
Computes norm of single-level array, counting only valid nodes, with no finer level.
Computes norm of single-level array a_phi, where there is no finer level. Only the valid nodes at this level are counted. The valid nodes are the interior nodes of this level.
The a_IVSVext argument is obtained from the calls:
interiorBoundaryNodes(IVSVint, a_phi.getBoxes(), a_domain);
exteriorBoundaryNodes(a_IVSVext, IVSVint, a_phi.getBoxes();
a_phi | the data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_IVSVext | exterior boundary nodes of this level |
a_dx | mesh spacing at this level |
a_comps | interval of components to use |
a_p | norm to take, or 0 for max norm |
a_verbose | verbosity, whether to print norms of each box |
Real norm | ( | const LevelData< NodeFArrayBox > & | a_phi, | |
const ProblemDomain & | a_domain, | |||
const LayoutData< Vector< Box > > & | a_IVSVext, | |||
const Real | a_dx, | |||
const Interval & | a_comps, | |||
const int | a_p, | |||
bool | a_verbose = false | |||
) |
Computes norm of single-level array, counting only valid nodes, with no finer level.
Computes norm of single-level array a_phi, where there is no finer level. Only the valid nodes at this level are counted. The valid nodes are the interior nodes of this level.
The a_IVSVext argument is obtained from the calls:
interiorBoundaryNodes(IVSVint, a_phi.getBoxes(), a_domain);
exteriorBoundaryNodes(a_IVSVext, IVSVint, a_phi.getBoxes();
a_phi | the data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_IVSVext | exterior boundary nodes of this level |
a_dx | mesh spacing at this level |
a_comps | interval of components to use |
a_p | norm to take, or 0 for max norm |
a_verbose | verbosity, whether to print norms of each box |
Real maxnorm | ( | const Vector< LevelData< NodeFArrayBox > * > & | a_phi, | |
const Vector< ProblemDomain > & | a_domain, | |||
const Vector< int > & | a_nRefFine, | |||
const Interval & | a_comps, | |||
const int | a_lBase, | |||
bool | a_verbose = false | |||
) |
Computes max norm of multilevel array, counting only valid nodes at each level.
Computes max norm of multilevel array a_phi. Only the valid nodes at each level are counted. The valid nodes at a level are those that are not covered by the interior of any finer level.
a_phi | multilevel data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_nRefFine | refinement ratios between successive levels |
a_comps | components to use in computing norm |
a_lBase | index of base level to use in Vectors |
a_verbose | verbosity, whether to print norms of each box |
Real maxnorm | ( | const Vector< LevelData< NodeFArrayBox > * > & | a_phi, | |
const Vector< Box > & | a_domain, | |||
const Vector< int > & | a_nRefFine, | |||
const Interval & | a_comps, | |||
const int | a_lBase, | |||
bool | a_verbose = false | |||
) |
Computes max norm of multilevel array, counting only valid nodes at each level.
Computes max norm of multilevel array a_phi. Only the valid nodes at each level are counted. The valid nodes at a level are those that are not covered by the interior of any finer level.
a_phi | multilevel data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_nRefFine | refinement ratios between successive levels |
a_comps | components to use in computing norm |
a_lBase | index of base level to use in Vectors |
a_verbose | verbosity, whether to print norms of each box |
Real maxnorm | ( | const LevelData< NodeFArrayBox > & | a_phi, | |
const ProblemDomain & | a_domain, | |||
const DisjointBoxLayout * | a_finerGridsPtr, | |||
const int | a_nRefFine, | |||
const Interval & | a_comps, | |||
bool | a_verbose = false | |||
) |
Computes max norm of single-level array, counting only valid nodes.
Computes max norm of single-level array a_phi. Only the valid nodes at this level are counted. The valid nodes are the interior nodes of this level that are not projections of interior nodes of the finer level, if any.
This function computes exterior boundary nodes, and interior boundary nodes of the coarsened finer level, if any. It is more efficient to precompute these boundary-node objects and call one of the other maxnorm functions below.
a_phi | the data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_finerGridsPtr | pointer to CELL-centered grids on the next finer level, or NULL if there is none. |
a_nRefFine | refinement ratio to next finer level |
a_comps | interval of components to use |
a_verbose | verbosity, whether to print norms of each box |
Real maxnorm | ( | const LevelData< NodeFArrayBox > & | a_phi, | |
const Box & | a_domain, | |||
const DisjointBoxLayout * | a_finerGridsPtr, | |||
const int | a_nRefFine, | |||
const Interval & | a_comps, | |||
bool | a_verbose = false | |||
) |
Computes max norm of single-level array, counting only valid nodes.
Computes max norm of single-level array a_phi. Only the valid nodes at this level are counted. The valid nodes are the interior nodes of this level that are not projections of interior nodes of the finer level, if any.
This function computes exterior boundary nodes, and interior boundary nodes of the coarsened finer level, if any. It is more efficient to precompute these boundary-node objects and call one of the other maxnorm functions below.
a_phi | the data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_finerGridsPtr | pointer to CELL-centered grids on the next finer level, or NULL if there is none. |
a_nRefFine | refinement ratio to next finer level |
a_comps | interval of components to use |
a_verbose | verbosity, whether to print norms of each box |
Real maxnorm | ( | const LevelData< NodeFArrayBox > & | a_phi, | |
const ProblemDomain & | a_domain, | |||
const DisjointBoxLayout & | a_finerGridsCoarsened, | |||
const LayoutData< Vector< IntVectSet > > & | a_IVSVext, | |||
const LayoutData< Vector< IntVectSet > > & | a_IVSVintFinerCoarsened, | |||
const int | a_nRefFine, | |||
const Interval & | a_comps, | |||
bool | a_verbose = false | |||
) |
Computes max norm of single-level array, counting only valid nodes.
Computes max norm of single-level array a_phi. Only the valid nodes at this level are counted. The valid nodes are the interior nodes of this level that are not projections of interior nodes of the finer level, if any.
The a_IVSVext argument is obtained from the calls:
interiorBoundaryNodes(IVSVint, a_phi.getBoxes(), a_domain);
exteriorBoundaryNodes(a_IVSVext, IVSVint, a_phi.getBoxes();
The a_IVSVintFinerCoarsened argument is obtained from the calls:
interiorBoundaryNodes(a_IVSVintFinerCoarsened, a_phi.getBoxes(), a_finerGridsCoarsened, a_domain);
a_phi | the data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_finerGridsCoarsened | CELL-centered grids on the next finer level |
a_IVSVext | exterior boundary nodes of this level |
a_IVSVintFinerCoarsened | interior boundary nodes of coarsened finer-level grids |
a_nRefFine | refinement ratio to next finer level |
a_comps | interval of components to use |
a_verbose | verbosity, whether to print norms of each box |
Real maxnorm | ( | const LevelData< NodeFArrayBox > & | a_phi, | |
const ProblemDomain & | a_domain, | |||
const DisjointBoxLayout & | a_finerGridsCoarsened, | |||
const LayoutData< Vector< Box > > & | a_IVSVext, | |||
const LayoutData< Vector< Box > > & | a_IVSVintFinerCoarsened, | |||
const int | a_nRefFine, | |||
const Interval & | a_comps, | |||
bool | a_verbose = false | |||
) |
Computes max norm of single-level array, counting only valid nodes.
Computes max norm of single-level array a_phi. Only the valid nodes at this level are counted. The valid nodes are the interior nodes of this level that are not projections of interior nodes of the finer level, if any.
The a_IVSVext argument is obtained from the calls:
interiorBoundaryNodes(IVSVint, a_phi.getBoxes(), a_domain);
exteriorBoundaryNodes(a_IVSVext, IVSVint, a_phi.getBoxes();
The a_IVSVintFinerCoarsened argument is obtained from the calls:
interiorBoundaryNodes(a_IVSVintFinerCoarsened, a_phi.getBoxes(), a_finerGridsCoarsened, a_domain);
a_phi | the data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_finerGridsCoarsened | CELL-centered grids on the next finer level |
a_IVSVext | exterior boundary nodes of this level |
a_IVSVintFinerCoarsened | interior boundary nodes of coarsened finer-level grids |
a_nRefFine | refinement ratio to next finer level |
a_comps | interval of components to use |
a_verbose | verbosity, whether to print norms of each box |
Real maxnorm | ( | const LevelData< NodeFArrayBox > & | a_phi, | |
const Box & | a_domain, | |||
const DisjointBoxLayout & | a_finerGridsCoarsened, | |||
const LayoutData< Vector< IntVectSet > > & | a_IVSVext, | |||
const LayoutData< Vector< IntVectSet > > & | a_IVSVintFinerCoarsened, | |||
const int | a_nRefFine, | |||
const Interval & | a_comps, | |||
bool | a_verbose = false | |||
) |
Computes max norm of single-level array, counting only valid nodes.
Computes max norm of single-level array a_phi. Only the valid nodes at this level are counted. The valid nodes are the interior nodes of this level that are not projections of interior nodes of the finer level, if any.
The a_IVSVext argument is obtained from the calls:
interiorBoundaryNodes(IVSVint, a_phi.getBoxes(), a_domain);
exteriorBoundaryNodes(a_IVSVext, IVSVint, a_phi.getBoxes();
The a_IVSVintFinerCoarsened argument is obtained from the calls:
interiorBoundaryNodes(a_IVSVintFinerCoarsened, a_phi.getBoxes(), a_finerGridsCoarsened, a_domain);
a_phi | the data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_finerGridsCoarsened | CELL-centered grids on the next finer level |
a_IVSVext | exterior boundary nodes of this level |
a_IVSVintFinerCoarsened | interior boundary nodes of coarsened finer-level grids |
a_nRefFine | refinement ratio to next finer level |
a_comps | interval of components to use |
a_verbose | verbosity, whether to print norms of each box |
Real maxnorm | ( | const LevelData< NodeFArrayBox > & | a_phi, | |
const Box & | a_domain, | |||
const DisjointBoxLayout & | a_finerGridsCoarsened, | |||
const LayoutData< Vector< Box > > & | a_IVSVext, | |||
const LayoutData< Vector< Box > > & | a_IVSVintFinerCoarsened, | |||
const int | a_nRefFine, | |||
const Interval & | a_comps, | |||
bool | a_verbose = false | |||
) |
Computes max norm of single-level array, counting only valid nodes.
Computes max norm of single-level array a_phi. Only the valid nodes at this level are counted. The valid nodes are the interior nodes of this level that are not projections of interior nodes of the finer level, if any.
The a_IVSVext argument is obtained from the calls:
interiorBoundaryNodes(IVSVint, a_phi.getBoxes(), a_domain);
exteriorBoundaryNodes(a_IVSVext, IVSVint, a_phi.getBoxes();
The a_IVSVintFinerCoarsened argument is obtained from the calls:
interiorBoundaryNodes(a_IVSVintFinerCoarsened, a_phi.getBoxes(), a_finerGridsCoarsened, a_domain);
a_phi | the data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_finerGridsCoarsened | CELL-centered grids on the next finer level |
a_IVSVext | exterior boundary nodes of this level |
a_IVSVintFinerCoarsened | interior boundary nodes of coarsened finer-level grids |
a_nRefFine | refinement ratio to next finer level |
a_comps | interval of components to use |
a_verbose | verbosity, whether to print norms of each box |
Real maxnorm | ( | const LevelData< NodeFArrayBox > & | a_phi, | |
const ProblemDomain & | a_domain, | |||
const LayoutData< Vector< IntVectSet > > & | a_IVSVext, | |||
const Interval & | a_comps, | |||
bool | a_verbose = false | |||
) |
Computes max norm of single-level array, counting only valid nodes, with no finer level.
Computes max norm of single-level array a_phi, where there is no finer level.
Only the valid nodes at this level are counted. The valid nodes are the interior nodes of this level.
The a_IVSVext argument is obtained from the calls:
interiorBoundaryNodes(IVSVint, a_phi.getBoxes(), a_domain);
exteriorBoundaryNodes(a_IVSVext, IVSVint, a_phi.getBoxes();
a_phi | the data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_IVSVext | exterior boundary nodes of this level |
a_comps | interval of components to use |
a_verbose | verbosity, whether to print norms of each box |
Real maxnorm | ( | const LevelData< NodeFArrayBox > & | a_phi, | |
const Box & | a_domain, | |||
const LayoutData< Vector< Box > > & | a_IVSVext, | |||
const Interval & | a_comps, | |||
bool | a_verbose = false | |||
) |
Computes max norm of single-level array, counting only valid nodes, with no finer level.
Computes max norm of single-level array a_phi, where there is no finer level.
Only the valid nodes at this level are counted. The valid nodes are the interior nodes of this level.
The a_IVSVext argument is obtained from the calls:
interiorBoundaryNodes(IVSVint, a_phi.getBoxes(), a_domain);
exteriorBoundaryNodes(a_IVSVext, IVSVint, a_phi.getBoxes();
a_phi | the data on which to take the norm |
a_domain | CELL-centered physical domain on each level |
a_IVSVext | exterior boundary nodes of this level |
a_comps | interval of components to use |
a_verbose | verbosity, whether to print norms of each box |