Some updates to get the CAD build working again.

This commit is contained in:
shriwise 2018-09-04 21:49:58 -05:00 committed by pshriwise
parent 289a6b37ff
commit 146d700222
10 changed files with 75 additions and 70 deletions

View file

@ -2,7 +2,7 @@
#include "openmc/hdf5_interface.h"
#include "openmc/lattice.h"
#include "openmc/surface.h"
#include "openmc/settings.h"
namespace openmc {
@ -10,7 +10,7 @@ extern "C" void
write_geometry(hid_t file_id) {
#ifdef CAD
if (dagmc) {
if (settings::dagmc) {
return;
}
#endif