72 void print(std::ostream& file,
int l = 0)
const;
75 int Z(
void)
const {
return Zh; }
76 double A(
void)
const {
return Ah; }
78 static void printall(std::ostream& file);
91 static double get_A(
int fZ);
114 double mean_ratio_Z_to_Ah;
115 double NumberOfElectronsInGramh;
123 mean_ratio_Z_to_Ah(0.0),
124 NumberOfElectronsInGramh(0.0) {
133 const String& fatom_not2,
double fweight_quan2);
135 const String& fatom_not2,
double fweight_quan2,
136 const String& fatom_not3,
double fweight_quan3);
138 const String& fatom_not2,
double fweight_quan2,
139 const String& fatom_not3,
double fweight_quan3,
140 const String& fatom_not4,
double fweight_quan4);
141 void print(std::ostream& file,
int l)
const;
142 long qatom(
void)
const {
return qatomh; }
149 double Z_mean(
void)
const {
return Z_meanh; }
150 double A_mean(
void)
const {
return A_meanh; }
154 return NumberOfElectronsInGramh;
157std::ostream&
operator<<(std::ostream& file,
const AtomMixDef& f);
static AbsList< AtomDef * > & get_logbook(void)
const String & name(void) const
static AtomDef * get_AtomDef(const String &fnotation)
void print(std::ostream &file, int l=0) const
const String & notation(void) const
static void printall(std::ostream &file)
static const AbsList< AtomDef * > & get_const_logbook(void)
macro_copy_total(AtomDef)
static double get_A(int fZ)
void print(std::ostream &file, int l) const
double NumberOfElectronsInGram(void) const
double A_mean(void) const
PassivePtr< AtomDef > atom(long n) const
double inv_A_mean(void) const
double weight_quan(long n) const
double mean_ratio_Z_to_A(void) const
double Z_mean(void) const
const DynLinArr< PassivePtr< AtomDef > > & atom(void) const
const DynLinArr< double > & weight_quan(void) const
const DynLinArr< double > & weight_mass(void) const
double weight_mass(long n) const
std::ostream & operator<<(std::ostream &file, const BGMesh &bgm)
const int max_poss_atom_z