[ET Trac] #2579: CT_MultiLevel implicitly requires CT_Analytic
Gabriele Bozzola
trac-noreply at einsteintoolkit.org
Tue Nov 23 13:52:38 CST 2021
#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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20211123/64bb4c48/attachment.html
More information about the Trac
mailing list