266 : ees(fees) {
267 mfunnamep(
"ElElasticScatLowSigma::ElElasticScatLowSigma(...)");
268 std::ifstream file(file_name.c_str());
269 if (!file) {
271 mcerr <<
"cannot open file " << file_name << std::endl;
273 }
276 file >> qat >> qscat;
279 mean_coef.resize(qat);
280 coef.resize(qat);
281 for (long nat = 0; nat < qat; ++nat) {
282 mean_coef[nat].resize(ees->get_qe());
283 coef[nat].resize(ees->get_qe());
287 for (long ne = 0; ne < ees->get_qe(); ++ne) {
288 long fne;
289 double e;
290 mean_coef[nat][ne] = 0.0;
291 coef[nat][ne] = 0.0;
292 file >> fne >> e >> mean_coef[nat][ne] >> coef[nat][ne];
297 }
298 }
299}
#define check_econd11(a, signb, stream)
#define mfunnamep(string)
#define check_econd12(a, sign, b, stream)
int findmark(std::istream &file, const char *s)