-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d5de85f
commit 8a5dcc6
Showing
8 changed files
with
156 additions
and
113 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 was deleted.
Oops, something went wrong.
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,50 @@ | ||
# TMAP8 | ||
ifeq ($(ENABLE_TMAP8),yes) | ||
libmesh_CXXFLAGS += -DENABLE_TMAP8 | ||
APPLICATION_DIR := $(TMAP8_DIR) | ||
APPLICATION_NAME := tmap8 | ||
BUILD_EXEC := no | ||
GEN_REVISION := no | ||
include $(FRAMEWORK_DIR)/app.mk | ||
endif | ||
|
||
# Cardinal | ||
ifeq ($(ENABLE_CARDINAL),yes) | ||
# Add OpenMC flags | ||
ADDITIONAL_CPPFLAGS += $(HDF5_INCLUDES) $(OPENMC_INCLUDES) | ||
libmesh_CXXFLAGS += -DENABLE_OPENMC_COUPLING | ||
|
||
# Add DagMC flags (-DDAGMC is used in OpenMC) | ||
libmesh_CXXFLAGS += -DENABLE_DAGMC -DDAGMC | ||
|
||
# Configure and build MOAB, DagMC, and then OpenMC | ||
include $(CARDINAL_DIR)/config/moab.mk | ||
include $(CARDINAL_DIR)/config/dagmc.mk | ||
|
||
# autoconf-archive puts some arguments (e.g. -std=c++17) into the compiler | ||
# variable rather than the compiler flags variable. | ||
# | ||
# cmake allows this, but wants any compiler arguments to be | ||
# semicolon-separated, not space-separated | ||
# libmesh_CC, etc., were defined in build.mk | ||
space := $(subst ,, ) | ||
LIBMESH_CC_LIST := $(subst $(space),;,$(libmesh_CC)) | ||
LIBMESH_CXX_LIST := $(subst $(space),;,$(libmesh_CXX)) | ||
LIBMESH_F90_LIST := $(subst $(space),;,$(libmesh_F90)) | ||
|
||
ENABLE_DAGMC := ON | ||
include $(CARDINAL_DIR)/config/openmc.mk | ||
|
||
# Cardinal | ||
libmesh_CXXFLAGS += -DENABLE_CARDINAL | ||
APPLICATION_DIR := $(CARDINAL_DIR) | ||
APPLICATION_NAME := cardinal | ||
BUILD_EXEC := no | ||
GEN_REVISION := yes | ||
include $(FRAMEWORK_DIR)/app.mk | ||
|
||
# app_objects are defined in moose.mk and built according to the rules in build.mk | ||
# We need to build these first so we get include dirs | ||
$(app_objects): build_moab build_dagmc build_openmc | ||
$(test_objects): build_moab build_dagmc build_openmc | ||
endif |
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,27 @@ | ||
# TMAP8 | ||
ifeq ($(ENABLE_TMAP8),yes) | ||
CHEMICAL_REACTIONS := yes | ||
FLUID_PROPERTIES := yes | ||
HEAT_TRANSFER := yes | ||
MISC := yes | ||
NAVIER_STOKES := yes | ||
PHASE_FIELD := yes | ||
RAY_TRACING := yes | ||
RDG := yes | ||
SCALAR_TRANSPORT := yes | ||
SOLID_PROPERTIES := yes | ||
SOLID_MECHANICS := yes | ||
THERMAL_HYDRAULICS := yes | ||
endif | ||
|
||
# Cardinal | ||
ifeq ($(ENABLE_CARDINAL),yes) | ||
FLUID_PROPERTIES := yes | ||
HEAT_TRANSFER := yes | ||
NAVIER_STOKES := yes | ||
REACTOR := yes | ||
SOLID_PROPERTIES := yes | ||
STOCHASTIC_TOOLS := yes | ||
SOLID_MECHANICS := yes | ||
THERMAL_HYDRAULICS := yes | ||
endif |
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.