<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p></p>
<p>Dear all,</p>
<p><br>
</p>
<p>I'm trying to extend our analysis thorn to tackle multipatch grids built with Llama. I want to use <i>Coordinates::volume_form</i> in the computation of volume integrals, by setting the corresponding parameter
<i>Coordinates::store_volume_form = yes</i>.</p>
<p><br>
</p>
<p>Our standard use case relies on <i><span>Coordinates::coordinate_system = "Thornburg04",</span></i><span> for which it works like a charm</span><i><span>. </span></i><span>However, except for this system and the analogous Thornburg13 (I have not tested it
so far), it seems the variable <i>Coordinates::volume_form_state</i> is not modified nor initialized, whatever the value of the parameter <i>Coordinates::store_volume_form.</i> That makes the parameter insufficient<span> by itself</span> to perform checks.
Moreover, since the flag is not initialized, we also can't simply check its value, which can be polluted. I <span>have tried to use
<i>Carpet::poison_new_timelevels = yes</i> and <i>CarpetLib::poison_new_memory = yes</i>, but it didn't seem to solve the issue.</span></span><span></span><span><br>
</span></p>
<p><span><br>
</span></p>
<p><span>Hence, I would like to ask if there's another way to check for uninitialized values, a safe way to use the variables I mentioned in a general case, or any information/subtlety I may have missed? </span></p>
<p><span><span>Ultimately, I can directly check <i><span>Coordinates::coordinate_system</span></i>, and output a warning/error if it's not of the types mentioned above. That feels a bit unsatisfactory, although I may default to it.</span></span></p>
<p><span><i><br>
</i></span></p>
<p>Thank you very much for any help or insight you can provide!</p>
<p><br>
</p>
<p>Best,</p>
<p><br>
</p>
<p>Jordan Nicoules</p>
<p><span><i><br>
</i></span></p>
<br>
<p></p>
</div>
</body>
</html>