From c23315efb5b4fea80c92f747173e47a7d29d644d Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Fri, 12 Jan 2007 20:58:00 +0000 Subject: CarpetLib: Reorganise prolongation and restriction operators Reorganise prolongation and restriction operators. This is a major implementation change. Most operators are now written as C++ templates instead of as Fortran 77 code. This simplifies the code, since C++ routines can be called more easily, and they also have access to CarpetLib's high-level data structures. Previously, the operators combined temporal and spatial interpolation. Now, time interpolation and space interpolation are handled separately. This may be less efficient, but simplifies the code significantly, since there are now N+M instead of N*M routines, for N time interpolation and M space interpolation methods. Remove the minmod prolongation operator, which was previously disabled. Add support for cell centering, using a method described by Simon Hern, and suggested for Carpet by Ian Hawke. darcs-hash:20070112205812-dae7b-5329795aa698e7bbc3671b1504134885dd830238.gz --- Carpet/CarpetLib/src/timestat.hh | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'Carpet/CarpetLib/src/timestat.hh') diff --git a/Carpet/CarpetLib/src/timestat.hh b/Carpet/CarpetLib/src/timestat.hh index a262c4dbf..811369306 100644 --- a/Carpet/CarpetLib/src/timestat.hh +++ b/Carpet/CarpetLib/src/timestat.hh @@ -92,18 +92,8 @@ extern timestat wtime_commstate_interpolate_to_isend; extern timestat wtime_restrict; extern timestat wtime_prolongate; -extern timestat wtime_prolongate_copy; -extern timestat wtime_prolongate_Lagrange_0; -extern timestat wtime_prolongate_Lagrange_1; -extern timestat wtime_prolongate_Lagrange_2; -extern timestat wtime_prolongate_TVD_0; -extern timestat wtime_prolongate_TVD_1; -extern timestat wtime_prolongate_TVD_2; -extern timestat wtime_prolongate_ENO_0; -extern timestat wtime_prolongate_ENO_1; -extern timestat wtime_prolongate_ENO_2; -extern timestat wtime_prolongate_WENO_0; -extern timestat wtime_prolongate_WENO_1; -extern timestat wtime_prolongate_WENO_2; +extern timestat wtime_prolongate_Lagrange; +extern timestat wtime_prolongate_ENO; +extern timestat wtime_prolongate_WENO; #endif // TIMESTAT_HH -- cgit v1.2.3