#include <ElElasticScat.h>
Definition at line 109 of file ElElasticScat.h.
◆ ElElasticScatLowSigma() [1/2]
Heed::ElElasticScatLowSigma::ElElasticScatLowSigma |
( |
void |
| ) |
|
|
inline |
◆ ElElasticScatLowSigma() [2/2]
Heed::ElElasticScatLowSigma::ElElasticScatLowSigma |
( |
ElElasticScat * |
fees, |
|
|
const String & |
file_name |
|
) |
| |
Definition at line 649 of file ElElasticScat.cpp.
651 : ees(fees) {
652 mfunnamep(
"ElElasticScatLowSigma::ElElasticScatLowSigma(...)");
653#ifdef USE_STLSTRING
654 std::ifstream file(file_name.c_str());
655#else
656 std::ifstream file(file_name);
657#endif
658 if (!file) {
660 mcerr <<
"cannot open file " << file_name << std::endl;
662 }
665 file >> qat >> qscat;
670 for (long nat = 0; nat < qat; ++nat) {
673 long z;
674 file >> z;
676 for (long ne = 0; ne < ees->get_qe(); ++ne) {
677 long fne;
678 double e;
679 mean_coef[nat][ne] = 0.0;
680 coef[nat][ne] = 0.0;
681 file >> fne >> e >> mean_coef[nat][ne] >> coef[nat][ne];
682
687 }
688 }
689}
#define check_econd11(a, signb, stream)
#define mfunnamep(string)
#define check_econd12(a, sign, b, stream)
int findmark(std::istream &file, const char *s)
◆ get_coef()
double Heed::ElElasticScatLowSigma::get_coef |
( |
long |
Z, |
|
|
long |
ne |
|
) |
| const |
|
inline |
◆ get_ees()
ElElasticScat * Heed::ElElasticScatLowSigma::get_ees |
( |
void |
| ) |
const |
|
inline |
◆ get_mean_coef()
double Heed::ElElasticScatLowSigma::get_mean_coef |
( |
long |
Z, |
|
|
long |
ne |
|
) |
| const |
|
inline |
◆ get_qscat()
long Heed::ElElasticScatLowSigma::get_qscat |
( |
void |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: