Wiki
Clone wikilifev-release / tutorial / Writing_and_reading_a_datafile
Writing and reading a datafile
LifeV makes use of two particular classes in order to forward the input data to all the objects involved in the simulation:
- the Get-Pot class (for which LifeV also provides an ad hoc re-implementation inside the core module of the library)
- the ParameterList class from the Teuchos package in Trilinos
The user can use either Get-Pot or the parser provided by the Teuchos package of Trilinos. To begin with, it is essential to understand how to write an input datafile and how to read it in LifeV. The following pages describes how to carry out those steps.
- Write a GetPot datafile - In this section the user learns how to write an input datafile using the GetPot format
- Read a GetPot datafile - In this section the user learns how to read an input datafile written in the GetPot format
- Write a ParameterList datafile - In this section the user learns how to write an input datafile using the XML format for the ParameterList parser
- Read a ParameterList datafile - In this section the user learns how to read an input datafile written in the XML format
Updated