-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #462 from PrincetonUniversity/issue-461
Issue 461 -- Implement Parameter Reader
- Loading branch information
Showing
14 changed files
with
658 additions
and
29 deletions.
There are no files selected for viewing
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"version": 6, | ||
"configurePresets": [ | ||
{ | ||
"name": "debug", | ||
"displayName": "Debug (Serial)", | ||
"binaryDir": "build/debug", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Debug", | ||
"BUILD_TESTS": "ON", | ||
"ENABLE_SIMD": "OFF", | ||
"Kokkos_ARCH_NATIVE": "ON", | ||
"Kokkos_ENABLE_AGGRESSIVE_VECTORIZATION": "ON", | ||
"Kokkos_ENABLE_ATOMICS_BYPASS": "ON" | ||
} | ||
} | ||
], | ||
"buildPresets": [ | ||
{ | ||
"name": "debug", | ||
"configurePreset": "debug", | ||
"targets": ["all"], | ||
"jobs": 8 | ||
} | ||
] | ||
} |
This file contains 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#pragma once | ||
|
||
#include "IO/fortranio/interface.hpp" | ||
#include "mesh/parameters/parameters.hpp" | ||
#include "specfem_mpi/interface.hpp" | ||
|
||
namespace specfem { | ||
namespace IO { | ||
namespace mesh { | ||
namespace impl { | ||
namespace fortran { | ||
namespace dim3 { | ||
|
||
/* | ||
* @brief Read paramters from 3D mesh database | ||
* | ||
* @param stream Input stream | ||
* @param mpi MPI object | ||
* @return specfem::mesh::parameters<specfem::dimension::type::dim2> Mesh | ||
* parameters | ||
*/ | ||
specfem::mesh::parameters<specfem::dimension::type::dim3> | ||
read_mesh_parameters(std::ifstream &stream, const specfem::MPI::MPI *mpi); | ||
|
||
} // namespace dim3 | ||
} // namespace fortran | ||
} // namespace impl | ||
} // namespace mesh | ||
} // namespace IO | ||
} // namespace specfem |
This file contains 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 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.