Formaline: let use codes registers citations

Open
#20 · Created  · Last updated

Description

This introduces two new aliased function calls:

Citation_RegisterRequested(CCTK_STRING key, CCTK_STRING fullitem) Citation_RegisterSuggested(CCTK_STRING key, CCTK_STRING fullitem)

that can be called by thorns (multiple time per thorn is needed) and add a citation to an internal list of citations that Formaline keeps. Formaline then outputs the list of all requested keys in the “requested_citation_keys” entry in its formaline jar, and the full items in “requested_citations”. Similar for the suggested citations.

A sample code showing how to use this (for GRHydro, which is a Fortran code so much more tricky than a C code) can be found here: https://bitbucket.org/einsteintoolkit/einsteinevolve/commits/5707be750788f1c624f85bfebf58baa55aabbcb6?at=rhaas/citation

0 attachments

0 comments

Loading commits...