11 #ifndef _PIECEWISELINEARFILLPATCH_H_ 12 #define _PIECEWISELINEARFILLPATCH_H_ 22 #include "NamespaceHeader.H" 159 const Box& a_crse_problem_domain,
162 bool a_pwconst_interp_only =
false 184 bool a_pwconst_interp_only =
false 209 const Box& a_crse_problem_domain,
212 bool a_pwconst_interp_only =
false 240 bool a_pwconst_interp_only =
false 284 Real a_time_interp_coef,
320 Real a_time_interp_coef,
340 const int & a_src_comp,
341 const int & a_num_comp,
352 const int & a_src_comp,
353 const int & a_num_comp,
354 const Box & a_slopeBox);
396 #include "NamespaceFooter.H" virtual void fillConstantInterp(LevelData< FArrayBox > &a_fine_data, int a_src_comp, int a_dest_comp, int a_num_comp) const
virtual void computeSlopes(int a_src_comp, int a_num_comp)
An irregular domain on an integer lattice.
Definition: IntVectSet.H:44
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
void define(const DisjointBoxLayout &a_fine_domain, const DisjointBoxLayout &a_coarse_domain, int a_num_comps, const Box &a_crse_problem_domain, int a_ref_ratio, int a_interp_radius, bool a_pwconst_interp_only=false)
Fills ghost cells by linear interpolation in space and time.
Definition: PiecewiseLinearFillPatch.H:128
LayoutData< IntVectSet > m_coarse_centered_interp[SpaceDim]
Definition: PiecewiseLinearFillPatch.H:385
Copier m_coarsenCopier
Definition: PiecewiseLinearFillPatch.H:389
bool getNearPeriodic(const Box &a_box, const ProblemDomain &a_pdom, const int &a_rad)
A strange but true thing to make copying from one boxlayoutdata to another fast.
Definition: Copier.H:145
virtual void incrementLinearInterp(LevelData< FArrayBox > &a_fine_data, int a_src_comp, int a_dest_comp, int a_num_comp) const
LevelData< FArrayBox > m_coarsened_fine_data
Definition: PiecewiseLinearFillPatch.H:376
LayoutData< IntVectSet > m_coarse_lo_interp[SpaceDim]
Definition: PiecewiseLinearFillPatch.H:386
const int SpaceDim
Definition: SPACE.H:38
void computeSimpleSlopesFab(FArrayBox &a_slopeFab, const int &a_src_comp, const int &a_num_comp, const int &a_dir, const FArrayBox &a_dataFab, const IntVectSet &a_local_centered_interp, const IntVectSet &a_local_lo_interp, const IntVectSet &a_local_hi_interp)
LevelData< FArrayBox > m_slopes[3]
Definition: PiecewiseLinearFillPatch.H:378
int m_interp_radius
Definition: PiecewiseLinearFillPatch.H:374
bool m_is_defined
Definition: PiecewiseLinearFillPatch.H:367
double Real
Definition: REAL.H:33
int m_ref_ratio
Definition: PiecewiseLinearFillPatch.H:372
LayoutData< IntVectSet > m_fine_interp
Definition: PiecewiseLinearFillPatch.H:382
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
PiecewiseLinearFillPatch()
static const int s_stencil_radius
Definition: PiecewiseLinearFillPatch.H:370
Definition: FArrayBox.H:45
LayoutData< IntVectSet > m_coarse_hi_interp[SpaceDim]
Definition: PiecewiseLinearFillPatch.H:387
ProblemDomain m_crse_problem_domain
Definition: PiecewiseLinearFillPatch.H:380
void timeInterp(const LevelData< FArrayBox > &a_old_coarse_data, const LevelData< FArrayBox > &a_new_coarse_data, Real a_time_interp_coef, int a_src_comp, int a_dest_comp, int a_num_comp)
void computeMultiDimSlopes(FArrayBox &a_slopes0, FArrayBox &a_slopes1, FArrayBox &a_slopes2, const FArrayBox &a_dataFab, const int &a_src_comp, const int &a_num_comp, const Box &a_slopeBox)
void fillInterp(LevelData< FArrayBox > &a_fine_data, const LevelData< FArrayBox > &a_old_coarse_data, const LevelData< FArrayBox > &a_new_coarse_data, Real a_time_interp_coef, int a_src_comp, int a_dest_comp, int a_num_comp)
virtual ~PiecewiseLinearFillPatch()
void fillInterpPWConstSpace(LevelData< FArrayBox > &a_fine_data, const LevelData< FArrayBox > &a_coarse_data, int a_src_comp, int a_dest_comp, int a_num_comp)
void printIntVectSets() const