diff options
author | diener <diener@f69c4107-0314-4c4f-9ad4-17e986b73f4a> | 2007-10-16 14:45:23 +0000 |
---|---|---|
committer | diener <diener@f69c4107-0314-4c4f-9ad4-17e986b73f4a> | 2007-10-16 14:45:23 +0000 |
commit | f4cc81a52f102c61b07178b88d4a560b307d928f (patch) | |
tree | ae8d9b3dcbf84f6c2180622f0e7da3661d4fdcd4 /src/call_up_derivs.c | |
parent | bb568eb19331f243f79abc3a5b3e9331959c8773 (diff) |
Moved definitions of coefficients to a single module in order to only have
them in one place. Added routines to return coefficients in all the
missing cases. Also added routines to return 2 derivatives (only 2-1 and
4-2 so far). The routines calculating derivatives for whole grid functions
have not been tested yet, so if you are using them, you will probably want
to hold off on updating until I give the clear signal.
git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@85 f69c4107-0314-4c4f-9ad4-17e986b73f4a
Diffstat (limited to 'src/call_up_derivs.c')
-rw-r--r-- | src/call_up_derivs.c | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/src/call_up_derivs.c b/src/call_up_derivs.c index 10607a1..fbae767 100644 --- a/src/call_up_derivs.c +++ b/src/call_up_derivs.c @@ -146,32 +146,6 @@ void DiffUpGv ( const CCTK_POINTER_TO_CONST cctkGH_, const CCTK_INT dir, } } } else { - if ( CCTK_Equals(operator_type,"Minimal Bandwidth") ) { - switch(loc_order) { -/* case 4: { - CCTK_FNAME(deriv_gf_4_3)(var,&ni,&nj,&nk,&dir,bb,&gsize,&delta,dvar); - break; - } - case 6: { - CCTK_FNAME(deriv_gf_6_5)(var,&ni,&nj,&nk,&dir,bb,&gsize,&delta,dvar); - break; - } */ - default: - CCTK_WARN (0, "Unknown stencil specified"); - } - } else { - switch(loc_order) { -/* case 4: { - CCTK_FNAME(deriv_gf_4_3_opt)(var,&ni,&nj,&nk,&dir,bb,&gsize,&delta,dvar); - break; - } - case 6: { - CCTK_FNAME(deriv_gf_6_5_opt)(var,&ni,&nj,&nk,&dir,bb,&gsize,&delta,dvar); - break; - } */ - default: - CCTK_WARN (0, "Unknown stencil specified"); - } - } + CCTK_WARN (0, "Upwinding stencils not implemented for non-diagonal operators"); } } |