Show MCPL and NCrystal in openmc --version

This commit is contained in:
Paul Romano 2023-03-29 06:51:01 -05:00
parent e7a688a867
commit e2373c833b

View file

@ -360,6 +360,8 @@ void print_build_info()
std::string png(n);
std::string profiling(n);
std::string coverage(n);
std::string mcpl(n);
std::string ncrystal(n);
#ifdef PHDF5
phdf5 = y;
@ -373,6 +375,12 @@ void print_build_info()
#ifdef LIBMESH
libmesh = y;
#endif
#ifdef OPENMC_MCPL
mcpl = y;
#endif
#ifdef NCRYSTAL
ncrystal = y;
#endif
#ifdef USE_LIBPNG
png = y;
#endif
@ -396,6 +404,8 @@ void print_build_info()
fmt::print("PNG support: {}\n", png);
fmt::print("DAGMC support: {}\n", dagmc);
fmt::print("libMesh support: {}\n", libmesh);
fmt::print("MCPL support: {}\n", mcpl);
fmt::print("NCrystal support: {}\n", ncrystal);
fmt::print("Coverage testing: {}\n", coverage);
fmt::print("Profiling flags: {}\n", profiling);
}