00001 #ifdef CH_LANG_CC
00002
00003
00004
00005
00006
00007
00008
00009 #endif
00010
00011
00012
00013
00014
00015 #ifndef _NODENORMS_H_
00016 #define _NODENORMS_H_
00017
00018 #include "LevelData.H"
00019 #include "NodeFArrayBox.H"
00020 #include "Vector.H"
00021 #include "IntVectSet.H"
00022 #include "NamespaceHeader.H"
00023
00025
00027 Real norm(
00028 const NodeFArrayBox& a_nfab,
00030 const Real a_dx,
00032 const Box& a_subbox,
00034 const int a_p,
00036 const int a_startComp = 0,
00038 const int a_numComp = 1);
00039
00041
00043 Real maxnorm(
00044 const NodeFArrayBox& a_nfab,
00046 const Box& a_subbox,
00048 const int a_startComp = 0,
00050 const int a_numComp = 1);
00051
00053
00059 Real norm(
00060 const BoxLayoutData<NodeFArrayBox>& a_layout,
00062 const Real a_dx,
00064 const int a_p,
00066 const Interval& a_interval,
00068 bool a_verbose = false);
00069
00071
00076 Real norm(
00077 const BoxLayoutData<NodeFArrayBox>& a_layout,
00079 const LevelData<NodeFArrayBox>& a_mask,
00081 const ProblemDomain& a_domain,
00083 const Real a_dx,
00085 const int a_p,
00087 const Interval& a_interval,
00089 bool a_verbose = false);
00090
00092
00097 Real maxnorm(
00098 const BoxLayoutData<NodeFArrayBox>& a_layout,
00100 const LevelData<NodeFArrayBox>& a_mask,
00102 const ProblemDomain& a_domain,
00104 const Interval& a_interval,
00106 bool a_verbose = false);
00107
00109
00115 Real maxnorm(
00116 const BoxLayoutData<NodeFArrayBox>& a_layout,
00118 const Interval& a_interval,
00120 bool a_verbose = false);
00121
00123
00129 Real norm(
00130 const Vector<LevelData<NodeFArrayBox>* >& a_phi,
00132 const Vector<ProblemDomain>& a_domain,
00134 const Vector<int>& a_nRefFine,
00136 const Real a_dxCrse,
00138 const Interval& a_comps,
00140 const int a_p,
00142 const int a_lBase,
00144 bool a_verbose = false);
00145
00147
00159 Real norm(
00160 const Vector<LevelData<NodeFArrayBox>* >& a_phi,
00162 const Vector<ProblemDomain>& a_domain,
00164 const Vector<LayoutData< Vector<Box> >* >& a_IVSVext,
00166 const Vector<LayoutData< Vector<Box> >* >& a_IVSVintFinerCoarsened,
00168 const Vector<DisjointBoxLayout>& a_layoutsFinerCoarsened,
00170 const Vector<int>& a_nRefFine,
00172 const Real a_dxCrse,
00174 const Interval& a_comps,
00176 const int a_p,
00178 const int a_lBase,
00180 bool a_verbose = false);
00181
00183
00195 Real norm(
00196 const Vector<LevelData<NodeFArrayBox>* >& a_phi,
00198 const Vector<ProblemDomain>& a_domain,
00200 const Vector<LayoutData< Vector<IntVectSet> >* >& a_IVSVext,
00202 const Vector<LayoutData< Vector<IntVectSet> >* >& a_IVSVintFinerCoarsened,
00204 const Vector<DisjointBoxLayout>& a_layoutsFinerCoarsened,
00206 const Vector<int>& a_nRefFine,
00208 const Real a_dxCrse,
00210 const Interval& a_comps,
00212 const int a_p,
00214 const int a_lBase,
00216 bool a_verbose = false);
00217
00219
00225 Real norm(
00226 const Vector<LevelData<NodeFArrayBox>* >& a_phi,
00228 const Vector<LevelData<NodeFArrayBox>* >& a_mask,
00230 const Vector<ProblemDomain>& a_vectPD,
00232 const Vector<int>& a_nRefFine,
00234 const Real a_dxCrse,
00236 const Interval& a_comps,
00238 const int a_p,
00240 const int a_lBase,
00242 bool a_verbose = false);
00243
00245
00251 Real norm(
00252 const Vector<LevelData<NodeFArrayBox>* >& a_phi,
00254 const Vector<Box>& a_domain,
00256 const Vector<int>& a_nRefFine,
00258 const Real a_dxCrse,
00260 const Interval& a_comps,
00262 const int a_p,
00264 const int a_lBase,
00266 bool a_verbose = false);
00267
00269
00280 Real norm(
00281 const LevelData<NodeFArrayBox>& a_phi,
00283 const ProblemDomain& a_domain,
00285 const DisjointBoxLayout* a_finerGridsPtr,
00287 const int a_nRefFine,
00289 const Real a_dx,
00291 const Interval& a_comps,
00293 const int a_p,
00295 bool a_verbose = false);
00296
00298
00309 Real norm(
00310 const LevelData<NodeFArrayBox>& a_phi,
00312 const Box& a_domain,
00314 const DisjointBoxLayout* a_finerGridsPtr,
00316 const int a_nRefFine,
00318 const Real a_dx,
00320 const Interval& a_comps,
00322 const int a_p,
00324 bool a_verbose = false);
00325
00327
00344 Real norm(
00345 const LevelData<NodeFArrayBox>& a_phi,
00347 const ProblemDomain& a_domain,
00349 const DisjointBoxLayout& a_finerGridsCoarsened,
00351 const LayoutData< Vector<IntVectSet> >& a_IVSVext,
00353 const LayoutData< Vector<IntVectSet> >& a_IVSVintFinerCoarsened,
00355 const int a_nRefFine,
00357 const Real a_dx,
00359 const Interval& a_comps,
00361 const int a_p,
00363 bool a_verbose = false);
00364
00365
00367
00384 Real norm(
00385 const LevelData<NodeFArrayBox>& a_phi,
00387 const ProblemDomain& a_domain,
00389 const DisjointBoxLayout& a_finerGridsCoarsened,
00391 const LayoutData< Vector<Box> >& a_IVSVext,
00393 const LayoutData< Vector<Box> >& a_IVSVintFinerCoarsened,
00395 const int a_nRefFine,
00397 const Real a_dx,
00399 const Interval& a_comps,
00401 const int a_p,
00403 bool a_verbose = false);
00404
00405
00407
00424 Real norm(
00425 const LevelData<NodeFArrayBox>& a_phi,
00427 const Box& a_domain,
00429 const DisjointBoxLayout& a_finerGridsCoarsened,
00431 const LayoutData< Vector<IntVectSet> >& a_IVSVext,
00433 const LayoutData< Vector<IntVectSet> >& a_IVSVintFinerCoarsened,
00435 const int a_nRefFine,
00437 const Real a_dx,
00439 const Interval& a_comps,
00441 const int a_p,
00443 bool a_verbose = false);
00444
00445
00447
00464 Real norm(
00465 const LevelData<NodeFArrayBox>& a_phi,
00467 const Box& a_domain,
00469 const DisjointBoxLayout& a_finerGridsCoarsened,
00471 const LayoutData< Vector<Box> >& a_IVSVext,
00473 const LayoutData< Vector<Box> >& a_IVSVintFinerCoarsened,
00475 const int a_nRefFine,
00477 const Real a_dx,
00479 const Interval& a_comps,
00481 const int a_p,
00483 bool a_verbose = false);
00484
00485
00487
00498 Real norm(
00499 const LevelData<NodeFArrayBox>& a_phi,
00501 const ProblemDomain& a_domain,
00503 const LayoutData< Vector<IntVectSet> >& a_IVSVext,
00505 const Real a_dx,
00507 const Interval& a_comps,
00509 const int a_p,
00511 bool a_verbose = false);
00512
00513
00515
00526 Real norm(
00527 const LevelData<NodeFArrayBox>& a_phi,
00529 const ProblemDomain& a_domain,
00531 const LayoutData< Vector<Box> >& a_IVSVext,
00533 const Real a_dx,
00535 const Interval& a_comps,
00537 const int a_p,
00539 bool a_verbose = false);
00540
00541
00543
00549 Real maxnorm(
00550 const Vector<LevelData<NodeFArrayBox>* >& a_phi,
00552 const Vector<ProblemDomain>& a_domain,
00554 const Vector<int>& a_nRefFine,
00556 const Interval& a_comps,
00558 const int a_lBase,
00560 bool a_verbose = false);
00561
00563
00569 Real maxnorm(
00570 const Vector<LevelData<NodeFArrayBox>* >& a_phi,
00572 const Vector<Box>& a_domain,
00574 const Vector<int>& a_nRefFine,
00576 const Interval& a_comps,
00578 const int a_lBase,
00580 bool a_verbose = false);
00581
00583
00594 Real maxnorm(
00595 const LevelData<NodeFArrayBox>& a_phi,
00597 const ProblemDomain& a_domain,
00599 const DisjointBoxLayout* a_finerGridsPtr,
00601 const int a_nRefFine,
00603 const Interval& a_comps,
00605 bool a_verbose = false);
00606
00608
00619 Real maxnorm(
00620 const LevelData<NodeFArrayBox>& a_phi,
00622 const Box& a_domain,
00624 const DisjointBoxLayout* a_finerGridsPtr,
00626 const int a_nRefFine,
00628 const Interval& a_comps,
00630 bool a_verbose = false);
00631
00632
00634
00652 Real maxnorm(
00653 const LevelData<NodeFArrayBox>& a_phi,
00655 const ProblemDomain& a_domain,
00657 const DisjointBoxLayout& a_finerGridsCoarsened,
00659 const LayoutData< Vector<IntVectSet> >& a_IVSVext,
00661 const LayoutData< Vector<IntVectSet> >& a_IVSVintFinerCoarsened,
00663 const int a_nRefFine,
00665 const Interval& a_comps,
00667 bool a_verbose = false);
00668
00669
00671
00689 Real maxnorm(
00690 const LevelData<NodeFArrayBox>& a_phi,
00692 const ProblemDomain& a_domain,
00694 const DisjointBoxLayout& a_finerGridsCoarsened,
00696 const LayoutData< Vector<Box> >& a_IVSVext,
00698 const LayoutData< Vector<Box> >& a_IVSVintFinerCoarsened,
00700 const int a_nRefFine,
00702 const Interval& a_comps,
00704 bool a_verbose = false);
00705
00706
00708
00726 Real maxnorm(
00727 const LevelData<NodeFArrayBox>& a_phi,
00729 const Box& a_domain,
00731 const DisjointBoxLayout& a_finerGridsCoarsened,
00733 const LayoutData< Vector<IntVectSet> >& a_IVSVext,
00735 const LayoutData< Vector<IntVectSet> >& a_IVSVintFinerCoarsened,
00737 const int a_nRefFine,
00739 const Interval& a_comps,
00741 bool a_verbose = false);
00742
00743
00745
00763 Real maxnorm(
00764 const LevelData<NodeFArrayBox>& a_phi,
00766 const Box& a_domain,
00768 const DisjointBoxLayout& a_finerGridsCoarsened,
00770 const LayoutData< Vector<Box> >& a_IVSVext,
00772 const LayoutData< Vector<Box> >& a_IVSVintFinerCoarsened,
00774 const int a_nRefFine,
00776 const Interval& a_comps,
00778 bool a_verbose = false);
00779
00780
00782
00795 Real maxnorm(
00796 const LevelData<NodeFArrayBox>& a_phi,
00798 const ProblemDomain& a_domain,
00800 const LayoutData< Vector<IntVectSet> >& a_IVSVext,
00802 const Interval& a_comps,
00804 bool a_verbose = false);
00805
00807
00820 Real maxnorm(
00821 const LevelData<NodeFArrayBox>& a_phi,
00823 const Box& a_domain,
00825 const LayoutData< Vector<Box> >& a_IVSVext,
00827 const Interval& a_comps,
00829 bool a_verbose = false);
00830
00831 #include "NamespaceFooter.H"
00832 #endif