|
@@ -44,7 +44,7 @@ int main() {
|
44
|
44
|
|
45
|
45
|
Kern->SetIntegrationSize( (Vector3r() << 200,200,200).finished() );
|
46
|
46
|
Kern->SetIntegrationOrigin( (Vector3r() << 0,0,0).finished() );
|
47
|
|
- Kern->SetTolerance( 1e-12 );
|
|
47
|
+ Kern->SetTolerance( 1e-10 );
|
48
|
48
|
|
49
|
49
|
Kern->SetPulseDuration(0.020);
|
50
|
50
|
VectorXr I(36);
|
|
@@ -60,7 +60,7 @@ int main() {
|
60
|
60
|
|
61
|
61
|
//Kern->SetDepthLayerInterfaces( VectorXr::LinSpaced( 30, 3, 45.5 ) ); // nlay, low, high
|
62
|
62
|
//10**np.linspace(np.log10(10),np.log10(19),10)
|
63
|
|
- VectorXr interfaces = VectorXr::LinSpaced(31, std::log10(2), std::log10(50)); // 30 log spaced
|
|
63
|
+ VectorXr interfaces = VectorXr::LinSpaced(21, std::log10(2), std::log10(50)); // 30 log spaced
|
64
|
64
|
for (int i=0; i<interfaces.size(); ++i) {
|
65
|
65
|
interfaces(i) = std::pow(10, interfaces(i));
|
66
|
66
|
}
|