Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
235 commits
Select commit Hold shift + click to select a range
4e3edf8
wip: adding initial case
OmarDuran Jan 15, 2026
9ca5022
wip: adding all the combination out of 6 fractures
OmarDuran Jan 16, 2026
288c7ab
wip: update meshes
OmarDuran Jan 16, 2026
06191c2
Update rc_hex01_norm_nf_lagr_contact.xml
OmarDuran Jan 16, 2026
82c767b
wip: add meshes
OmarDuran Jan 16, 2026
ac6a967
wip: adding mechanics, fluid and poromechanics cases
OmarDuran Jan 20, 2026
81763f5
wip: adding cases discussed with RS
OmarDuran Jan 21, 2026
47b067c
wip: delete old cases
OmarDuran Jan 21, 2026
61179c7
wip: add non trivial case
OmarDuran Jan 23, 2026
ec2b14c
wip: adding initialization for pure mechanical problems using interna…
OmarDuran Jan 23, 2026
ff3e12f
Merge branch 'develop' into feature/oduran/test_stress_consistency
OmarDuran Jan 30, 2026
63a91f9
test: consistency of constant fluxes (linear displacement solution)
OmarDuran Jan 30, 2026
b7fffdd
Update testFEMConsistency.cpp
OmarDuran Jan 31, 2026
7a4ee95
Update testFEMConsistency.cpp
OmarDuran Jan 31, 2026
7338f70
wip: make test faster
OmarDuran Jan 31, 2026
fc35c01
wip: make test faster
OmarDuran Jan 31, 2026
4c918f7
Update testFEMConsistency.cpp
OmarDuran Feb 1, 2026
c9a1bbf
Update testFEMConsistency.cpp
OmarDuran Feb 1, 2026
32a958f
Update testFEMConsistency.cpp
OmarDuran Feb 1, 2026
e25315c
Update testFEMConsistency.cpp
OmarDuran Feb 1, 2026
6519dd1
Update testFEMConsistency.cpp
OmarDuran Feb 1, 2026
8ec8d8d
Update testFEMConsistency.cpp
OmarDuran Feb 1, 2026
88b1e62
wip: testing distorted meshes
OmarDuran Feb 1, 2026
d1a39b1
wip: adding distorted meshes
OmarDuran Feb 1, 2026
0692c5a
Update testFEMConsistency.cpp
OmarDuran Feb 1, 2026
a969057
wip: remove input xml files
OmarDuran Feb 2, 2026
99d5877
Update GeosxOptions.cmake
OmarDuran Feb 2, 2026
7d0995d
Update testFEMConsistency.cpp
OmarDuran Feb 2, 2026
822e756
Update testFEMConsistency.cpp
OmarDuran Feb 2, 2026
d74bb50
Update testFEMConsistency.cpp
OmarDuran Feb 2, 2026
529df73
add DynamicFieldSpecification
rrsettgast Feb 3, 2026
8566432
wip: remove 2d elements from test meshes
OmarDuran Feb 3, 2026
8682462
fix: correct filename DynamicFieldSpecification in CMakeLists.txt
OmarDuran Feb 3, 2026
dcc0921
Update DynamicFieldSpecification.cpp
OmarDuran Feb 3, 2026
867c3b6
wip: fixing compilation issues
OmarDuran Feb 3, 2026
0351ef7
fix: compilation and linker issues are resolved
OmarDuran Feb 3, 2026
e4895cd
Update DynamicFieldSpecification.cpp
OmarDuran Feb 3, 2026
ddf00d4
compilation error
rrsettgast Feb 3, 2026
e32da8c
Update SurfaceGenerator.cpp
OmarDuran Feb 3, 2026
57d2e4e
wip: uncrustify
OmarDuran Feb 3, 2026
5953b82
Merge branch 'feature/oduran/test_fem_stress_consistency' of https://…
OmarDuran Feb 3, 2026
5e968d8
wip: adding test for class DynamicFieldSpecification
OmarDuran Feb 3, 2026
70efca6
wip: mixed dimensional flow test
OmarDuran Feb 3, 2026
f0e6934
wip: testing two conditions
OmarDuran Feb 3, 2026
f3bd6dd
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 3, 2026
be77575
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 3, 2026
57a8ae0
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 3, 2026
4fff9e8
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 3, 2026
7fbff2c
fix: complete mixed-dimensional test
OmarDuran Feb 3, 2026
5afd416
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 3, 2026
80792f8
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 3, 2026
f2cdda4
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 3, 2026
ca40498
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 3, 2026
1ab70ff
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 3, 2026
80d397c
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 3, 2026
4284385
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 3, 2026
4eb8840
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 3, 2026
ef04e14
wip: ongoing work with parallel test
OmarDuran Feb 4, 2026
64c37cc
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 4, 2026
f40d13d
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 4, 2026
e6a97e7
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 4, 2026
132b2a3
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 4, 2026
2b7b55d
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 4, 2026
e2e75ad
Update testFEMConsistency.cpp
OmarDuran Feb 4, 2026
5d0bf15
Update testMixedDimSinglePhaseFlow.cpp
OmarDuran Feb 4, 2026
5235ab6
doc: documentation for the test
OmarDuran Feb 4, 2026
93bf25c
Update testFEMConsistency.cpp
OmarDuran Feb 4, 2026
dcfbb66
wip: remove 2d elements
OmarDuran Feb 4, 2026
1f37331
Merge branch 'develop' into feature/oduran/test_fem_stress_consistency
OmarDuran Feb 4, 2026
6d2cfd2
fix: Resolves a segmentation fault on macOS (ARM64)
OmarDuran Feb 5, 2026
a0f0735
Merge branch 'fix/oduran/suitesparse_ordering' into feature/oduran/te…
OmarDuran Feb 5, 2026
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
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
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
6 changes: 4 additions & 2 deletions src/coreComponents/dataRepository/Group.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ void Group::deregisterWrapper( string const & name )

void Group::resize( indexType const newSize )
{
forWrappers( [newSize] ( WrapperBase & wrapper )
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
24 changes: 23 additions & 1 deletion src/coreComponents/dataRepository/wrapperHelpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,29 @@ numElementsFromByteSize( localIndex const byteSize )
template< typename T >
std::enable_if_t< traits::HasMemberFunction_reserve< T > >
reserve( T & value, localIndex const newCapacity )
{ value.reserve( newCapacity ); }
{
value.reserve( newCapacity );
if constexpr ( traits::HasMemberFunction_reserveValues< T const > )
{
localIndex const oldCapacity = value.size();
double const oldValueCapacity = value.valueCapacity();
localIndex const newValueCapacity = oldValueCapacity * newCapacity / oldCapacity;
value.reserveValues( newValueCapacity );
}
}

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
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 )
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,91 @@ foreach(test ${gtest_geosx_tests})
${CMAKE_CURRENT_SOURCE_DIR}/hex_pyr_tet_nested_mixed.vtu
$<TARGET_FILE_DIR:${test_name}>
)

endforeach()

# Special handling for testMixedDimSinglePhaseFlow which requires 4 MPI tasks
if( ENABLE_MPI )
set( test "testMixedDimSinglePhaseFlow.cpp" )
# The MixedDimPartitionedFlowCases suite requires 4 ranks (e.g., 1x1x4 partitioning)
set( nranks 4 )

get_filename_component( test_name ${test} NAME_WE )

blt_add_executable( NAME ${test_name}
SOURCES ${test}
OUTPUT_DIR ${TEST_OUTPUT_DIRECTORY}
DEPENDS_ON ${decoratedDependencies} ${tplDependencyList} )

geos_add_test( NAME ${test_name}
COMMAND ${test_name} -x ${nranks}
NUM_MPI_TASKS ${nranks} )

set_tests_properties(${test_name} PROPERTIES ENVIRONMENT "TEST_BINARY_DIR=$<TARGET_FILE_DIR:${test_name}>")
target_compile_definitions(${test_name} PRIVATE TEST_BINARY_DIR=\"$<TARGET_FILE_DIR:${test_name}>\")

# Copy necessary mesh files for testMixedDimSinglePhaseFlow
foreach( mesh IN ITEMS "fractured_mesh_hex_DFN_1.vtu"
"fractured_mesh_hex_DFN_12.vtu"
"fractured_mesh_hex_DFN_123.vtu" )
add_custom_command(
TARGET ${test_name} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
${CMAKE_CURRENT_SOURCE_DIR}/../meshTests/dfn_market/${mesh}
$<TARGET_FILE_DIR:${test_name}>
)
endforeach()
endif()

# Special handling for testMixedDimHydrostaticEquilibrium which requires 4 MPI tasks
if( ENABLE_MPI )
set( test "testMixedDimHydrostaticEquilibrium.cpp" )
# The MixedDimHydrostaticEquilibriumCases suite requires 4 ranks (e.g., 1x1x4 partitioning)
set( nranks 4 )

get_filename_component( test_name ${test} NAME_WE )

blt_add_executable( NAME ${test_name}
SOURCES ${test}
OUTPUT_DIR ${TEST_OUTPUT_DIRECTORY}
DEPENDS_ON ${decoratedDependencies} ${tplDependencyList} )

geos_add_test( NAME ${test_name}
COMMAND ${test_name} -x ${nranks}
NUM_MPI_TASKS ${nranks} )

set_tests_properties(${test_name} PROPERTIES ENVIRONMENT "TEST_BINARY_DIR=$<TARGET_FILE_DIR:${test_name}>")
target_compile_definitions(${test_name} PRIVATE TEST_BINARY_DIR=\"$<TARGET_FILE_DIR:${test_name}>\")

# Copy necessary mesh files for testMixedDimHydrostaticEquilibrium
foreach( mesh IN ITEMS
"fractured_mesh_hex_DFN_1.vtu"
"fractured_mesh_hex_DFN_123.vtu"
"fractured_mesh_tet_DFN_1.vtu"
"fractured_mesh_tet_DFN_123.vtu"
"fractured_wavy_mesh_hex_DFN_1.vtu"
"fractured_wavy_mesh_hex_DFN_123.vtu"
"fractured_wavy_mesh_tet_DFN_1.vtu"
"fractured_wavy_mesh_tet_DFN_123.vtu"
"fractured_full_span_mesh_hex_DFN_1.vtu"
"fractured_full_span_mesh_hex_DFN_123.vtu"
"fractured_full_span_mesh_tet_DFN_1.vtu"
"fractured_full_span_mesh_tet_DFN_123.vtu"
"t_shaped_wavy_mesh_hex_DFN_t1t2.vtu"
"t_shaped_wavy_mesh_tet_DFN_t1t2.vtu"
"y_shaped_wavy_mesh_hex_DFN_y1y2y3.vtu"
"y_shaped_wavy_mesh_tet_DFN_y1y2y3.vtu"
"DFN_5_fractures_hex_binarized.vtu"
"DFN_5_fractures_tet_binarized.vtu" )
add_custom_command(
TARGET ${test_name} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
${CMAKE_CURRENT_SOURCE_DIR}/../meshTests/dfn_market/${mesh}
$<TARGET_FILE_DIR:${test_name}>
)
endforeach()
endif()

# For some reason, BLT is not setting CUDA language for these source files
if ( ENABLE_CUDA )
set_source_files_properties( ${gtest_geosx_tests} PROPERTIES LANGUAGE CUDA )
Expand Down
Loading
Loading