Reduce use of MAX_DIM macro
- Jan 18, 2021
-
-
Micael Oliveira authored
Change mesh_r function such that the optional argument coords is always of size mesh%sb%dim and not MAX_DIM.
-
- Jan 15, 2021
-
-
Micael Oliveira authored
Make sure we don't access mesh%x beyond sb%dim when calculating the dipole in mf_multipoles. Also stop the code if we try to compute multipoles l>1 with dim/=3.
-
Micael Oliveira authored
Change the size of mesh%r along second dimension to be mesh%sb%dim instead of MAX_DIM. Also change the signature of the mesh_x_global function to return a vector of size mesh%sb%dim instead of MAX_DIM.
-