@@ -55,23 +55,23 @@ class DiagonalIntegrator;
5555struct greenData {
5656 int how;
5757 double epsilon;
58+ std::string integratorType;
5859 double kappa;
5960 double epsilonReal;
6061 double epsilonImaginary;
6162 std::vector<double > spherePosition;
6263 double sphereRadius;
63- std::string integratorType;
6464 bool empty;
6565
6666 greenData () { empty = true ;}
67- greenData (int _how, double _epsilon = 1.0 ,
67+ greenData (int _how, double _epsilon = 1.0 , const std::string & _diag = " COLLOCATION " ,
6868 double _kappa = 0.0 ,
6969 double _epsReal = 0.0 , double _epsImaginary = 0.0 ,
7070 const std::vector<double > & _sphere = std::vector<double >(),
71- double _sphRadius = 0.0 , const std::string & _diag ) :
72- how (_how), epsilon(_epsilon), kappa(_kappa ), epsilonReal(_epsReal),
73- epsilonImaginary (_epsImaginary),
74- spherePosition (_sphere), sphereRadius(_sphRadius), integratorType(_diag) { empty = false ; }
71+ double _sphRadius = 0.0 ) :
72+ how (_how), epsilon(_epsilon), integratorType(_diag ), kappa(_kappa),
73+ epsilonReal (_epsReal), epsilonImaginary(_epsImaginary),
74+ spherePosition (_sphere), sphereRadius(_sphRadius) { empty = false ; }
7575};
7676
7777#endif // GREENDATA_HPP
0 commit comments