Block-Structured AMR Software Framework
AMReX_MFCopyDescriptor.H
Go to the documentation of this file.
1 
2 #ifndef BL_MFCOPYDESCRIPTOR_H_
3 #define BL_MFCOPYDESCRIPTOR_H_
4 #include <AMReX_Config.H>
5 
7 #include <AMReX_MultiFab.H>
8 
9 namespace amrex {
10 
11 class MultiFabCopyDescriptor;
12 
14 
15 void InterpAddBox (MultiFabCopyDescriptor& fabCopyDesc,
16  BoxList* returnUnfilledBoxes,
17  Vector<FillBoxId>& returnedFillBoxIds,
18  const Box& subbox,
19  MultiFabId faid1,
20  MultiFabId faid2,
21  Real t1,
22  Real t2,
23  Real t,
24  int src_comp,
25  int dest_comp,
26  int num_comp,
27  bool extrap);
28 
29 void InterpFillFab (MultiFabCopyDescriptor& fabCopyDesc,
30  const Vector<FillBoxId>& fillBoxIds,
31  MultiFabId faid1,
32  MultiFabId faid2,
33  FArrayBox& dest,
34  Real t1,
35  Real t2,
36  Real t,
37  int src_comp,
38  int dest_comp,
39  int num_comp,
40  bool extrap);
41 
42 
44  :
45  public FabArrayCopyDescriptor<FArrayBox>
46 {
47  public:
48 
49  MultiFabCopyDescriptor () = default;
51 
56 
58 };
59 
60 }
61 
62 #endif
A class for managing a List of Boxes that share a common IndexType. This class implements operations ...
Definition: AMReX_BoxList.H:52
A Fortran Array of REALs.
Definition: AMReX_FArrayBox.H:229
This class orchestrates filling a destination fab of size destFabBox from fabarray on the local proce...
Definition: AMReX_FACopyDescriptor.H:108
FabArrayId RegisterFabArray(FabArray< FArrayBox > *fabarray)
Definition: AMReX_FACopyDescriptor.H:204
Definition: AMReX_FACopyDescriptor.H:43
Definition: AMReX_MFCopyDescriptor.H:46
MultiFabCopyDescriptor(MultiFabCopyDescriptor &&)=delete
MultiFabCopyDescriptor(const MultiFabCopyDescriptor &)=delete
MultiFabCopyDescriptor & operator=(const MultiFabCopyDescriptor &)=delete
MultiFabId RegisterMultiFab(MultiFab *mf)
Definition: AMReX_MFCopyDescriptor.H:57
A collection (stored as an array) of FArrayBox objects.
Definition: AMReX_MultiFab.H:38
This class is a thin wrapper around std::vector. Unlike vector, Vector::operator[] provides bound che...
Definition: AMReX_Vector.H:27
Definition: AMReX_Amr.cpp:49
void InterpAddBox(MultiFabCopyDescriptor &fabCopyDesc, BoxList *returnUnfilledBoxes, Vector< FillBoxId > &returnedFillBoxIds, const Box &subbox, MultiFabId faid1, MultiFabId faid2, Real t1, Real t2, Real t, int src_comp, int dest_comp, int num_comp, bool extrap)
Definition: AMReX_MFCopyDescriptor.cpp:7
void InterpFillFab(MultiFabCopyDescriptor &fabCopyDesc, const Vector< FillBoxId > &fillBoxIds, MultiFabId faid1, MultiFabId faid2, FArrayBox &dest, Real t1, Real t2, Real t, int src_comp, int dest_comp, int num_comp, bool extrap)
Definition: AMReX_MFCopyDescriptor.cpp:71