summaryrefslogtreecommitdiff
path: root/src/refinement/coupler2D.h
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-01-15 11:24:40 +0100
committerAdrian Kummerlaender2019-06-24 15:17:09 +0200
commit08e0d597bbf9c6f4c43df071410b69812ac9a8e2 (patch)
tree3b6aa9d4964f8ba89da86466493edab32a9ddd48 /src/refinement/coupler2D.h
parentd493a9507efb3100cdf2a354c75879bfb6341f62 (diff)
downloadgrid_refinement_openlb-08e0d597bbf9c6f4c43df071410b69812ac9a8e2.tar
grid_refinement_openlb-08e0d597bbf9c6f4c43df071410b69812ac9a8e2.tar.gz
grid_refinement_openlb-08e0d597bbf9c6f4c43df071410b69812ac9a8e2.tar.bz2
grid_refinement_openlb-08e0d597bbf9c6f4c43df071410b69812ac9a8e2.tar.lz
grid_refinement_openlb-08e0d597bbf9c6f4c43df071410b69812ac9a8e2.tar.xz
grid_refinement_openlb-08e0d597bbf9c6f4c43df071410b69812ac9a8e2.tar.zst
grid_refinement_openlb-08e0d597bbf9c6f4c43df071410b69812ac9a8e2.zip
Interpolate vectors instead of scalars
Same result, nicer code
Diffstat (limited to 'src/refinement/coupler2D.h')
-rw-r--r--src/refinement/coupler2D.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/refinement/coupler2D.h b/src/refinement/coupler2D.h
index db8ac15..d43a294 100644
--- a/src/refinement/coupler2D.h
+++ b/src/refinement/coupler2D.h
@@ -60,8 +60,8 @@ public:
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,1>> _c2f_rho;
+ std::vector<Vector<T,DESCRIPTOR<T>::d>> _c2f_u;
std::vector<Vector<T,DESCRIPTOR<T>::q>> _c2f_fneq;
public: