Skip to content

Commit

Permalink
Add general M1Grey AnalyticData files
Browse files Browse the repository at this point in the history
  • Loading branch information
pajkosmi committed Jan 29, 2025
1 parent 26e24ab commit 52a27f5
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ target_link_libraries(
LinearOperators
MathFunctions
M1Grey
M1GreyAnalyticData
M1GreySolutions
Observer
Options
Expand Down
1 change: 1 addition & 0 deletions src/PointwiseFunctions/AnalyticData/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ add_subdirectory(GeneralRelativity)
add_subdirectory(GhGrMhd)
add_subdirectory(GhScalarTensor)
add_subdirectory(GrMhd)
add_subdirectory(RadiationTransport)
add_subdirectory(NewtonianEuler)
add_subdirectory(Punctures)
add_subdirectory(ScalarTensor)
Expand Down
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)
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 {}
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
)
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
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ target_link_libraries(
DiscontinuousGalerkin
Domain
M1Grey
M1GreyAnalyticData
M1GreySolutions
Parallel
Spectral
Expand Down

0 comments on commit 52a27f5

Please sign in to comment.