Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
AMReX_MultiFab.H
Go to the documentation of this file.
1
2#ifndef BL_MULTIFAB_H
3#define BL_MULTIFAB_H
4#include <AMReX_Config.H>
5
6#include <AMReX_BLassert.H>
7#include <AMReX_BaseFab.H>
8#include <AMReX_FArrayBox.H>
9#include <AMReX_FabArray.H>
11#include <AMReX_Periodicity.H>
12#include <AMReX_NonLocalBC.H>
13
14#include <cstdint>
15
16namespace amrex
17{
18
20
21class iMultiFab;
22
38 :
39 public FabArray<FArrayBox>
40{
41public:
42
49 MultiFab () noexcept;
50
60 explicit MultiFab (Arena* a) noexcept;
61
77 MultiFab (const BoxArray& bxs,
78 const DistributionMapping& dm,
79 int ncomp,
80 int ngrow,
81#ifdef AMREX_STRICT_MODE
82 const MFInfo& info,
83 const FabFactory<FArrayBox>& factory);
84#else
85 const MFInfo& info = MFInfo(),
86 const FabFactory<FArrayBox>& factory = FArrayBoxFactory());
87#endif
88
89 MultiFab (const BoxArray& bxs,
90 const DistributionMapping& dm,
91 int ncomp,
92 const IntVect& ngrow,
93#ifdef AMREX_STRICT_MODE
94 const MFInfo& info,
95 const FabFactory<FArrayBox>& factory);
96#else
97 const MFInfo& info = MFInfo(),
98 const FabFactory<FArrayBox>& factory = FArrayBoxFactory());
99#endif
100
108 MultiFab (const MultiFab& rhs, MakeType maketype, int scomp, int ncomp);
109
110 ~MultiFab ();
111
112 MultiFab (MultiFab&& rhs) noexcept;
113 MultiFab& operator= (MultiFab&& rhs) noexcept = default;
114
115 MultiFab (const MultiFab& rhs) = delete;
116 MultiFab& operator= (const MultiFab& rhs) = delete;
117
118 void define (const BoxArray& bxs,
119 const DistributionMapping& dm,
120 int nvar,
121 int ngrow,
122#ifdef AMREX_STRICT_MODE
123 const MFInfo& info,
124 const FabFactory<FArrayBox>& factory);
125#else
126 const MFInfo& info = MFInfo(),
127 const FabFactory<FArrayBox>& factory = FArrayBoxFactory());
128#endif
129
130 void define (const BoxArray& bxs,
131 const DistributionMapping& dm,
132 int nvar,
133 const IntVect& ngrow,
134#ifdef AMREX_STRICT_MODE
135 const MFInfo& info,
136 const FabFactory<FArrayBox>& factory);
137#else
138 const MFInfo& info = MFInfo(),
139 const FabFactory<FArrayBox>& factory = FArrayBoxFactory());
140#endif
141
143
156 [[nodiscard]] Real min (int comp,
157 int nghost = 0,
158 bool local = false) const;
165 [[nodiscard]] Real min (const Box& region,
166 int comp,
167 int nghost = 0,
168 bool local = false) const;
181 [[nodiscard]] Real max (int comp,
182 int nghost = 0,
183 bool local = false) const;
190 [[nodiscard]] Real max (const Box& region,
191 int comp,
192 int nghost = 0,
193 bool local = false) const;
200 [[nodiscard]] Real norm0 (int comp = 0, int nghost = 0, bool local = false, bool ignore_covered = false ) const;
202 [[nodiscard]] Real norminf (int comp = 0, int nghost = 0, bool local = false, bool ignore_covered = false ) const {
203 return norm0(comp,nghost,local,ignore_covered);
204 }
205
211 [[nodiscard]] Real norm0 (const iMultiFab& mask, int comp = 0, int nghost = 0, bool local = false) const;
213 [[nodiscard]] Real norminf (const iMultiFab& mask, int comp = 0, int nghost = 0, bool local = false) const {
214 return norm0(mask,comp,nghost,local);
215 }
216
222 [[nodiscard]] Real norm0 (int comp, int ncomp, IntVect const& nghost, bool local = false,
223 bool ignore_covered = false) const;
224
226
233 [[nodiscard]] Vector<Real> norm0 (const Vector<int>& comps, int nghost = 0, bool local = false, bool ignore_covered = false ) const;
235 [[nodiscard]] Vector<Real> norminf (const Vector<int>& comps, int nghost = 0, bool local = false, bool ignore_covered = false) const {
236 return norm0(comps,nghost,local,ignore_covered);
237 }
238
246 [[nodiscard]] Real norm1 (int comp, const Periodicity& period, bool ignore_covered = false) const;
254 [[nodiscard]] Real norm1 (int comp = 0, int ngrow = 0, bool local = false) const;
262 [[nodiscard]] Vector<Real> norm1 (const Vector<int>& comps, int ngrow = 0, bool local = false) const;
270 [[nodiscard]] Real norm2 (int comp = 0) const;
278 [[nodiscard]] Real norm2 (int comp, int numcomp) const;
286 [[nodiscard]] Real norm2 (int comp, const Periodicity& period) const;
294 [[nodiscard]] Vector<Real> norm2 (const Vector<int>& comps) const;
301 [[nodiscard]] Real sum (int comp = 0, bool local = false) const;
308 [[nodiscard]] Real sum (Box const& region, int comp = 0, bool local = false) const;
309
311
319 [[nodiscard]] Real sum_unique (int comp = 0,
320 bool local = false,
321 const Periodicity& period = Periodicity::NonPeriodic()) const;
330 [[nodiscard]] Real sum_unique (Box const& region, int comp = 0, bool local = false) const;
340 void plus (Real val,
341 int comp,
342 int num_comp,
343 int nghost = 0);
349 void plus (Real val,
350 const Box& region,
351 int comp,
352 int num_comp,
353 int nghost = 0);
360 void plus (Real val,
361 int nghost);
369 void plus (Real val,
370 const Box& region,
371 int nghost);
380 void mult (Real val,
381 int comp,
382 int num_comp,
383 int nghost = 0);
391 void mult (Real val,
392 const Box& region,
393 int comp,
394 int num_comp,
395 int nghost = 0);
402 void mult (Real val,
403 int nghost = 0);
411 void mult (Real val,
412 const Box& region,
413 int nghost = 0);
422 void invert (Real numerator,
423 int comp,
424 int num_comp,
425 int nghost = 0);
433 void invert (Real numerator,
434 const Box& region,
435 int comp,
436 int num_comp,
437 int nghost = 0);
444 void invert (Real numerator,
445 int nghost);
453 void invert (Real numerator,
454 const Box& region,
455 int nghost);
463 void negate (int comp,
464 int num_comp,
465 int nghost = 0);
471 void negate (const Box& region,
472 int comp,
473 int num_comp,
474 int nghost = 0);
480 void negate (int nghost = 0);
487 void negate (const Box& region,
488 int nghost = 0);
489
495 [[nodiscard]] IntVect minIndex (int comp,
496 int nghost = 0) const;
497
503 [[nodiscard]] IntVect maxIndex (int comp,
504 int nghost = 0) const;
514 void plus (const MultiFab& mf,
515 int strt_comp,
516 int num_comp,
517 int nghost);
527 void minus (const MultiFab& mf,
528 int strt_comp,
529 int num_comp,
530 int nghost);
541 void divide (const MultiFab& mf,
542 int strt_comp,
543 int num_comp,
544 int nghost);
551 static Real Dot (const MultiFab& x, int xcomp,
552 const MultiFab& y, int ycomp,
553 int numcomp, int nghost, bool local = false);
554
561 static Real Dot (const MultiFab& x, int xcomp,
562 int numcomp, int nghost, bool local = false);
563
567 static Real Dot (const iMultiFab& mask,
568 const MultiFab& x, int xcomp,
569 const MultiFab& y, int ycomp,
570 int numcomp, int nghost, bool local = false);
575 static void Add (MultiFab& dst,
576 const MultiFab& src,
577 int srccomp,
578 int dstcomp,
579 int numcomp,
580 int nghost);
581
582 static void Add (MultiFab& dst,
583 const MultiFab& src,
584 int srccomp,
585 int dstcomp,
586 int numcomp,
587 const IntVect& nghost);
588
594 [[nodiscard]] MultiFab deepCopy () const;
595
601 static void Copy (MultiFab& dst,
602 const MultiFab& src,
603 int srccomp,
604 int dstcomp,
605 int numcomp,
606 int nghost);
607
608 static void Copy (MultiFab& dst,
609 const MultiFab& src,
610 int srccomp,
611 int dstcomp,
612 int numcomp,
613 const IntVect& nghost);
614
620 static void Swap (MultiFab& dst,
621 MultiFab& src,
622 int srccomp,
623 int dstcomp,
624 int numcomp,
625 int nghost);
626
627 static void Swap (MultiFab& dst,
628 MultiFab& src,
629 int srccomp,
630 int dstcomp,
631 int numcomp,
632 const IntVect& nghost);
633
638 static void Subtract (MultiFab& dst,
639 const MultiFab& src,
640 int srccomp,
641 int dstcomp,
642 int numcomp,
643 int nghost);
644
645 static void Subtract (MultiFab& dst,
646 const MultiFab& src,
647 int srccomp,
648 int dstcomp,
649 int numcomp,
650 const IntVect& nghost);
655 static void Multiply (MultiFab& dst,
656 const MultiFab& src,
657 int srccomp,
658 int dstcomp,
659 int numcomp,
660 int nghost);
661
662 static void Multiply (MultiFab& dst,
663 const MultiFab& src,
664 int srccomp,
665 int dstcomp,
666 int numcomp,
667 const IntVect& nghost);
672 static void Divide (MultiFab& dst,
673 const MultiFab& src,
674 int srccomp,
675 int dstcomp,
676 int numcomp,
677 int nghost);
678
679 static void Divide (MultiFab& dst,
680 const MultiFab& src,
681 int srccomp,
682 int dstcomp,
683 int numcomp,
684 const IntVect& nghost);
688 static void Saxpy (MultiFab& dst,
689 Real a,
690 const MultiFab& src,
691 int srccomp,
692 int dstcomp,
693 int numcomp,
694 int nghost);
695
697
701 static void Xpay (MultiFab& dst,
702 Real a,
703 const MultiFab& src,
704 int srccomp,
705 int dstcomp,
706 int numcomp,
707 int nghost);
708
710
714 static void LinComb (MultiFab& dst,
715 Real a,
716 const MultiFab& x,
717 int xcomp,
718 Real b,
719 const MultiFab& y,
720 int ycomp,
721 int dstcomp,
722 int numcomp,
723 int nghost);
724
726
730 static void AddProduct (MultiFab& dst,
731 const MultiFab& src1,
732 int comp1,
733 const MultiFab& src2,
734 int comp2,
735 int dstcomp,
736 int numcomp,
737 int nghost);
738
739 static void AddProduct (MultiFab& dst,
740 const MultiFab& src1,
741 int comp1,
742 const MultiFab& src2,
743 int comp2,
744 int dstcomp,
745 int numcomp,
746 const IntVect& nghost);
747
757 [[nodiscard]] bool is_finite (bool local=false) const;
758 [[nodiscard]] bool is_finite (int scomp, int ncomp, int ngrow = 0, bool local=false) const;
759 [[nodiscard]] bool is_finite (int scomp, int ncomp, const IntVect& ngrow, bool local=false) const;
760
770 [[nodiscard]] bool contains_nan (bool local=false) const;
771 [[nodiscard]] bool contains_nan (int scomp, int ncomp, int ngrow = 0, bool local=false) const;
772 [[nodiscard]] bool contains_nan (int scomp, int ncomp, const IntVect& ngrow, bool local=false) const;
781 [[nodiscard]] bool contains_inf (bool local=false) const;
782 [[nodiscard]] bool contains_inf (int scomp, int ncomp, int ngrow = 0, bool local=false) const;
783 [[nodiscard]] bool contains_inf (int scomp, int ncomp, const IntVect& ngrow, bool local=false) const;
784
788 [[nodiscard]] std::unique_ptr<MultiFab> OverlapMask (const Periodicity& period = Periodicity::NonPeriodic()) const;
790 [[nodiscard]] std::unique_ptr<iMultiFab> OwnerMask (const Periodicity& period = Periodicity::NonPeriodic()) const;
791
793 void AverageSync (const Periodicity& period = Periodicity::NonPeriodic());
795 void WeightedSync (const MultiFab& wgt, const Periodicity& period = Periodicity::NonPeriodic());
813 void OverrideSync (const iMultiFab& msk, const Periodicity& period = Periodicity::NonPeriodic());
814
816
817 static void Initialize ();
818 static void Finalize ();
819
820private:
821 //
825
826 void initVal ();
827};
828
829#ifndef _MSC_VER
830inline void GccPlacaterMF ()
831{
832 std::allocator<MultiFab*> a1;
833 std::allocator<MultiFab const*> a2;
834 std::allocator<FabArray<FArrayBox>*> a3;
835 std::allocator<FabArray<FArrayBox> const*> a4;
836
841}
842#endif
843
844}
845
846#endif /*BL_MULTIFAB_H*/
Assertion macros used across AMReX for runtime consistency checks.
BaseFab container template providing box-based field storage.
Floating-point specialization of BaseFab plus FAB I/O helpers.
Reduction helpers and utility algorithms for FabArray objects.
Distributed container of FAB objects plus copy and fill utilities.
Abstract base class for memory arenas.
Definition AMReX_Arena.H:154
Reference-counted collection of Boxes.
Definition AMReX_BoxArray.H:681
Calculates the distribution of FABs to MPI processes.
Definition AMReX_DistributionMapping.H:55
A Fortran Array of REALs.
Definition AMReX_FArrayBox.H:237
CopyComTag::CopyComTagsContainer CopyComTagsContainer
Definition AMReX_FabArrayBase.H:236
CopyComTag::MapOfCopyComTagContainers MapOfCopyComTagContainers
Definition AMReX_FabArrayBase.H:237
An Array of FortranArrayBox(FAB)-like Objects.
Definition AMReX_FabArray.H:383
FabArray() noexcept
Definition AMReX_FabArray.H:2386
Abstract factory interface for creating, aliasing, and destroying FAB objects.
Definition AMReX_FabFactory.H:73
A collection (stored as an array) of FArrayBox objects.
Definition AMReX_MultiFab.H:40
static void LinComb(MultiFab &dst, Real a, const MultiFab &x, int xcomp, Real b, const MultiFab &y, int ycomp, int dstcomp, int numcomp, int nghost)
dst = a*x + b*y
Definition AMReX_MultiFab.cpp:311
void define(const BoxArray &bxs, const DistributionMapping &dm, int nvar, int ngrow, const MFInfo &info=MFInfo(), const FabFactory< FArrayBox > &factory=FArrayBoxFactory())
Definition AMReX_MultiFab.cpp:524
void invert(Real numerator, int comp, int num_comp, int nghost=0)
Replaces the value of each cell in the specified subregion of the MultiFab with its reciprocal multip...
Definition AMReX_MultiFab.cpp:1652
void minus(const MultiFab &mf, int strt_comp, int num_comp, int nghost)
This function subtracts the values of the cells in mf from the corresponding cells of this MultiFab....
Definition AMReX_MultiFab.cpp:1593
Real norm0(int comp=0, int nghost=0, bool local=false, bool ignore_covered=false) const
Returns the maximum absolute value contained in component comp of the MultiFab.
Definition AMReX_MultiFab.cpp:1165
static void Swap(MultiFab &dst, MultiFab &src, int srccomp, int dstcomp, int numcomp, int nghost)
Swap from src to dst including nghost ghost cells. The two MultiFabs MUST have the same underlying Bo...
Definition AMReX_MultiFab.cpp:218
std::unique_ptr< iMultiFab > OwnerMask(const Periodicity &period=Periodicity::NonPeriodic()) const
Owner is the grid with the lowest grid number containing the data.
Definition AMReX_MultiFab.cpp:1757
static void Add(MultiFab &dst, const MultiFab &src, int srccomp, int dstcomp, int numcomp, int nghost)
Add src to dst including nghost ghost cells. The two MultiFabs MUST have the same underlying BoxArray...
Definition AMReX_MultiFab.cpp:156
bool contains_nan(bool local=false) const
Are there any NaNs in the MF? This may return false, even if the MF contains NaNs,...
Definition AMReX_MultiFab.cpp:671
static void Saxpy(MultiFab &dst, Real a, const MultiFab &src, int srccomp, int dstcomp, int numcomp, int nghost)
dst += a*src
Definition AMReX_MultiFab.cpp:297
Real min(int comp, int nghost=0, bool local=false) const
Returns the minimum value contained in component comp of the MultiFab.
Definition AMReX_MultiFab.cpp:735
Real norm1(int comp, const Periodicity &period, bool ignore_covered=false) const
Returns the L1 norm of component comp over the MultiFab.
Definition AMReX_MultiFab.cpp:1327
static void Subtract(MultiFab &dst, const MultiFab &src, int srccomp, int dstcomp, int numcomp, int nghost)
Subtract src from dst including nghost ghost cells. The two MultiFabs MUST have the same underlying B...
Definition AMReX_MultiFab.cpp:237
static void Multiply(MultiFab &dst, const MultiFab &src, int srccomp, int dstcomp, int numcomp, int nghost)
Multiply dst by src including nghost ghost cells. The two MultiFabs MUST have the same underlying Box...
Definition AMReX_MultiFab.cpp:257
static void AddProduct(MultiFab &dst, const MultiFab &src1, int comp1, const MultiFab &src2, int comp2, int dstcomp, int numcomp, int nghost)
dst += src1*src2
Definition AMReX_MultiFab.cpp:320
bool is_finite(bool local=false) const
Are the numbers in the MF finite (i.e., neither nan nor inf)? This may return true,...
Definition AMReX_MultiFab.cpp:613
static void Initialize()
Definition AMReX_MultiFab.cpp:427
void AverageSync(const Periodicity &period=Periodicity::NonPeriodic())
Sync up nodal data via averaging.
Definition AMReX_MultiFab.cpp:1763
bool contains_inf(bool local=false) const
Are there any Infs in the MF? This may return false, even if the MF contains Infs,...
Definition AMReX_MultiFab.cpp:729
static void Xpay(MultiFab &dst, Real a, const MultiFab &src, int srccomp, int dstcomp, int numcomp, int nghost)
dst = src + a*dst
Definition AMReX_MultiFab.cpp:304
static void Divide(MultiFab &dst, const MultiFab &src, int srccomp, int dstcomp, int numcomp, int nghost)
Divide dst by src including nghost ghost cells. The two MultiFabs MUST have the same underlying BoxAr...
Definition AMReX_MultiFab.cpp:277
void mult(Real val, int comp, int num_comp, int nghost=0)
Scales the value of each cell in the specified subregion of the MultiFab by the scalar val (a[i] <- a...
Definition AMReX_MultiFab.cpp:1632
void plus(Real val, int comp, int num_comp, int nghost=0)
Adds the scalar value val to the value of each cell in the specified subregion of the MultiFab.
Definition AMReX_MultiFab.cpp:1605
static void Copy(MultiFab &dst, const MultiFab &src, int srccomp, int dstcomp, int numcomp, int nghost)
Copy from src to dst including nghost ghost cells. The two MultiFabs MUST have the same underlying Bo...
Definition AMReX_MultiFab.cpp:198
Real max(int comp, int nghost=0, bool local=false) const
Returns the maximum value contained in component comp of the MultiFab.
Definition AMReX_MultiFab.cpp:924
MultiFab() noexcept
Constructs an empty MultiFab.
Definition AMReX_MultiFab.cpp:448
void divide(const MultiFab &mf, int strt_comp, int num_comp, int nghost)
This function divides the values of the cells in mf from the corresponding cells of this MultiFab....
Definition AMReX_MultiFab.cpp:1599
void negate(int comp, int num_comp, int nghost=0)
Negates the value of each cell in the specified subregion of the MultiFab. The subregion consists of ...
Definition AMReX_MultiFab.cpp:1672
MultiFab & operator=(MultiFab &&rhs) noexcept=default
MultiFab deepCopy() const
Definition AMReX_MultiFab.cpp:176
void WeightedSync(const MultiFab &wgt, const Periodicity &period=Periodicity::NonPeriodic())
Sync up nodal data with weights.
Definition AMReX_MultiFab.cpp:1778
MultiFab(const MultiFab &rhs)=delete
~MultiFab()
Definition AMReX_MultiFab.cpp:509
static void Finalize()
Definition AMReX_MultiFab.cpp:443
std::unique_ptr< MultiFab > OverlapMask(const Periodicity &period=Periodicity::NonPeriodic()) const
Return a mask indicating how many duplicates are in each point.
Definition AMReX_MultiFab.cpp:1690
void OverrideSync(const iMultiFab &msk, const Periodicity &period=Periodicity::NonPeriodic())
Synchronize nodal data. The synchronization will override valid regions by the intersecting valid reg...
Definition AMReX_MultiFab.cpp:1799
This provides length of period for periodic domains. 0 means it is not periodic in that direction....
Definition AMReX_Periodicity.H:17
static const Periodicity & NonPeriodic() noexcept
Definition AMReX_Periodicity.cpp:52
This class is a thin wrapper around std::vector. Unlike vector, Vector::operator[] provides bound che...
Definition AMReX_Vector.H:29
A Collection of IArrayBoxes.
Definition AMReX_iMultiFab.H:34
amrex_real Real
Floating Point Type for Fields.
Definition AMReX_REAL.H:80
static Real Dot(const MultiFab &x, int xcomp, const MultiFab &y, int ycomp, int numcomp, int nghost, bool local=false)
Returns the dot product of two MultiFabs.
Definition AMReX_MultiFab.cpp:37
Real sum(int comp=0, bool local=false) const
Returns the sum of component "comp" over the MultiFab – no ghost cells are included.
Definition AMReX_MultiFab.cpp:1430
IntVect maxIndex(int comp, int nghost=0) const
Definition AMReX_MultiFab.cpp:1151
Vector< Real > norminf(const Vector< int > &comps, int nghost=0, bool local=false, bool ignore_covered=false) const
Definition AMReX_MultiFab.H:235
Real norminf(int comp=0, int nghost=0, bool local=false, bool ignore_covered=false) const
Definition AMReX_MultiFab.H:202
Real norm2(int comp=0) const
Returns the L2 norm of component comp over the MultiFab. No ghost cells are used.
Definition AMReX_MultiFab.cpp:1222
IntVect minIndex(int comp, int nghost=0) const
Definition AMReX_MultiFab.cpp:1143
Real norminf(const iMultiFab &mask, int comp=0, int nghost=0, bool local=false) const
Definition AMReX_MultiFab.H:213
Real sum_unique(int comp=0, bool local=false, const Periodicity &period=Periodicity::NonPeriodic()) const
Same as sum with local =false, but for non-cell-centered data, this only adds non-unique points that ...
Definition AMReX_MultiFab.cpp:1478
Definition AMReX_Amr.cpp:50
MakeType
Definition AMReX_MakeType.H:7
__host__ __device__ void ignore_unused(const Ts &...)
No-op helper that marks variables as intentionally unused.
Definition AMReX.H:273
BoxND< 3 > Box
Box is an alias for amrex::BoxND instantiated with AMREX_SPACEDIM.
Definition AMReX_BaseFwd.H:35
void LinComb(MF &dst, typename MF::value_type a, MF const &src_a, int acomp, typename MF::value_type b, MF const &src_b, int bcomp, int dcomp, int ncomp, IntVect const &nghost)
dst = a*src_a + b*src_b
Definition AMReX_FabArrayUtility.H:2254
@ y
Definition AMReX_Orientation.H:14
@ x
Definition AMReX_Orientation.H:14
DefaultFabFactory< FArrayBox > FArrayBoxFactory
Definition AMReX_FArrayBox.H:547
FabArray< BaseFab< float > > fMultiFab
Definition AMReX_MultiFab.H:19
IntVectND< 3 > IntVect
IntVect is an alias for amrex::IntVectND instantiated with AMREX_SPACEDIM.
Definition AMReX_BaseFwd.H:38
MF::value_type norminf(MF const &mf, int scomp, int ncomp, IntVect const &nghost, bool local=false)
Return the infinity norm, with an MPI maximum unless local is true.
Definition AMReX_FabArrayUtility.H:2275
void Xpay(MF &dst, typename MF::value_type a, MF const &src, int scomp, int dcomp, int ncomp, IntVect const &nghost)
dst = src + a * dst
Definition AMReX_FabArrayUtility.H:2219
void GccPlacaterMF()
Definition AMReX_MultiFab.H:830
void OverrideSync(FabArray< FAB > &fa, FabArray< IFAB > const &msk, const Periodicity &period)
Synchronize shared nodal values using an owner mask.
Definition AMReX_FabArrayUtility.H:1656
void Saxpy(MF &dst, typename MF::value_type a, MF const &src, int scomp, int dcomp, int ncomp, IntVect const &nghost)
dst += a * src
Definition AMReX_FabArrayUtility.H:2211
FabArray memory allocation information.
Definition AMReX_FabArray.H:73