Added compilation flag for the number of grid cells: MUSICA_SET_NUM_GRID_CELLS
For vector-ordered matrix solver, when number of grid cell is less than L value, for example, num_grid_cell=1 , L=4 , num_species=5 , it fails during solving because the Copy() call throws an error indicating that the dimension is not the same; copying other vector to this vector (5 /= 20). Since L is decided at compile time, checks should be included in the build script
Update musica build options
Next step: Implementing multiple grid cells because the current version of code only supports a single grid cell. The related issue in micm is listed here: review user interactions with multiple grid-cell solving to identify difficulties and easily made errors
Closes #55
MUSICA_SET_NUM_GRID_CELLS
For vector-ordered matrix solver, when number of grid cell is less thanL
value, for example,num_grid_cell=1
,L=4
,num_species=5
, it fails during solving because the Copy() call throws an error indicating that the dimension is not the same; copying other vector to this vector(5 /= 20)
. SinceL
is decided at compile time, checks should be included in the build scriptmusica
build optionsreview user interactions with multiple grid-cell solving to identify difficulties and easily made errors