Skip to content

Commit

Permalink
Added test/surface_rxt subdir.
Browse files Browse the repository at this point in the history
  • Loading branch information
dwfncar committed Oct 25, 2023
1 parent bde04bc commit 5ee2a66
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ add_subdirectory(regression)
add_subdirectory(integration)
add_subdirectory(tutorial)
add_subdirectory(kpp)
add_subdirectory(surface_rxn)
21 changes: 21 additions & 0 deletions test/surface_rxn/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
################################################################################
# Test utilities

include(test_util)

################################################################################
# Tests

if(ENABLE_JSON)
create_standard_test(NAME surface_rxn SOURCES test_surface_rxn.cpp)
endif()

################################################################################

################################################################################
# Copy test data

add_custom_target(copy_kpp_configs ALL ${CMAKE_COMMAND} -E copy_directory
${CMAKE_CURRENT_SOURCE_DIR}/configs ${CMAKE_BINARY_DIR}/configs)

################################################################################
1 change: 1 addition & 0 deletions test/surface_rxn/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"camp-files": ["species.json", "mechanism.json"]}
11 changes: 11 additions & 0 deletions test/surface_rxn/test_surface_rxn.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#include <micm/configure/solver_config.hpp>
#include <micm/solver/rosenbrock.hpp>
#include <micm/system/species.hpp>


int main(const int argc, const char* argv[])
{
micm::SolverConfig solver_config;

return 0;
}

0 comments on commit 5ee2a66

Please sign in to comment.