Chombo + EB  3.2
timeInterp.H
Go to the documentation of this file.
1 #ifdef CH_LANG_CC
2 /*
3  * _______ __
4  * / ___/ / ___ __ _ / / ___
5  * / /__/ _ \/ _ \/ V \/ _ \/ _ \
6  * \___/_//_/\___/_/_/_/_.__/\___/
7  * Please refer to Copyright.txt, in Chombo's root directory.
8  */
9 #endif
10 
11 #ifndef _TIMEINTERP_H_
12 #define _TIMEINTERP_H_
13 
14 #include "LevelData.H"
15 #include "FArrayBox.H"
16 #include "Interval.H"
17 #include "NamespaceHeader.H"
18 
19 /// interpolate data in time -- assumes one-to-one correspondence in comps
20 void
21 timeInterp(LevelData<FArrayBox>& a_dest, Real a_time,
22  const LevelData<FArrayBox>& a_old_phi, Real a_old_time,
23  const LevelData<FArrayBox>& a_new_phi, Real a_new_time,
24  const Interval& a_comps);
25 
26 /// interpolate data in time -- dest comps can be misaligned with src comps
27 void
28 timeInterp(LevelData<FArrayBox>& a_dest, Real a_time,
29  const LevelData<FArrayBox>& a_old_phi, Real a_old_time,
30  const LevelData<FArrayBox>& a_new_phi, Real a_new_time,
31  const Interval& a_src_comps, const Interval& a_dest_comps);
32 
33 #include "NamespaceFooter.H"
34 
35 #endif
Structure for passing component ranges in code.
Definition: Interval.H:23
double Real
Definition: REAL.H:33
void timeInterp(LevelData< FArrayBox > &a_dest, Real a_time, const LevelData< FArrayBox > &a_old_phi, Real a_old_time, const LevelData< FArrayBox > &a_new_phi, Real a_new_time, const Interval &a_comps)
interpolate data in time – assumes one-to-one correspondence in comps