-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add general M1Grey AnalyticData files
- Loading branch information
Showing
7 changed files
with
66 additions
and
0 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
6 changes: 6 additions & 0 deletions
6
src/PointwiseFunctions/AnalyticData/RadiationTransport/CMakeLists.txt
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,6 @@ | ||
# Distributed under the MIT License. | ||
# See LICENSE.txt for details. | ||
|
||
set(LIBRARY RadiationTransportAnalyticData) | ||
|
||
add_subdirectory(M1Grey) |
10 changes: 10 additions & 0 deletions
10
src/PointwiseFunctions/AnalyticData/RadiationTransport/M1Grey/AnalyticData.hpp
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,10 @@ | ||
// Distributed under the MIT License. | ||
// See LICENSE.txt for details. | ||
|
||
#pragma once | ||
|
||
/*! | ||
* \ingroup AnalyticDataGroup | ||
* \brief Holds classes implementing analytic data for the M1Grey system. | ||
*/ | ||
namespace RadiationTransport::M1Grey::AnalyticData {} |
32 changes: 32 additions & 0 deletions
32
src/PointwiseFunctions/AnalyticData/RadiationTransport/M1Grey/CMakeLists.txt
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,32 @@ | ||
# Distributed under the MIT License. | ||
# See LICENSE.txt for details. | ||
|
||
set(LIBRARY M1GreyAnalyticData) | ||
|
||
add_spectre_library(${LIBRARY}) | ||
|
||
spectre_target_sources( | ||
${LIBRARY} | ||
PRIVATE | ||
HomogeneousSphere.cpp | ||
) | ||
|
||
spectre_target_headers( | ||
${LIBRARY} | ||
INCLUDE_DIRECTORY ${CMAKE_SOURCE_DIR}/src | ||
HEADERS | ||
AnalyticData.hpp | ||
Factory.hpp | ||
HomogeneousSphere.hpp | ||
) | ||
|
||
target_link_libraries( | ||
${LIBRARY} | ||
PUBLIC | ||
Boost::boost | ||
DataStructures | ||
ErrorHandling | ||
GeneralRelativitySolutions | ||
Hydro | ||
Options | ||
) |
15 changes: 15 additions & 0 deletions
15
src/PointwiseFunctions/AnalyticData/RadiationTransport/M1Grey/Factory.hpp
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,15 @@ | ||
// Distributed under the MIT License. | ||
// See LICENSE.txt for details. | ||
|
||
#pragma once | ||
|
||
#include "PointwiseFunctions/AnalyticData/RadiationTransport/M1Grey/HomogeneousSphere.hpp" | ||
#include "Utilities/TMPL.hpp" | ||
|
||
namespace RadiationTransport::M1Grey::AnalyticData { | ||
/*! | ||
* \brief Typelist of all analytic data of M1Grey evolution system | ||
*/ | ||
|
||
using all_data = tmpl::list<HomogeneousSphere>; | ||
} // namespace RadiationTransport::M1Grey::AnalyticData |
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