[Users] Einstein Toolkit Meeting Reminder

2022-07-06 Thread reminders
Hello,

Please consider joining the weekly Einstein Toolkit phone call at
8:30 am US central time on Thursdays. For details on how to connect
and what agenda items are to be discussed, use the link below.

https://docs.einsteintoolkit.org/et-docs/Main_Page#Weekly_Users_Call

--The Maintainers
___
Users mailing list
Users@einsteintoolkit.org
http://lists.einsteintoolkit.org/mailman/listinfo/users


Re: [Users] CCTK_CoordRange

2022-07-06 Thread Roland Haas
Hello David,

This fnction has been deprecated for a very long time. It is not really
likely to go away "soon", really.

The docs
(https://einsteintoolkit.org/referencemanual/ReferenceManual.html#x1-33000A2)
suggest using thorn CoordBase's APIs. Unfortunately its docs
(https://einsteintoolkit.org/thornguide/CactusBase/CoordBase/documentation.html)
do not really say what to use. 

The function to use would be GetDomainSpecification, described in its
interface.ccl file
(https://bitbucket.org/cactuscode/cactusbase/src/921e6604ea87fa5a2773fa5ba86450ce797c3c6a/CoordBase/interface.ccl#lines-85):

CCTK_INT FUNCTION GetDomainSpecification \
  (CCTK_INT IN size, \
   CCTK_REAL OUT ARRAY physical_min, \
   CCTK_REAL OUT ARRAY physical_max, \
   CCTK_REAL OUT ARRAY interior_min, \
   CCTK_REAL OUT ARRAY interior_max, \
   CCTK_REAL OUT ARRAY exterior_min, \
   CCTK_REAL OUT ARRAY exterior_max, \
   CCTK_REAL OUT ARRAY spacing)


with the "obvious" arguments being passed to it ("size" is the
dimension of the arrays and the arrays are arrays of CCTK_REAL).

Note that this will only work for Cartesian only simulations, and not
for those using curvilinear coordinates provided by Llama (multipatch
simulations).

Yours,
Roland


On Wed, 6 Jul 2022 16:05:04 +
"Garrison, David"  wrote:

> Hello,
> 
> I just noticed that CCTK_CoordRange is depreciated and will be phased
> out soon.  What should I use instead to find min/max values of
> coordinates?  I could do reduction operations on the coordinate grid
> functions but that seems like a less elegant solution.
> 
> -DG
> 
> --
> David Garrison, Ph.D.
> Interim Associate Dean for the College of Science and Engineering,
> Professor and Former Chair of Physics University of Houston-Clear Lake
> Bayou 3611
> Houston, TX 77058
> 
> Tel: 281-283-3796
> Fax: 281-283-3709
> https://urldefense.com/v3/__http://sce.uhcl.edu/garrison__;!!DZ3fjg!4jCOm4y96s1fP5C9W_RJDweNcCzD4R41adFLIxMnV-9rWaj67-KwXK6bNaT199_TorlMmLWgjuR-qhky86E$
>  
> https://urldefense.com/v3/__http://www.uhcl.edu/physics__;!!DZ3fjg!4jCOm4y96s1fP5C9W_RJDweNcCzD4R41adFLIxMnV-9rWaj67-KwXK6bNaT199_TorlMmLWgjuR-DR_4aV8$
>  
> 
> "If we knew what it was we were doing, it would not be called
> research, would it?" ‹ Albert Einstein.
> 
> 
> 
> 

___
Users mailing list
Users@einsteintoolkit.org
http://lists.einsteintoolkit.org/mailman/listinfo/users


[Users] CCTK_CoordRange

2022-07-06 Thread Garrison, David
Hello,

I just noticed that CCTK_CoordRange is depreciated and will be phased out soon. 
 What should I use instead to find min/max values of coordinates?  I could do 
reduction operations on the coordinate grid functions but that seems like a 
less elegant solution.

-DG

--
David Garrison, Ph.D.
Interim Associate Dean for the College of Science and Engineering, Professor 
and Former Chair of Physics
University of Houston-Clear Lake
Bayou 3611
Houston, TX 77058

Tel: 281-283-3796
Fax: 281-283-3709
http://sce.uhcl.edu/garrison
http://www.uhcl.edu/physics

"If we knew what it was we were doing, it would not be called research,
would it?" ‹ Albert Einstein.




___
Users mailing list
Users@einsteintoolkit.org
http://lists.einsteintoolkit.org/mailman/listinfo/users