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

extended for arbitrary number of halos #1

Open
wants to merge 4 commits into
base: nonuni-grid
Choose a base branch
from

Conversation

sanathbk
Copy link

@sanathbk sanathbk commented Mar 4, 2024

Added a variable nh in common to define the number of halos.

Copy link
Owner

@p-costa p-costa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice addition, thanks Sanath! Just some minor suggestions to keep the same default behavior as the previous version.

src/common.f90 Outdated Show resolved Hide resolved
src/configs/build.conf Outdated Show resolved Hide resolved
real(rp), parameter, dimension(3) :: l = [1.5_rp,3._rp,1._rp]
integer , parameter, dimension(3) :: ni = [128,256, 72]
integer , parameter, dimension(3) :: no = [256,512,144]
real(rp), parameter, dimension(3) :: l = [8._rp,4._rp,2._rp]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to change these 3 lines (I guess you picked it from your use case).

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
real(rp), parameter, dimension(3) :: l = [8._rp,4._rp,2._rp]
real(rp), parameter, dimension(3) :: l = [1.5_rp,3._rp,1._rp]

app/interpolate-fields.f90 Outdated Show resolved Hide resolved
sanathbk and others added 3 commits March 5, 2024 15:55
integer , parameter, dimension(3) :: ni = [128,256, 72]
integer , parameter, dimension(3) :: no = [256,512,144]
real(rp), parameter, dimension(3) :: l = [8._rp,4._rp,2._rp]
integer , parameter, dimension(3) :: ni = [256,128,180]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
integer , parameter, dimension(3) :: ni = [256,128,180]
integer , parameter, dimension(3) :: ni = [128,256, 72]

integer , parameter, dimension(3) :: no = [256,512,144]
real(rp), parameter, dimension(3) :: l = [8._rp,4._rp,2._rp]
integer , parameter, dimension(3) :: ni = [256,128,180]
integer , parameter, dimension(3) :: no = [512,128,200]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
integer , parameter, dimension(3) :: no = [512,128,200]
integer , parameter, dimension(3) :: no = [256,512,144]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants