Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
bb2742a
completed draft of intersection_data
int-ptr-ptr Dec 31, 2025
6045b92
function concat
int-ptr-ptr Jan 4, 2026
4de2644
Merge branch 'accessor-pack-fixture' into nci-compute_coupling
int-ptr-ptr Jan 5, 2026
a667cd1
completed test
int-ptr-ptr Jan 6, 2026
9cf3fa4
changed name to fix unity build
int-ptr-ptr Jan 7, 2026
b2c0c85
Merge branch 'devel' into nci-compute_coupling
int-ptr-ptr Jan 9, 2026
dfcd808
update analytical function
int-ptr-ptr Jan 12, 2026
cc04450
reverted intersection_data removal
int-ptr-ptr Jan 12, 2026
63c0060
Updated the tests to be parameterized.
lsawade Jan 13, 2026
56391f0
Removed the parameterized test to simplify structure
lsawade Jan 13, 2026
83d95e9
Unified the run conforming test case
lsawade Jan 13, 2026
612dd57
Merge pull request #4 from PrincetonUniversity/nci-compute_coupling
int-ptr-ptr Jan 14, 2026
deb405f
Merge remote-tracking branch 'origin/devel' into nci-compute_coupling
int-ptr-ptr Jan 15, 2026
b69bf34
review changes, rename vectorized -> chain
int-ptr-ptr Jan 18, 2026
699ed70
Merge branch 'issue-1554' into nci-compute_coupling
int-ptr-ptr Jan 18, 2026
8a36f7b
removed old nonconforming.cpp, removed snuck Kokkos includes
int-ptr-ptr Jan 18, 2026
39f51c0
remove snuck Kokkos include
int-ptr-ptr Jan 19, 2026
83feb7b
Review comment suggestions from Rohit
Rohit-Kakodkar Jan 23, 2026
0a87004
failing compilation
Rohit-Kakodkar Jan 23, 2026
5e5b93e
Merge pull request #5 from Rohit-Kakodkar/PR-1537-review-comments
int-ptr-ptr Jan 23, 2026
1512d59
resolved ncomp_self compilation error
int-ptr-ptr Jan 24, 2026
ccc6ed8
removed auto for gpu compile
int-ptr-ptr Jan 24, 2026
1e4b0dc
change typename for gpu
int-ptr-ptr Jan 24, 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
4 changes: 3 additions & 1 deletion tests/unit-tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,9 @@ add_executable(
compute_coupling_tests
compute_coupling/acoustic_elastic.cpp
compute_coupling/elastic_acoustic.cpp
compute_coupling/nonconforming.cpp
compute_coupling/nonconforming/acoustic_elastic.cpp
compute_coupling/nonconforming/elastic_acoustic.cpp
compute_coupling/runner.cpp
)

target_link_libraries(
Expand Down
8 changes: 7 additions & 1 deletion tests/unit-tests/compute_coupling/acoustic_elastic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#include <Kokkos_Core.hpp>
#include <gtest/gtest.h>

#include <string>

struct AcousticElasticTestParams {
type_real edge_factor;
std::array<type_real, 2> normal;
Expand All @@ -12,6 +14,8 @@ struct AcousticElasticTestParams {
std::string name;
};

void PrintTo(const AcousticElasticTestParams &, std::ostream *os) { *os << ""; }

std::ostream &operator<<(std::ostream &os,
const AcousticElasticTestParams &params) {
os << params.name;
Expand Down Expand Up @@ -93,4 +97,6 @@ INSTANTIATE_TEST_SUITE_P(
1.414213562, // expected_result (1e6 * (0.707106781 * 1e-6 +
// 0.707106781 * 1e-6) = 1.414213562)
1e-6, // tolerance (relaxed for large numbers)
"LargeValuesTest" }));
"LargeValuesTest" }),
[](const ::testing::TestParamInfo<AcousticElasticTestParams> &info)
-> std::string { return info.param.name; });
8 changes: 7 additions & 1 deletion tests/unit-tests/compute_coupling/elastic_acoustic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#include <Kokkos_Core.hpp>
#include <gtest/gtest.h>

#include <string>

struct ElasticAcousticTestParams {
type_real edge_factor;
std::array<type_real, 2> normal;
Expand All @@ -12,6 +14,8 @@ struct ElasticAcousticTestParams {
std::string name;
};

void PrintTo(const ElasticAcousticTestParams &, std::ostream *os) { *os << ""; }

class ElasticAcousticCouplingTest
: public ::testing::TestWithParam<ElasticAcousticTestParams> {};

Expand Down Expand Up @@ -102,4 +106,6 @@ INSTANTIATE_TEST_SUITE_P(
{ 1.414213562, 1.414213562 }, // expected_result (1.0 * 0.707106781
// * 2.0 ≈ 1.414)
1e-6, // tolerance (relaxed for floating point precision)
"DiagonalNormalTest" }));
"DiagonalNormalTest" }),
[](const ::testing::TestParamInfo<ElasticAcousticTestParams> &info)
-> std::string { return info.param.name; });
Loading