Skip to content

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.

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]

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