21 std::vector<double> matprop;
24 void inline setType(
int t){
26 if (t == 0){ matprop.resize(2); }
27 else if(t == 1){ matprop.resize(9);}
28 else{ matprop.resize(21); }
31 void inline setProp(
unsigned int i,
double val){
32 assert(i < matprop.size());
36 void inline setDensity(
double val){density = val;}
Material class.
Definition: Material.hh:14