From 849721b9597d95c2d4de6bf047eb5636b587e662 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Mon, 4 Sep 2006 23:04:00 +0000 Subject: CarpetLib: Split recompose functions into regrid and recompose Split recompose functions into two stages, regrid and recompose. The first stage, regrid, changes the grid structure in the gh and dh classes. The second stage, recompose, changes the values of the actual grid functions, i.e., changes the gf and data objects. The second stage has to be called individually for every refinement level. This is necessary since the boundary conditions need to be applied after recomposing one refinement level, before the next fine refinement level can be recomposed. darcs-hash:20060904230433-dae7b-3ba1982460f57b34da11a6fbb6b4b524dc5b348f.gz --- Carpet/CarpetLib/src/th.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Carpet/CarpetLib/src/th.cc') diff --git a/Carpet/CarpetLib/src/th.cc b/Carpet/CarpetLib/src/th.cc index 0751a03e1..bf69d1b5c 100644 --- a/Carpet/CarpetLib/src/th.cc +++ b/Carpet/CarpetLib/src/th.cc @@ -34,7 +34,7 @@ th::~th () } // Modifiers -void th::recompose () +void th::regrid () { const int old_mglevels = times.size(); times.resize(h.mglevels()); -- cgit v1.2.3