#2579: CT_MultiLevel implicitly requires CT_Analytic
Reporter:Gabriele Bozzola
Status:new
Milestone:
Version:development version
Type:bug
Priority:major
Component:EinsteinToolkit thorn

I am trying to solve a Poisson equation with CT_MultiLevel but without including CT_Analytic (which is advertised as an helper thorn). I found that this cannot be done because CT_MultiLevel explicitly calls the restriction operations on grid functions defined in CT_Analytic. For example, in CT_RelaxError.cc:

      CT_Restrict(CCTK_PASS_CTOC, "CT_MultiLevel::psi"); 
      CT_Restrict(CCTK_PASS_CTOC, "CT_MultiLevel::coeffs"); 
      CT_Restrict(CCTK_PASS_CTOC, "CT_Analytic::CT_testK"); 
      CT_Restrict(CCTK_PASS_CTOC, "CT_Analytic::CT_testdxK"); 
      CT_Restrict(CCTK_PASS_CTOC, "CT_Analytic::CT_testdyK"); 
      CT_Restrict(CCTK_PASS_CTOC, "CT_Analytic::CT_testdzK"); 
      CT_Restrict(CCTK_PASS_CTOC, "CT_Analytic::CT_testc1"); 
      CT_Restrict(CCTK_PASS_CTOC, "CT_Analytic::CT_testc2");

If you don’t have CT_Analytic as an active thorn, the run will abort. (Are these restrictions needed?)

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2579/ct_multilevel-implicitly-requires