[Users] Adding gridfunction output mid-subroutine?
Ian Hinder
ian.hinder at aei.mpg.de
Tue May 1 10:43:33 CDT 2012
On 1 May 2012, at 17:25, Frank Loeffler wrote:
> On Tue, May 01, 2012 at 08:16:03AM -0700, Scott Hawley wrote:
>> Is there a way to, e.g. call CarpetIOHDF5, from the middle of a subroutine
>> -- apart from "scheduling" the output?
>
> That should be possible using CCTK_OutputVarAsByMethod, see below.
See https://bitbucket.org/ianhinder/substepoutput/src/68caba7fa824/src/substepoutput.cc for an example.
--
Ian Hinder
http://numrel.aei.mpg.de/people/hinder
More information about the Users
mailing list