Opened 7 years ago

Last modified 7 years ago

#449 new enhancement

Check for periodicity of initial data with Periodic thorn

Reported by: Ian Hinder Owned by:
Priority: minor Milestone:
Component: Other Version:
Keywords: Periodic Cc:


When applying periodic boundary conditions with the Periodic thorn, the thorn could check that the initial data it was given was actually periodic. This might help to track down errors in setting up parameter files.

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by Roland Haas

if we add this functionality to Periodic. Should it also be added to the Reflection/Rotating symmetry thorns? There might actually be initial data thorns out there that actually rely on the symmetry thorn to enforce symmetries and do not set anything in eg. what look like ghost zones (which will be filled in by symmetry/SYNC). An example would be an ID thorn that uses numerical derivatives eg. to get Kij from the metric, its time derivative and the spatial derivative of beta (ie. CalcK).
Are ID thorns required to fill in everything or just the interior?

comment:2 Changed 7 years ago by Erik Schnetter

All thorns are supposed to fill in all grid points. If necessary, the thorns have to synchronise and apply a boundary condition.

A generic mechanism for testing this would be to have an independent thorn that takes a grid function where supposedly all grid points are valid, makes a copy, applies a symmetry boundary condition to the original, and then compares to the copy. Any difference is an error. This would also test synchronisation and boundary conditions.

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.
Next status will be 'review'.
as The resolution will be set.
to The owner will be changed from (none) to the specified user.
Next status will be 'confirmed'.
The owner will be changed from (none) to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.