SFEMaNS
version 4.1 (work in progress)
Reference documentation for SFEMaNS
|
The file read_user_data.f90
allows to add new datas in the code SFEMaNS. These datas are stocked in the derived data type called user. As the datas defined in the code SFEMaNS, these user datas are read in the data
file described in this section
. A template is provided in the following directory: ($SFEMaNS_DIR)/TEMPLATE
.
To add new data, that will be read by the code SFEMaNS in the data
file, you need to edit the file read_user_data.f90
as follows.
The new data needs to be read by the code SFEMaNS. This is done in the subroutine read_user_data
of the module user_data. To do so, we use the function find_string
as follows:
The inputs are unit_file (that represents the data
file) and the line that is read by the code SFEMaNS in the data
file (here it is '===Value of my_real'). The ouput is a logical denoted test. It is true if the line '===Value of my_real' is present in the data
file and false otherwise.
We note that the user should only modify the subroutine read_user_data
between the following code lines:
Remarks: