Skip to content
Snippets Groups Projects
Commit 5720e9d6 authored by Franck Pérignon's avatar Franck Pérignon
Browse files

fix scales2py error

parent d9619d4f
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ contains
integer(ik), dimension(dim), intent(out) :: offset
character(len=*), optional :: order
real(pk), optional, intent(out) :: stab_coeff
!f2py optional , depend(resolution) :: dim=len(resolution)
!f2py optional , depend(ncells) :: dim=len(ncells)
!f2py intent(hide) dim
!f2py character(*) optional, intent(in) :: order = 'p_O2'
......@@ -48,7 +48,7 @@ contains
call cart_create(dims,error)
call set_group_size(groupSize)
! Create meshes
call discretisation_create(resolution(1),resolution(2),resolution(3),lengths(1),lengths(2),lengths(3))
call discretisation_create(ncells(1),ncells(2),ncells(3),lengths(1),lengths(2),lengths(3))
! Init advection solver
call advec_init(order,stab_coeff)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment