[Discussion] New input mechanism
name: Discussion
about: Start a discussion
label: discussion
Description Summarise, during the presentation of today we have discussed about the possible new input procedures in FELiScE:
-
@vicente.mataix proposes to use JSON format based modern C++ JSON library. JSON is human readable and its structure is similar a Python dictionary. @vicente.mataix has implemented already an interface in Kratos, and can be seen in the
Parameters
class. the structure of data is something similar to:
{
"int_value" : 0,
"double_value" : 0.0,
"bool_value" : false,
"string_value" : "",
"vector_value" : [],
"matrix_value" : [[0]]
}
- @vicente.mataix also proposes (now) a modern library for argument parsing: https://github.com/p-ranav/argparse
- @mfernand mentions that in https://gitlab.inria.fr/MoReFEM they use Lua
Any other contribution will be appreciated