<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Ian,<br>
<br>
Thanks for your reply, the particularly the last portion of it.<br>
<br>
I had already figured out that the assertion failure was due to
requesting CoordBase<br>
to set the domain and at the same time have an aliased multipatch
function trying<br>
to do the same. Removing the CTGamma/Coordinates thorn lead to a
whole host of<br>
errors since most CTGamma thorns depend on (inherit) it. Hence I was
also wondering<br>
which thorn to replace it with that provides a similar
implementation. Your suggestion<br>
of CartesianCoordinates just provides the answer! I will try it and
get back with <br>
feedback.<br>
<br>
Regards,<br>
Dumsani<br>
<br>
<div class="moz-cite-prefix">On 17/12/2015 12:55, Ian Hinder wrote:<br>
</div>
<blockquote
cite="mid:1A062347-4441-40AE-B7E4-C1AE4F20EA14@aei.mpg.de"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<br>
<div>
<div>On 14 Dec 2015, at 17:14, dumsani <<a
moz-do-not-send="true"
href="mailto:g14n8326@campus.ru.ac.za">g14n8326@campus.ru.ac.za</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">Hi All,<br>
<br>
I am working with some piece of code based on a multipatch
coordinate system<br>
(llama, <a moz-do-not-send="true"
href="http://dx.doi.org/10.1103/PhysRevD.83.044045">http://dx.doi.org/10.1103/PhysRevD.83.044045</a>).
Currently, I'm interested<br>
in doing a test in a cubical kind of domain, that is, without
the multipatch system.<br>
Closely following the qc0-mclachlan.par parameter file
(ET_2014_05), I converted<br>
my multipatch parameter file to use the following:<br>
Carpet::domain_from_multipatch = "no"<br>
Carpet::domain_from_coordbase = yes<br>
CartGrid3D::type = "coordbase"<br>
<br>
Unlike when using a multipatch sysytem, I've had to add the
ReflectionSymmetry<br>
thorn in my thornlist for running on a cubical grid. The
simulation is able to build<br>
successfully. But when running, it breaks with the following
error from Carpet:<br>
cactus/arrangements/Carpet/Carpet/src/<a
moz-do-not-send="true" href="http://SetupGH.cc">SetupGH.cc</a>:1744:
void Carpet::get_domain_specification(const cGH*, int, const
ivect&, rvect&, rvect&, rvect&): Assertion
`not CCTK_IsFunctionAliased
("MultiPatch_GetDomainSpecification")' failed.<br>
<br>
Looking at the function that fails and a few ideas I got from
the user mailing list, my naive<br>
thought is that this might possibly be an issue of cctk_lsh vs
cctk_ash in Carpet.<br>
(e.g. <a moz-do-not-send="true"
href="http://lists.einsteintoolkit.org/pipermail/users/2014-October/003849.html">http://lists.einsteintoolkit.org/pipermail/users/2014-October/003849.html</a>).
But I'm yet<br>
to test this idea. The code I'm working with uses cctk_lsh.<br>
<br>
I would gladly appreciate help from anyone who could have an
idea about this.<br>
<br>
I'm using ET_2014_05 release of the EinsteinToolkit/Cactus. I
have attached my test<br>
parameter file for viewing in case it will be useful in
diagnosing the problem(s).<br>
<br>
Thank you in advance for your kind assistance.<br>
</blockquote>
<div><br>
</div>
<div>Hi Dumsani,</div>
<div><br>
</div>
<div>The relevant lines in Carpet, in
SetupGH.c/get_domain_specification, require that if you
set domain_from_coordbase, then you must not have the
function MultiPatch_GetDomainSpecification available in an
active thorn. In other words, you can't activate a thorn
which provides multipatch at the same time as getting the
domain from CoordBase. You have the Coordinates thorn active,
which provides multipatch (or more specifically, it provides
the aliased function MultiPatch_GetDomainSpecification), hence
this error. You will need to remove Coordinates from your
ActiveThorns. </div>
<div><br>
</div>
<div>At that point, it's possible that CTGamma will complain,
because I think it requires some basic multipatch
functionality. The thorn CTGamma/CartesianCoordinates is
provided for this case, so if you run into problems after
deactivating Coordinates, try activating CartesianCoordinates.</div>
<div><br>
</div>
<div>I attach an old parameter file which uses CTGamma on a
Cartesian grid. I have not run this with the current version
of the code, but it used to work at some point!</div>
</div>
<br>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap:
break-word; -webkit-nbsp-mode: space; -webkit-line-break:
after-white-space;">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;">
<div>-- </div>
<div>Ian Hinder</div>
<div><a moz-do-not-send="true"
href="http://members.aei.mpg.de/ianhin">http://members.aei.mpg.de/ianhin</a></div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</blockquote>
<br>
</body>
</html>