-
Notifications
You must be signed in to change notification settings - Fork 46
Add a conservative limiter for the 'cons2' interpolation #350
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
Open
sbrdar
wants to merge
64
commits into
develop
Choose a base branch
from
feature/cons_interp_limiter
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
6d8b40e
add a test function for limiter testing
sbrdar c703e79
add util::function::SlottedCylinder based on Zalesak (1978)
sbrdar 5051176
introduce limit_ to indentify problematic target values in the 2nd or…
sbrdar 9664d78
1) implement matrix-free 2nd order for cell2cell; 2) reactivate the u…
sbrdar 6c14572
implement other combination of 2nd order matrix free cons. interpolation
sbrdar eeef9c2
cleanup
sbrdar 0136983
rearrange code lines
sbrdar 184f9db
cell2cell limiter for the 2nd order - close but not working yet
sbrdar a605e85
make limiter work for cell-to-cell
sbrdar 1ad2cbc
introduce different limiters: none, zeroslope, clip
sbrdar 47e13d5
rename limit_ to limiter_
sbrdar 17bae02
improve the clip limiter
sbrdar cd9130b
use relative-to-source conservation error (tnx M. Diamantakis)
sbrdar ab49056
remove ConservativeSpeericalPolygon::Data::print, it is reported in i…
sbrdar 7d6f831
1) introduce conservation_error_percent_of_source alongside with cons…
sbrdar 52db115
cosmetics
sbrdar 08b7ff3
add scaling of the slotted_cylinder initial data to study the limiters
sbrdar d03c4fd
forgot to add files for the last commit
sbrdar 85a805d
use ATLAS_INTERPOLATION_LIMITER = 1 to output the impact of limiter i…
sbrdar fe9536a
fix detector of the zeroslope limiter to work with XStep initial data
sbrdar fc83a7f
fix limiter detection thresholds and make sure the limiter does not c…
sbrdar e11425a
improve namings in the cons. interp. metadata
sbrdar c269d45
make unit test pass again
sbrdar 60c0b11
fix a bug in matrix_free 2nd order for cell2node and node2cell
sbrdar 1456d0b
move xstep function away from the poles
sbrdar 76b843c
make 2nd order cons. matrix-free implementation work plausibly on the…
sbrdar 01bd467
add interpolation metadata on source and target mass: mass.src, mass.tgt
sbrdar 6d4c3ba
Merge branch 'develop' into feature/cons_interp_limiter
sbrdar 01b2533
1) move cons. limiter to a separate file; 2) bug fixes (tnx Willem)
sbrdar 6d867f8
remove warnings
sbrdar 1d0b29d
bug fix for the matrix-free version
sbrdar 7cd3d4d
tweak ATLAS_INTERPOLATION_LIMITER to allow showing of violation+colla…
sbrdar 31800b6
compute limiter mass change when --statistics.conservation is used
sbrdar 25cdfd7
Merge branch 'develop' into feature/cons_interp_limiter
sbrdar 375b6f2
remove superfluous std out
sbrdar 48fa629
fix unit tests
sbrdar b653191
fix the effective area of zeroslope limiter (ATLAS_INTERPOLATION_LIMI…
sbrdar 3bc8d20
prepare to limit target cells caused by a given source cell (on the s…
sbrdar edc670e
encapsule limiting due to one source cell in a separate function
sbrdar 1f6f91b
encapsulate detection of tcell out of the limit function
sbrdar ef383d5
parallel version of the conservative -zeroslope- limiter (but only fo…
sbrdar ea918d5
fix the limiter mass-loss computation, now the parallel version of li…
sbrdar f98caa3
fix the unit tests - it never checked for the interpolation accuracy …
sbrdar c9927db
initialise Statistics (Copilot suggestion)
sbrdar eff03e0
correct scaling for SlottedCylinder functions
sbrdar dbd3b2f
Update src/atlas/interpolation/method/unstructured/ConservativeSpheri…
sbrdar 50a7401
InterpolationParameters carry polygon ids and not cell ids (correctly…
sbrdar 8a6ea84
bug fix in limiter exchange of source cell ids
sbrdar 2132532
improve code coverage
sbrdar 01fc2e5
revert CMakeLists entry for SparseMatrixTriplet.h
sbrdar db98345
cleanup in the unit test for conservative interpolation
sbrdar 52897a0
expand the cons interpolation unit test to check for matrix free inte…
sbrdar fc18961
The config option -validate- should be not be used, rather some of th…
sbrdar 024fb0d
trying to fixing the CI
sbrdar 5fcd8c1
make matrix-free and matrix-version identical (some differences still…
sbrdar 2fbc016
make matrix-free and matrix-version give identical results
sbrdar 8178311
tidy up the cons interpolation unit testsa
sbrdar c1713ba
better output in the unit test
sbrdar e267b20
add test for the 2nd order cons. limiter
sbrdar cfdf36a
add conservation after the limiter to the unit test
sbrdar cb16cb4
fixing the CI: tiny threshold change in the cons. interpolation unit …
sbrdar 2039af4
consistent naming in util/function/
sbrdar 3e2d01b
clean up
sbrdar a401d65
Merge branch 'develop' into feature/cons_interp_limiter
sbrdar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
567 changes: 330 additions & 237 deletions
567
src/atlas/interpolation/method/unstructured/ConservativeSphericalPolygonInterpolation.cc
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.