Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
321 commits
Select commit Hold shift + click to select a range
1255072
Update DynamicFieldSpecification.cpp
OmarDuran Feb 5, 2026
85fc4de
wip: update hydrostatic specification
OmarDuran Feb 5, 2026
deef39c
wip: update baseline
OmarDuran Feb 5, 2026
5d754bd
Revert "wip: update baseline"
OmarDuran Feb 5, 2026
5f6cca5
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 5, 2026
f2952cd
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 5, 2026
21bcbb5
Update DynamicFieldSpecification.cpp
OmarDuran Feb 5, 2026
e13b0ea
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 5, 2026
b6f17a5
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 5, 2026
360c976
Update CMakeLists.txt
OmarDuran Feb 5, 2026
4ace3f8
wip: cleaning up
OmarDuran Feb 6, 2026
211d3c7
Update SolidMechanicsAugmentedLagrangianContact.cpp
OmarDuran Feb 6, 2026
2ef921d
Update testFEMConsistency.cpp
OmarDuran Feb 6, 2026
c77f5b2
wip: clean up code part I
OmarDuran Feb 6, 2026
eed9343
wip: add option to replace displacements
OmarDuran Feb 6, 2026
1ebb36a
Synchronize bubble displacement and add reset_displacements option
OmarDuran Feb 9, 2026
572ec5c
test traction on generated fractures
OmarDuran Feb 9, 2026
4851d94
testing fracture stress in all the configurations
OmarDuran Feb 9, 2026
2c54a37
wip initialize traction from matrix elements
OmarDuran Feb 9, 2026
4a03e4b
wip: refactor traction initialization from bulk stresses.
OmarDuran Feb 9, 2026
11f4015
wip: report completion for SG.
OmarDuran Feb 9, 2026
882eb94
update from develop
OmarDuran Feb 10, 2026
eaf5ce4
delete duplicated code
OmarDuran Feb 10, 2026
d72e2af
Parametrization for multiple mpi ranks
OmarDuran Feb 10, 2026
e83528d
balancing test load
OmarDuran Feb 10, 2026
d824379
fix typo in the xml block
OmarDuran Feb 10, 2026
5bff55f
Ensuring stick mode
OmarDuran Feb 10, 2026
fa9212e
add print statements
OmarDuran Feb 10, 2026
d90acfb
add print statements
OmarDuran Feb 10, 2026
c5c1f9a
adjusting mesh modification stamps for SurfaceGenerator steps as solo…
OmarDuran Feb 10, 2026
ed9f861
remove print statements
OmarDuran Feb 10, 2026
4a78194
test failure is caused by a race condition when running tests in par…
OmarDuran Feb 10, 2026
ff79f51
test failure is caused by a race condition when running tests in par…
OmarDuran Feb 10, 2026
441061b
run test with direct solver
OmarDuran Feb 10, 2026
4eb8998
wip fixing tetrehedral partitions
OmarDuran Feb 10, 2026
2dbcff0
fix: address surface generator performance issues (#3968)
rrsettgast Feb 10, 2026
10db3d0
fix conflict
OmarDuran Feb 10, 2026
3ea580a
adding print statements
OmarDuran Feb 10, 2026
f2fbe83
remove print statements
OmarDuran Feb 11, 2026
7446a8a
uncrustify style
OmarDuran Feb 11, 2026
cca5df1
remove unused variable
OmarDuran Feb 11, 2026
5efc697
remove unused variable
OmarDuran Feb 11, 2026
df6be99
run all tests with 4 ranks
OmarDuran Feb 11, 2026
8229d9f
update test meshes
OmarDuran Feb 11, 2026
32a98cc
add missing comma
OmarDuran Feb 11, 2026
30f9857
update mpi testFEMConsistency
OmarDuran Feb 11, 2026
4f35ade
run test with 4 ranks.
OmarDuran Feb 11, 2026
9b4424d
wip: clean up I
OmarDuran Feb 11, 2026
dcd9204
Merge branch 'develop' into feature/oduran/test_fem_stress_consistency
OmarDuran Feb 11, 2026
d750b9e
fix: doc
OmarDuran Feb 11, 2026
b703624
Using LvArray tensorOps
castelletto1 Feb 12, 2026
096ded9
Same
castelletto1 Feb 12, 2026
1fd7495
Throw an error if 3D cell have tensile principal stresses
castelletto1 Feb 12, 2026
15a101f
Final refactoring for initializeTractionFromAdjacentCellStress
castelletto1 Feb 12, 2026
5d9ebcc
Exact cases with SG.
OmarDuran Feb 12, 2026
f9780cd
update from develop
OmarDuran Feb 13, 2026
3cb22ff
wip: compositional vertical equilibrium
OmarDuran Feb 13, 2026
93d7f01
wip: compositional vertical equilibrium II
OmarDuran Feb 13, 2026
54cbea7
wip: compositional vertical equilibrium III
OmarDuran Feb 13, 2026
63c104e
wip: compositional vertical equilibrium IV
OmarDuran Feb 13, 2026
18db6a0
wip: compositional vertical equilibrium V
OmarDuran Feb 13, 2026
1dcc802
wip: compositional vertical equilibrium VI
OmarDuran Feb 13, 2026
9363723
wip: compositional vertical equilibrium VII
OmarDuran Feb 13, 2026
7187ceb
Merge branch 'develop' into feature/oduran/test_fem_stress_consistency
OmarDuran Feb 13, 2026
9029317
wip: compositional vertical equilibrium VIII
OmarDuran Feb 21, 2026
d2c473d
wip: compositional vertical equilibrium IX
OmarDuran Feb 21, 2026
5fa27b5
wip: compositional vertical equilibrium X
OmarDuran Feb 21, 2026
d30af7f
wip: make SG log output more informative
OmarDuran Feb 21, 2026
dbc198f
wip: compositional vertical equilibrium XI
OmarDuran Feb 22, 2026
a2a6735
wip: compositional vertical equilibrium XII
OmarDuran Feb 23, 2026
09e8158
wip: compositional vertical equilibrium XIII
OmarDuran Feb 23, 2026
310818c
wip: compositional vertical equilibrium XIV
OmarDuran Feb 23, 2026
ea9feea
wip: compositional vertical equilibrium XV
OmarDuran Feb 23, 2026
b15d5bb
wip: compositional vertical equilibrium XVI
OmarDuran Feb 23, 2026
d112a12
wip: improving test for FEM consistency and annotate issue with norma…
OmarDuran Feb 23, 2026
4101dbf
wip: cleaning up aux files.
OmarDuran Feb 23, 2026
03b9c82
wip: fixing release compilation.
OmarDuran Feb 23, 2026
257882a
wip: fix compilation issue with Ubuntu CUDA debug (20.04, clang 10.0.…
OmarDuran Feb 23, 2026
1e96d14
wip: remove vtk output from tests.
OmarDuran Feb 23, 2026
c14b447
wip: making test faster
OmarDuran Feb 23, 2026
8b6de53
wip: uncrustify
OmarDuran Feb 23, 2026
0acc364
wip: making test faster II
OmarDuran Feb 23, 2026
ab6177c
wip: making test faster III
OmarDuran Feb 23, 2026
2216334
wip: making test faster VI
OmarDuran Feb 23, 2026
539b87c
wip: making test faster VII
OmarDuran Feb 23, 2026
1c342f3
wip
OmarDuran Feb 23, 2026
8f0d6fa
wip: making test faster VIII
OmarDuran Feb 23, 2026
d3b5687
wip: making test faster IX
OmarDuran Feb 23, 2026
d184cfb
wip: making test faster X
OmarDuran Feb 23, 2026
64fc62c
wip: making test faster XI
OmarDuran Feb 23, 2026
93b81ad
wip: making test faster XII
OmarDuran Feb 23, 2026
68d1450
wip: making test faster XIII
OmarDuran Feb 23, 2026
1a7f891
Remove registration or pressure fields in pure contact mechanics.
OmarDuran Feb 23, 2026
1139875
wip: making test faster XIV
OmarDuran Feb 23, 2026
02186a8
wip: push LvArray updates
OmarDuran Feb 23, 2026
d3b77f1
wip: make code CI-compliant I
OmarDuran Feb 23, 2026
9a8d030
wip: make code CI-compliant II
OmarDuran Feb 23, 2026
c1e868f
wip: make code CI-compliant III
OmarDuran Feb 23, 2026
a2a2a0c
wip: make code CI-compliant IV
OmarDuran Feb 23, 2026
c27316b
wip: make code CI-compliant V
OmarDuran Feb 23, 2026
39a2e1a
wip: robust test for SG
OmarDuran Feb 24, 2026
b18e514
wip: robust test for SG II
OmarDuran Feb 24, 2026
dbaaf00
wip: robust test for SG III
OmarDuran Feb 24, 2026
32b01c4
wip: robust test for SG IV
OmarDuran Feb 24, 2026
839c138
wip: robust test for SG V
OmarDuran Feb 25, 2026
a8ef9e0
wip: robust test for SG VI
OmarDuran Feb 25, 2026
6d5bd18
wip: robust test for SG VII
OmarDuran Feb 25, 2026
9be188a
wip: robust test for SG VIII
OmarDuran Feb 25, 2026
6614f3b
wip: robust test for SG IX
OmarDuran Feb 25, 2026
df2483a
wip: robust test for SG X
OmarDuran Feb 25, 2026
9a8ad56
wip: robust test for SG XI
OmarDuran Feb 25, 2026
b82c243
wip: robust test for SG XII
OmarDuran Feb 25, 2026
1391522
wip: robust test for SG XIII
OmarDuran Feb 25, 2026
0300e40
wip: robust test for SG XIV
OmarDuran Feb 25, 2026
16de5f4
wip: robust test for SG XV
OmarDuran Feb 25, 2026
ee1d1b0
wip: centralization of mixed-dimensional tests meshes
OmarDuran Feb 25, 2026
16da515
wip: robust test for SG XVI
OmarDuran Feb 25, 2026
4bf589a
wip: robust test for SG XVII
OmarDuran Feb 25, 2026
55fdaa0
wip: robust test for SG XVIII
OmarDuran Feb 25, 2026
308d1f9
wip: robust test for SG XIX
OmarDuran Feb 25, 2026
4425e3e
wip: robust test for SG XX
OmarDuran Feb 25, 2026
0cee70c
wip: include Euler-Poincaré characteristic option
OmarDuran Feb 25, 2026
a831835
wip: expanding coverage
OmarDuran Feb 25, 2026
37cdb2f
wip: fix documentaion
OmarDuran Feb 25, 2026
0334f74
wip: mpi test
OmarDuran Feb 25, 2026
d7cf879
Update testSurfaceGenerator.cpp
OmarDuran Feb 25, 2026
9c77588
wip: mpi test
OmarDuran Feb 25, 2026
0a65fce
wip: serial test under mpi structure
OmarDuran Feb 25, 2026
55ab276
wip: split serial test and mpi test
OmarDuran Feb 26, 2026
c1c3280
wip: fixing mpi test
OmarDuran Feb 26, 2026
f552c01
wip: fixing mpi test
OmarDuran Feb 26, 2026
4023829
wip: fixing mpi test
OmarDuran Feb 26, 2026
e739534
wip: fixing mpi test
OmarDuran Feb 26, 2026
4981954
wip: adding Nicola's meshes
OmarDuran Feb 26, 2026
d17b924
wip: adding Nicola's meshes II
OmarDuran Feb 26, 2026
233d8d4
wip: adding Nicola's meshes III
OmarDuran Feb 26, 2026
3149b93
wip: adding Nicola's meshes IV
OmarDuran Feb 26, 2026
874f0da
wip: adding Nicola's meshes V
OmarDuran Feb 26, 2026
772e043
wip: adding Nicola's meshes VI
OmarDuran Feb 26, 2026
9a08982
wip: fixing underintegration at external boundaries
OmarDuran Feb 26, 2026
85f7af2
fix an orientation issue on contact mec solvers.
OmarDuran Feb 26, 2026
91e60cf
mpi-compatible euler characteristic
OmarDuran Feb 26, 2026
21c35f6
wip: testing testSurfaceGenerator_mpi only on hexahedra
OmarDuran Feb 26, 2026
af6c912
wip: refactor implementation of Neumann conditions
OmarDuran Feb 27, 2026
acb99ec
refactor traction boundary conditions.
OmarDuran Feb 27, 2026
968102e
refactor traction boundary conditions II
OmarDuran Feb 27, 2026
e4d2863
Triggering CI/CD pipeline
OmarDuran Feb 27, 2026
4954fb7
Triggering CI/CD pipeline
OmarDuran Feb 27, 2026
98f45ed
wip: update from develop
OmarDuran Feb 27, 2026
dc2b432
split of simplexes is fully correct in serial.
OmarDuran Feb 27, 2026
b4984ef
split of simplexes is fully correct in parallel.
OmarDuran Feb 27, 2026
3a82cab
split of simplexes is fully correct in parallel: fixed np = 10
OmarDuran Feb 27, 2026
d7882e6
Adding note on incomplete Euler characteristic on incomplete high-ord…
OmarDuran Feb 27, 2026
1280c8a
disable assertion A5 for all the test.
OmarDuran Feb 27, 2026
db211bd
disable assertion A5 for all the test.
OmarDuran Feb 27, 2026
1711829
wip: update from develop
OmarDuran Feb 27, 2026
cae84be
disable Assertion 5
OmarDuran Mar 2, 2026
777e09f
Compute euler characteristis on the bulk.
OmarDuran Mar 2, 2026
21a9bd1
Compute euler characteristis only the bulk elements.
OmarDuran Mar 2, 2026
5c1b1c8
wip: robust parallelization.
OmarDuran Mar 2, 2026
000686c
wip: robust parallelization.
OmarDuran Mar 2, 2026
5b726ad
wip: cleaning up.
OmarDuran Mar 3, 2026
34d8843
wip: cleaning up II
OmarDuran Mar 3, 2026
afbfcb6
Merge branch 'develop' into feature/oduran/test_fem_stress_consistency
OmarDuran Mar 3, 2026
5a94fe8
wip: clean up III
OmarDuran Mar 4, 2026
2d650af
wip: clean up IV
OmarDuran Mar 4, 2026
8115845
wip: fixing mpi test in release
OmarDuran Mar 4, 2026
299afca
wip: adjust for external workflow.
OmarDuran Mar 5, 2026
d752927
Triggering CI/CD or pushing empty commit
OmarDuran Mar 5, 2026
c2a7bff
Triggering CI/CD or pushing empty commit
OmarDuran Mar 5, 2026
1604609
Merge branch 'develop' into feature/oduran/test_fem_stress_consistency
OmarDuran Mar 5, 2026
2448d1d
wip: mpi tests are not run on Rockylinux CUDA (8, clang 17.0.6, cuda …
OmarDuran Mar 7, 2026
54ad6b6
Merge branch 'feature/oduran/test_fem_stress_consistency' of https://…
OmarDuran Mar 7, 2026
79f945a
wip: adding fixtures for both serial and mpi test modes
OmarDuran Mar 7, 2026
79c2373
wip: fix serial testtestMixedDimSinglePhaseFlow
OmarDuran Mar 7, 2026
5a2ae24
wip: fix serial testestMixedDimSinglePhaseFlow
OmarDuran Mar 7, 2026
2a91ed9
wip: fix issue with CUDA runner.
OmarDuran Mar 9, 2026
22d0e14
fix serial testFEMConsistency on cuda runner
OmarDuran Mar 9, 2026
5d783fe
Merge branch 'develop' into feature/oduran/test_fem_stress_consistency
OmarDuran Mar 11, 2026
6fcddd0
Add debug printers
OmarDuran Mar 11, 2026
f8c3166
wip: minor fix
OmarDuran Mar 12, 2026
bc5bf40
Merge branch 'develop' into feature/oduran/test_fem_stress_consistency
OmarDuran Mar 12, 2026
8baf7f0
wip: minor fix
OmarDuran Mar 12, 2026
326354d
wip: minor fix
OmarDuran Mar 12, 2026
3d9a25e
wip: fix ninja race condition
OmarDuran Mar 12, 2026
295d043
wip: fix testFEMConsistency on cuda runner.
OmarDuran Mar 12, 2026
1d87f9e
wip: fix testFEMConsistency on cuda runner II.
OmarDuran Mar 12, 2026
471bc59
fix: correct three phases hydro. equilibrium with no capillarity.
OmarDuran Mar 13, 2026
7dcfd01
Merge branch 'fix/oduran/no_capillarity_three_phases_hydro_equi' into…
OmarDuran Mar 13, 2026
e059d31
fix: compilation issue
OmarDuran Mar 13, 2026
0f6ff4d
Merge branch 'fix/oduran/no_capillarity_three_phases_hydro_equi' into…
OmarDuran Mar 13, 2026
76407f7
sty: uncrustify
OmarDuran Mar 13, 2026
6d2c7bd
Triggering CI/CD for hydrostatic equilibrium test
OmarDuran Mar 13, 2026
0773972
Apply suggestions from code review
rrsettgast Mar 13, 2026
5259092
fix: automatic test and removing unused TableCapillaryPressure and Ta…
OmarDuran Mar 13, 2026
b403361
fix: race condition with ninja builds
OmarDuran Mar 14, 2026
89fda1e
fix: simplification for testFixedDimHydrostaticEquilibrium and automa…
OmarDuran Mar 14, 2026
221530b
fix: simplification for automatic test initialization_2phase_no_cappr…
OmarDuran Mar 14, 2026
7032072
Merge branch 'fix/oduran/no_capillarity_three_phases_hydro_equi' into…
OmarDuran Mar 14, 2026
f6aec0c
wip: merge from develop
OmarDuran Mar 16, 2026
5485904
some potential fixes
rrsettgast Mar 17, 2026
af326c6
breakpoints for debugging
rrsettgast Mar 17, 2026
1a88c8c
breakpoints for debugging
rrsettgast Mar 17, 2026
8397214
Merge branch 'develop' into feature/oduran/test_fem_stress_consistency
OmarDuran Mar 17, 2026
fc17d88
more debugging
rrsettgast Mar 18, 2026
ca35581
Merge branch 'feature/oduran/test_fem_stress_consistency' of github.c…
rrsettgast Mar 18, 2026
05eee24
fix cuda compilation
rrsettgast Mar 18, 2026
3e0e245
more debugging
rrsettgast Mar 19, 2026
001490a
workaround extra captures of host only objects in device lambda
rrsettgast Mar 19, 2026
01cb5a4
workaround extra captures of host only objects in device lambda
rrsettgast Mar 19, 2026
5ee7856
debugging
rrsettgast Mar 20, 2026
4dd392e
debugging
rrsettgast Mar 20, 2026
6de3bf2
debugging
rrsettgast Mar 20, 2026
94d7b8e
debugging
rrsettgast Mar 20, 2026
dcfb878
debugging
rrsettgast Mar 20, 2026
397c957
more debugging
rrsettgast Mar 20, 2026
7157b5b
more debugging
rrsettgast Mar 20, 2026
4325b7b
change some kernels in SolidMechanicsAugmentedLagrangianContact to ho…
rrsettgast Mar 20, 2026
813a914
more attempts at debugging
rrsettgast Mar 20, 2026
360ea79
kind of working on device but many host kernels
rrsettgast Mar 21, 2026
bced932
some potential fixes with stale data
rrsettgast Mar 21, 2026
a3c15cc
a bunch of debugging output
rrsettgast Mar 21, 2026
1eaec65
add kernel level debugging output
rrsettgast Mar 21, 2026
5a8e131
maybe fixed...still some data motion issues that seem like incorrect …
rrsettgast Mar 22, 2026
5629e24
potential fix
rrsettgast Mar 22, 2026
921baa6
fix for nested arrays
rrsettgast Mar 24, 2026
bffb7db
potential candidate for merge
rrsettgast Mar 24, 2026
49c9fd0
Merge branch 'develop' into feature/oduran/test_fem_stress_consistency
rrsettgast Mar 25, 2026
3b874b5
fixed problem with cmake
rrsettgast Mar 25, 2026
679d31a
Merge branch 'feature/oduran/test_fem_stress_consistency' of github.c…
rrsettgast Mar 25, 2026
bd9d851
update submodule
rrsettgast Mar 25, 2026
b5e0f1b
moved some serialPolicy to parallelHostPolicy
rrsettgast Mar 26, 2026
7a7c10e
uncrustify
rrsettgast Mar 26, 2026
cbe26e6
Merge branch 'develop' into feature/oduran/test_fem_stress_consistency
OmarDuran Mar 27, 2026
2415d2b
wip: update from origin
OmarDuran Mar 27, 2026
c0ab20c
Merge branch 'develop' into feature/oduran/test_fem_stress_consistency
OmarDuran Mar 28, 2026
3be248d
remove some autos and rebase line
OmarDuran Mar 29, 2026
63d0a0b
wip: update the submodule pointer in GEOS
OmarDuran Mar 29, 2026
1567222
wip: add test that were accidentally deleted.
OmarDuran Mar 29, 2026
9578e02
Update src/coreComponents/dataRepository/wrapperHelpers.hpp
OmarDuran Mar 30, 2026
52ed1ee
Update src/coreComponents/dataRepository/Group.cpp
OmarDuran Mar 30, 2026
2d8e3a5
wip: apply copilot suggestions.
OmarDuran Mar 30, 2026
c791a1b
Merge branch 'feature/oduran/test_fem_stress_consistency' of https://…
OmarDuran Mar 30, 2026
c0bdc31
wip: apply copilot suggestions II.
OmarDuran Mar 30, 2026
4983562
fix typo
rrsettgast Mar 30, 2026
fe3d4d7
revert some changes
rrsettgast Mar 30, 2026
af28fc8
wip: fix failing tests.
OmarDuran Mar 30, 2026
509b7f9
wip: apply uncrustify.
OmarDuran Mar 30, 2026
da51804
trigger ci
OmarDuran Mar 30, 2026
32378de
wip: update baseline on smaller differences.
OmarDuran Mar 31, 2026
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
2 changes: 1 addition & 1 deletion .integrated_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
baselines:
bucket: geosx
baseline: integratedTests/baseline_integratedTests-pr3967-16106-c0f34de
baseline: integratedTests/baseline_integratedTests-pr3957-16171-da51804

allow_fail:
all: ''
Expand Down
5 changes: 4 additions & 1 deletion BASELINE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@

Notes
==========

This file is designed to track changes to the integrated test baselines.
Any developer who updates the baseline ID in the .integrated_tests.yaml file is expected to create an entry in this file with the pull request number, date, and their justification for rebaselining.
These notes should be in reverse-chronological order, and use the following time format: (YYYY-MM-DD).

PR #3957 (2026-03-30) <https://storage.googleapis.com/geosx/integratedTests/baseline_integratedTests-pr3957-16171-da51804.tar.gz>
=====================
Add checkEulerCharacteristic option, rebaseline due to new input.

PR #3967 (2026-03-27) <https://storage.googleapis.com/geosx/integratedTests/baseline_integratedTests-pr3967-16106-c0f34de.tar.gz>
=====================
Fix 2D/3D cell co-location in parallel mesh redistribution
Expand Down
2 changes: 2 additions & 0 deletions src/cmake/GeosxOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ option( RAJA_ENABLE_CUDA "" OFF )
option( RAJA_ENABLE_HIP "" OFF )
option( RAJA_ENABLE_TESTS "" OFF )

option( GEOS_USE_GIT_VERSION_INFO "Enables querying git for version metadata" ON )

option( GEOS_ENABLE_BOUNDS_CHECK "Enables array bounds checking" OFF )
if( NOT CMAKE_CONFIGURATION_TYPES )
######################################################
Expand Down
29 changes: 18 additions & 11 deletions src/cmake/GeosxVersion.cmake
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# This script generates version info for GEOSX from VERSION file and git.
# This script generates version info for GEOSX from VERSION file and optionally git.
# At config time, it sets various version variables and generates a build
# target named 'generate_version', that the code must set a dependency on.
# The target invokes this script again at build time, where it generates a
# version header with the most up-to-date version info. Thus any change to
# VERSION file or git state (in particular, branch name or HEAD commit sha)
# will trigger a partial rebuild (anything that includes version header).
# can trigger a partial rebuild (anything that includes version header).
#
# This self-referential approach inspired in part by:
# https://github.com/andrew-hardin/cmake-git-version-tracking
Expand All @@ -24,26 +24,32 @@ endif()
# -- GEOS_VERSION_MAJOR
# -- GEOS_VERSION_MINOR
# -- GEOS_VERSION_PATCH
macro(geosx_get_file_version)
file ( STRINGS "${SOURCE_DIR}/VERSION" GEOS_VERSION_FULL )
macro( geosx_get_file_version )
file( STRINGS "${SOURCE_DIR}/VERSION" GEOS_VERSION_FULL )
string( REGEX REPLACE "VERSION_ID = v" "" GEOS_VERSION_FULL "${GEOS_VERSION_FULL}" )
string( REPLACE "." ";" GEOS_VERSION_LIST ${GEOS_VERSION_FULL} )
list( GET GEOS_VERSION_LIST 0 GEOS_VERSION_MAJOR )
list( GET GEOS_VERSION_LIST 1 GEOS_VERSION_MINOR )
list( GET GEOS_VERSION_LIST 2 GEOS_VERSION_PATCH )
list( GET GEOS_VERSION_LIST 0 GEOS_VERSION_MAJOR )
list( GET GEOS_VERSION_LIST 1 GEOS_VERSION_MINOR )
list( GET GEOS_VERSION_LIST 2 GEOS_VERSION_PATCH )
endmacro()

# Get GEOSX development version from git
# Inputs:
# -- SOURCE_DIR
# -- GIT_FOUND
# -- GIT_EXECUTABLE (only when GIT_FOUND=TRUE )
# Outputs (if GIT_FOUND=TRUE and inside git repo):
# -- GEOS_USE_GIT_VERSION_INFO
# Outputs (if enabled, GIT_FOUND=TRUE, and inside git repo):
# -- GEOS_GIT_BRANCH
# -- GEOS_GIT_HASH
# -- GEOS_GIT_TAG
macro(geosx_get_git_version)
if( GIT_FOUND )
macro( geosx_get_git_version )
# Default empty values when git info is disabled or unavailable.
set( GEOS_GIT_BRANCH "" )
set( GEOS_GIT_HASH "" )
set( GEOS_GIT_TAG "" )

if( GIT_FOUND AND GEOS_USE_GIT_VERSION_INFO )
# Use BLT Git macros for convenience
include( ${SOURCE_DIR}/cmake/blt/cmake/BLTGitMacros.cmake )
blt_is_git_repo( OUTPUT_STATE is_git_repo
Expand Down Expand Up @@ -96,6 +102,7 @@ if( NOT DEFINED CMAKE_SCRIPT_MODE_FILE )
-D SOURCE_DIR=${SOURCE_DIR}
-D GIT_FOUND=${GIT_FOUND}
-D GIT_EXECUTABLE=${GIT_EXECUTABLE}
-D GEOS_USE_GIT_VERSION_INFO=${GEOS_USE_GIT_VERSION_INFO}
-P "${CMAKE_CURRENT_LIST_FILE}"
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${ver_tmp_file} ${ver_out_file} )
endif()
endif()
18 changes: 9 additions & 9 deletions src/coreComponents/codingUtilities/Utilities.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -488,9 +488,9 @@ VECTOR_TYPE axpy( VECTOR_TYPE const & vec1,
VECTOR_TYPE result( N );
RAJA::forall< parallelHostPolicy >( RAJA::TypedRangeSegment< localIndex >( 0, N ),
[&] GEOS_HOST ( localIndex const i )
{
result[i] = vec1[i] + alpha * vec2[i];
} );
{
result[i] = vec1[i] + alpha * vec2[i];
} );
return result;
}

Expand All @@ -502,9 +502,9 @@ VECTOR_TYPE scale( VECTOR_TYPE const & vec,
VECTOR_TYPE result( N );
RAJA::forall< parallelHostPolicy >( RAJA::TypedRangeSegment< localIndex >( 0, N ),
[&] GEOS_HOST ( localIndex const i )
{
result[i] = scalarMult * vec[i];
} );
{
result[i] = scalarMult * vec[i];
} );
return result;
}

Expand All @@ -517,9 +517,9 @@ real64 dot( VECTOR_TYPE const & vec1,
const localIndex N = vec1.size();
RAJA::forall< parallelHostPolicy >( RAJA::TypedRangeSegment< localIndex >( 0, N ),
[&] GEOS_HOST ( localIndex const i )
{
result += vec1[i] * vec2[i];
} );
{
result += vec1[i] * vec2[i];
} );
return result.get();
}

Expand Down
7 changes: 7 additions & 0 deletions src/coreComponents/codingUtilities/traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@ HAS_MEMBER_FUNCTION_NO_RTYPE( resizeDefault, 0, 0 );
*/
HAS_MEMBER_FUNCTION_NO_RTYPE( reserve, localIndex( 55 ) );

/**
* @brief Defines a static constexpr bool HasMemberFunction_reserveValues< @p CLASS >
* that is true iff the method @p CLASS ::reserveValues( localIndex ) exists.
* @tparam CLASS The type to test.
*/
HAS_MEMBER_FUNCTION_NO_RTYPE( reserveValues, localIndex( 55 ) );

/**
* @brief Defines a static constexpr bool HasMemberFunction_toView< @p CLASS >
* that is true iff the method @p CLASS ::toView() exists.
Expand Down
25 changes: 25 additions & 0 deletions src/coreComponents/common/GeosxMacros.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,31 @@

///@}

/**
* @name NVCC diagnostic suppression helpers.
*
* Work around nvcc erroneously requiring device-compatible destructors for
* reference parameters of host lambdas that contain device kernel launches.
* Place GEOS_NV_HOST_DEVICE_DIAG_SUPPRESS before the lambda and
* GEOS_NV_HOST_DEVICE_DIAG_DEFAULT after it to restore the default behavior.
* On non-NVCC compilers the macros expand to nothing.
*/
///@{

#if defined(__NVCC__)
/// Suppress nvcc diagnostics 20011/20014 (calling __host__ from __host__ __device__).
#define GEOS_NV_HOST_DEVICE_DIAG_SUPPRESS _Pragma("nv_diag_suppress 20011") _Pragma("nv_diag_suppress 20014")
/// Restore nvcc diagnostics 20011/20014 to default.
#define GEOS_NV_HOST_DEVICE_DIAG_DEFAULT _Pragma("nv_diag_default 20011") _Pragma("nv_diag_default 20014")
#else
/// @cond DO_NOT_DOCUMENT
#define GEOS_NV_HOST_DEVICE_DIAG_SUPPRESS
#define GEOS_NV_HOST_DEVICE_DIAG_DEFAULT
/// @endcond
#endif

///@}

/**
* @name Unused variable markers.
*
Expand Down
4 changes: 3 additions & 1 deletion src/coreComponents/dataRepository/Group.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ void Group::deregisterWrapper( string const & name )

void Group::resize( indexType const newSize )
{
GEOS_MARK_FUNCTION;

forWrappers( [newSize] ( WrapperBase & wrapper )
{
if( wrapper.sizedFromParent() == 1 )
Expand Down Expand Up @@ -123,7 +125,7 @@ void Group::reserve( indexType const newSize )
{
if( subGroup.sizedFromParent() == 1 )
{
subGroup.resize( newSize );
subGroup.reserve( newSize );
}
} );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#include <gtest/gtest.h>
#include <filesystem>
#include <signal.h>

using namespace geos;
using namespace dataRepository;
Expand Down
38 changes: 37 additions & 1 deletion src/coreComponents/dataRepository/wrapperHelpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,46 @@ numElementsFromByteSize( localIndex const byteSize )
}


/// @cond DO_NOT_DOCUMENT
namespace detail
{
template< typename T >
std::enable_if_t< traits::HasMemberFunction_reserveValues< T const > >
reserveValuesIfAvailable( T & value, localIndex const newCapacity )
{
localIndex const oldCapacity = value.size();
double const oldValueCapacity = value.valueCapacity();
localIndex const newValueCapacity = oldValueCapacity * newCapacity / oldCapacity;
value.reserveValues( newValueCapacity );
}

template< typename T >
std::enable_if_t< !traits::HasMemberFunction_reserveValues< T const > >
reserveValuesIfAvailable( T &, localIndex const )
{}
}
/// @endcond

template< typename T >
std::enable_if_t< traits::HasMemberFunction_reserve< T > >
reserve( T & value, localIndex const newCapacity )
{ value.reserve( newCapacity ); }
{
value.reserve( newCapacity );
detail::reserveValuesIfAvailable( value, newCapacity );
}

template< typename T,
int NDIM,
typename PERMUTATION >
void reserve( Array< T, NDIM, PERMUTATION > & value, localIndex newCapacity )
{
localIndex const * const dims = value.dims();
for( int i=1; i<NDIM; ++i )
{
newCapacity *= dims[ i ];
}
value.reserve( newCapacity );
}

template< typename T >
std::enable_if_t< !traits::HasMemberFunction_reserve< T > >
Expand Down
6 changes: 3 additions & 3 deletions src/coreComponents/fileIO/silo/SiloFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2191,9 +2191,9 @@ void SiloFile::writeDataField( string const & meshName,
castedField[i].resize( nels );
vars[i] = static_cast< void * >( (castedField[i]).data() );
forAll< serialPolicy >( nels, [=, &castedField] GEOS_HOST ( localIndex const k )
{
castedField[i][k] = siloFileUtilities::CastField< OUTTYPE >( field[k], i );
} );
{
castedField[i][k] = siloFileUtilities::CastField< OUTTYPE >( field[k], i );
} );
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,10 @@ void TwoPointFluxApproximation::addFractureMatrixConnectionsDFM( MeshLevel & mes
arrayView2d< real64 const > faceCenter = faceManager.faceCenter();
arrayView2d< real64 const > faceNormal = faceManager.faceNormal();

arrayView1d< real64 const > const & transMultiplier =
faceManager.getReference< array1d< real64 > >( m_coeffName + viewKeyStruct::transMultiplierString() );
string const transMultName = m_coeffName + viewKeyStruct::transMultiplierString();
arrayView1d< real64 const > const transMultiplier = faceManager.hasWrapper( transMultName )
? faceManager.getReference< array1d< real64 > >( transMultName )
: arrayView1d< real64 const >{};

SurfaceElementRegion & fractureRegion = elemManager.getRegion< SurfaceElementRegion >( faceElementRegionName );
localIndex const fractureRegionIndex = fractureRegion.getIndexInParent();
Expand Down Expand Up @@ -528,7 +530,8 @@ void TwoPointFluxApproximation::addFractureMatrixConnectionsDFM( MeshLevel & mes
stencilWeights,
connectorIndex );

faceToCellStencil.addVectors( transMultiplier[faceIndex], faceNormalVector, cellToFaceVec );
real64 const transMult = !transMultiplier.empty() ? transMultiplier[faceIndex] : 1.0;
faceToCellStencil.addVectors( transMult, faceNormalVector, cellToFaceVec );
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/coreComponents/integrationTests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ if( GEOS_ENABLE_FLUIDFLOW )
add_subdirectory( fluidFlowTests )
endif()
add_subdirectory( wellsTests )
add_subdirectory( wavePropagationTests )
add_subdirectory( wavePropagationTests )
add_subdirectory( mechanicTest )
Loading
Loading