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

New Boundary treatment #98

Draft
wants to merge 48 commits into
base: development
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
c6c8992
Bug fix and implement no-flux approach
CyprienBosserelle Nov 15, 2023
f878959
fix no flux top and right bnd
CyprienBosserelle Nov 15, 2023
ca78023
Update Boundary.cu
CyprienBosserelle Nov 28, 2023
dbd3a46
Fix new halo wall bnds
CyprienBosserelle Nov 30, 2023
d8194b0
Merge branch 'Test_noslip_HaloMask' of https://github.com/CyprienBoss…
CyprienBosserelle Nov 30, 2023
5211b02
convert test into proper CI test
CyprienBosserelle Nov 30, 2023
91d9192
Fix ABS1D Q calculations
CyprienBosserelle Dec 1, 2023
c8167a3
ABS1DQ clean function call and add qmean
CyprienBosserelle Dec 1, 2023
335e8aa
ABS1DQ Fix h miising in fctn call
CyprienBosserelle Dec 3, 2023
21f188c
Add New "NoFlux" Bnd to BBox bnd
CyprienBosserelle Dec 4, 2023
34fb4a8
Fix case on header call
CyprienBosserelle Dec 4, 2023
5fd3ce4
fix on left and bot wall
CyprienBosserelle Dec 5, 2023
7c205b8
make test for all side
CyprienBosserelle Dec 5, 2023
4ad3373
u v bnd fix
CyprienBosserelle Dec 11, 2023
a19292d
add comment to test
CyprienBosserelle Jan 18, 2024
3ecfeb0
clean up the function
CyprienBosserelle Jan 25, 2024
2f38ef1
Update Boundary.h
CyprienBosserelle Jan 25, 2024
660582f
implement handling fcnt for flux bnd
CyprienBosserelle Jan 28, 2024
87b56e8
Fix wall bnd for Left and right side
CyprienBosserelle Feb 3, 2024
f194155
Update Testing.cu
CyprienBosserelle Feb 3, 2024
c72140c
fix for flux test-demo
CyprienBosserelle Feb 5, 2024
b3ba6d4
Update Boundary.cu
CyprienBosserelle Feb 5, 2024
f429ed3
build new structures to support AOI bnds
CyprienBosserelle Feb 12, 2024
c3f349c
Add workflow for new bnd initialisation
CyprienBosserelle Mar 1, 2024
c9517a0
Update InitialConditions.cu
CyprienBosserelle Mar 6, 2024
c7c72ed
Start the init bnd functionality
CyprienBosserelle Mar 6, 2024
5b4d79f
Fix compile error forcing.h
CyprienBosserelle Mar 6, 2024
3712164
Update InitialConditions.cu
CyprienBosserelle Mar 7, 2024
d71e62e
fix to compile
CyprienBosserelle Mar 7, 2024
d3d4bf7
Update ReadInput.cu
CyprienBosserelle Mar 18, 2024
d022b3e
progress new bnd segment
CyprienBosserelle Apr 2, 2024
9493cef
Update ReadInput.cu
CyprienBosserelle Apr 3, 2024
6f33e00
Add bndpoly functionality (Work in progress)
CyprienBosserelle May 6, 2024
4abd6fc
Added function to read bnd segment polygon
CyprienBosserelle May 7, 2024
8f7f1cd
remove fileexist function
CyprienBosserelle May 7, 2024
e7ab062
add new bnd seg to GPU mem
CyprienBosserelle May 8, 2024
2b1a08e
Add fill value of 0 for qmean
CyprienBosserelle May 9, 2024
e306bee
finish main workflow for new BND for GPU
CyprienBosserelle May 10, 2024
8a55a6a
Clean-up and debugging new boundary
CyprienBosserelle May 13, 2024
c71865d
DEBUG ABS bnd
CyprienBosserelle May 13, 2024
30a08da
Add limiter to remove instability near dry cells
CyprienBosserelle May 15, 2024
243292e
Add taper to initial condition
CyprienBosserelle May 16, 2024
de116e2
Fix Dynamic forcing bnd
CyprienBosserelle May 16, 2024
4953338
Ooops
CyprienBosserelle May 16, 2024
6b56d6a
debug check
CyprienBosserelle May 16, 2024
9216c64
Add CPU functions for bnd flux
CyprienBosserelle May 17, 2024
55f338a
Update Testing.cu
CyprienBosserelle May 18, 2024
7ce882d
prevent fail in CPUvsGPU test
CyprienBosserelle Jun 12, 2024
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: 5 additions & 0 deletions src/Arrays.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,13 @@ struct maskinfo
int* blks; // array of block where bnd applies
// 8 digit binary where 1 is a mask and 0 is not a mask with the first digit represent the left bottom side the rest is clockwise (i.e.left-bot left-top, top-left, top-right, right-top, right-bot, bot-right, bot-left)
int* side; // e.g. 11000000 for the entire left side being a mask

int type = 0;


};


// outzone info used to actually write the nc files (one nc file by zone, the default zone is the full domain)
struct outzoneB
{
Expand Down
Loading