aboutsummaryrefslogtreecommitdiff
path: root/code/fineCoupler2d.cpp
blob: 4cde254934501aca36bdbad83c8724fee966ced6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
template <typename T, template<typename> class DESCRIPTOR>
class FineCoupler2D : public Coupler2D<T,DESCRIPTOR> {
private:
  std::vector<T>           _c2f_rho;
  std::vector<Vector<T,2>> _c2f_u;
  std::vector<Vector<T,DESCRIPTOR<T>::q>> _c2f_fneq;

public:
  FineCoupler2D(Grid2D<T,DESCRIPTOR>& coarse, Grid2D<T,DESCRIPTOR>& fine,
                Vector<T,2> origin, Vector<T,2> extend);

  void store();
  void interpolate();
  void couple();
};