Example based on Teuchos::ParameterList documentation
Setting parameters in My_List Create a 'Preconditioner' SubList of parameters Setting parameters in Prec_List Has a solver been chosen Has a preconditioner been chosen Has tolerance been chosen and is of the expected data type Get method thtat retrieves a parameter of a particular type
Type | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|
type(ParameterList_t) | :: | My_List | ||||
type(ParameterListIterator_t) | :: | My_List_Iterator | ||||
type(ParameterList_t), | pointer | :: | Prec_List | |||
type(ParameterListIterator_t) | :: | Prec_List_Iterator | ||||
integer | :: | FPLError | ||||
logical | :: | solver_defined | ||||
logical | :: | prec_defined | ||||
logical | :: | has_same_type | ||||
real(kind=REAL64) | :: | Tolerance | ||||
character(len=:), | allocatable | :: | String |