Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix overflowing integers for large meshes #304

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/Case-TGV.f90
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ end subroutine init_post
!############################################################################
subroutine postprocess_tgv(ux1,uy1,uz1,phi1,ep1)

use iso_fortran_env

USE decomp_2d_io
USE variables, only: nx,ny,nz
USE MPI
Expand All @@ -206,7 +208,8 @@ subroutine postprocess_tgv(ux1,uy1,uz1,phi1,ep1)
real(mytype), allocatable, dimension(:,:,:) :: bx2,by2,bz2,bx3,by3,bz3
real(mytype) :: eek, enst, eps, eps2
real(mytype) :: eem,omegam,jmax,disb,omegab
integer :: nxc, nyc, nzc, xsize1, xsize2, xsize3
integer :: xsize1, xsize2, xsize3
integer(int64) :: nxc, nyc, nzc

integer :: i,j,k,is,code,nvect1
character(len=30) :: filename
Expand Down