[aspect-devel] read parameter file with Python
Wolfgang Bangerth
bangerth at colostate.edu
Thu Feb 22 14:45:18 PST 2018
On 02/21/2018 03:12 PM, Marine Lasbleis wrote:
> Thanks for the info!
>
> A JSON file would definitely do it.
> I’ll have a look how to output it.
The latex file is output here:
https://github.com/geodynamics/aspect/blob/master/source/simulator/core.cc#L646
You could just output the same content in JSON format immediately after this
into a separate file.
The function you want to call is ParameterHandler::print_parameters(), see
https://www.dealii.org/developer/doxygen/deal.II/classParameterHandler.html#a3dfbd280d718ee792f62a7081185ac02
The OutputStyle options are defined if you click on the second argument of
that function.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth at colostate.edu
www: http://www.math.colostate.edu/~bangerth/
More information about the Aspect-devel
mailing list