AMReX-Fluids/IAMR

Type mismatch in 3D

WeiqunZhang opened this issue · 5 comments

Function extrapproj in PROJOUTFLOWBC_F.H vs. Fortran procedure in PROJOUTFLOWBC_3D.F
number of arguments 47 does NOT match 46.

Function filterp in PROJECTION_F.H vs. Fortran procedure in PROJECTION_3D.F
number of arguments 15 does NOT match 12.

Function radmpy in PROJECTION_F.H vs. Fortran procedure in PROJECTION_3D.F
number of arguments 13 does NOT match 11.
arg #9: C type ['int', 'pointer'] does NOT match Fortran type ('REAL 8', 'pointer', 'r').
arg #11: C type ['double', 'pointer'] does NOT match Fortran type ('INTEGER 4', 'pointer', 'n').

Function raddiv in PROJECTION_F.H vs. Fortran procedure in PROJECTION_3D.F
number of arguments 13 does NOT match 11.
arg #9: C type ['int', 'pointer'] does NOT match Fortran type ('REAL 8', 'pointer', 'r').
arg #11: C type ['double', 'pointer'] does NOT match Fortran type ('INTEGER 4', 'pointer', 'n').

This looks like something Ann did in 2D but not 3D, lazily assigning it to her... :)
(where "this" is the FILTERP wraparound stuff)

Anyone care if I get rid of FILTERP? It's a hack to start with ...

Done and done.

Function extrapproj in PROJOUTFLOWBC_F.H vs. Fortran procedure in PROJOUTFLOWBC_3D.F
number of arguments 46 does NOT match 47.
184 functions checked, 1 error(s) found. More details can be found in tmp_build_dir/t/3d.gnu.MPI.EXE/amrex_typecheck.ou.

Found by make typecheck in Exec/run3d.