Start converting TTB data/physics

This commit is contained in:
Paul Romano 2019-01-11 16:31:22 -06:00
parent 1992ebc810
commit ea1f2e426d
7 changed files with 368 additions and 93 deletions

View file

@ -1,11 +1,14 @@
#ifndef OPENMC_MATERIAL_H
#define OPENMC_MATERIAL_H
#include <memory> // for unique_ptr
#include <unordered_map>
#include <vector>
#include "pugixml.hpp"
#include "openmc/bremsstrahlung.h"
#include "openmc/particle.h"
namespace openmc {
@ -38,9 +41,14 @@ public:
//! A negative value indicates no default temperature was specified.
double temperature_ {-1};
std::unique_ptr<Bremsstrahlung> ttb_;
Material() {};
explicit Material(pugi::xml_node material_node);
private:
void init_bremsstrahlung();
};
//==============================================================================