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.