<commit_before>
#ifndef OPENMC_DAGMC_H
#define OPENMC_DAGMC_H

#ifdef DAGMC

#include "DagMC.hpp"
#include "openmc/cell.h"
#include "openmc/surface.h"

namespace openmc {

//==============================================================================
// Global variables
//==============================================================================

extern "C" const bool dagmc_enabled;

namespace model {

extern moab::DagMC* DAG;

} // namespace model

//==============================================================================
// Non-member functions
//==============================================================================

extern "C" void load_dagmc_geometry();
extern "C" void free_memory_dagmc();
extern "C" pugi::xml_document* read_uwuw_materials();
bool get_uwuw_materials_xml(std::string& s);
} // namespace openmc

#endif // DAGMC

#endif // OPENMC_DAGMC_H<commit_msg>Moving dagmc_enabled outside of main DAGMC ifdef.<commit_after>
#ifndef OPENMC_DAGMC_H
#define OPENMC_DAGMC_H

namespace openmc {
extern "C" const bool dagmc_enabled;
}

#ifdef DAGMC

#include "DagMC.hpp"
#include "openmc/cell.h"
#include "openmc/surface.h"

namespace openmc {

namespace model {

extern moab::DagMC* DAG;

} // namespace model

//==============================================================================
// Non-member functions
//==============================================================================

extern "C" void load_dagmc_geometry();
extern "C" void free_memory_dagmc();
extern "C" pugi::xml_document* read_uwuw_materials();
bool get_uwuw_materials_xml(std::string& s);

} // namespace openmc

#endif // DAGMC

#endif // OPENMC_DAGMC_H
{'fraction_non_alphanumeric': 0.37163375224416517, 'fraction_numerical': 0.0, 'mean_word_length': 7.0772946859903385, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3705266', 'n_tokens_mistral': 510, 'n_tokens_neox': 471, 'n_words': 109}