ogs5 icon indicating copy to clipboard operation
ogs5 copied to clipboard

RFR reading

Open MuellerSeb opened this issue 6 years ago • 3 comments

What is this var_n variable about? It is never used after setting.

https://github.com/ufz/ogs5/blob/e61a9ad538e4fdc5043e3a85bd06b2812760e7e8/FEM/rf_ic_new.cpp#L948

MuellerSeb avatar Sep 05 '19 17:09 MuellerSeb

@MuellerSeb You are right that the variable is defined but never used.

wenqing avatar Sep 16 '19 07:09 wenqing

I speculate, that this was meant to deal with multi-valued variables, because this has a default value of 1 in all benchmarks.

Could there be any case with multiple values?!

I documented the assumed way: https://github.com/GeoStat-Framework/ogs5py/blob/f496dd528ca1559cb30aa19f4acf6d46edcbc6c5/ogs5py/fileclasses/ic/core.py#L138

MuellerSeb avatar Sep 16 '19 14:09 MuellerSeb

@MuellerSeb I guess that it is for multiple values but the implementation was not finished before. Instead of restart, you can use #RELOAD keyword.

wenqing avatar Sep 16 '19 15:09 wenqing