[ET Trac] [Einstein Toolkit] #2192: schedule.ccl SYNC allows for [timelevels] suffixes

Einstein Toolkit trac-noreply at einsteintoolkit.org
Wed Nov 7 13:33:07 CST 2018


#2192: schedule.ccl SYNC allows for [timelevels] suffixes
-------------------------+---------------------------------
  Reporter:  zachetie@…  |      Owner:  Steven R. Brandt
      Type:  defect      |     Status:  assigned
  Priority:  unset       |  Milestone:
 Component:  Other       |    Version:  development version
Resolution:              |   Keywords:  piraha
-------------------------+---------------------------------

Comment (by Roland Haas):

 I think so, yes. The syntax of schedule.ccl files is defined in the
 UserGuide
 (https://www.einsteintoolkit.org/usersguide/UsersGuidech12.html#x17-186000D2.4)
 where it says
 {{{
  schedule [GROUP] <function name|group name> AT|IN <time> \
      [AS <alias>] \
      [WHILE <variable>] [IF <variable>] \
      [BEFORE|AFTER <function name>|(<function name> <function name> ...)]
 \
 {
   [LANG: <language>]
   [OPTIONS:       <option>,<option>...]
   [TAGS:          <keyword=value>,<keyword=value>...]
   [STORAGE:       <group>[timelevels],<group>[timelevels]...]
   [READS:         <group>,<group>...]
   [WRITES:        <group>,<group>...]
   [TRIGGER:       <group>,<group>...]
   [SYNCHRONISE:   <group>,<group>...]
   [OPTIONS:       <option>,<option>...]
 } "Description of function"

 [...]

  <group>
     A group of grid variables. Variable groups inherited from other
 thorns may be used, but they must then be fully qualified with the
 implementation name.
 }}}
 and a group name is defined in interface.ccl's doc
 (https://www.einsteintoolkit.org/usersguide/UsersGuidech12.html#x17-178000D2.2)
 where is says
 {{{
 <data_type> <group_name>[[<number>]] [TYPE=<group_type>] [DIM=<dim>]
 [TIMELEVELS=<num>]
 [SIZE=<size in each direction>] [DISTRIB=<distribution_type>]
 [GHOSTSIZE=<ghostsize>]
 [TAGS=<string>]  ["<group_description>"]
 [{
  [ <variable_name>[,]<variable_name>
    <variable_name> ]
 } ["<group_description>"] ]

 [...]
 * group_name must be an alphanumeric name (which may also contain
 underscores) which is unique across group and variable names within
 the scope of the thorn.
 }}}

 Meaning "forbid everything that is not either a alphanumeric string or
 such a string followed by :: and an alphanumeric string".

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/2192#comment:3>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list