format change with kernel pring
authorTrevor Irons <tirons@egi.utah.edu>
Thu, 17 Nov 2016 00:17:18 +0000 (17:17 -0700)
committerTrevor Irons <tirons@egi.utah.edu>
Thu, 17 Nov 2016 00:17:18 +0000 (17:17 -0700)
examples/KernelV0.cpp
src/KernelV0.cpp

index b8fec52..de1c8c7 100644 (file)
@@ -45,7 +45,7 @@ int main() {
 
         Kern->SetIntegrationSize( (Vector3r() << 200,200,2).finished() );
         Kern->SetIntegrationOrigin( (Vector3r() << 0,0,15).finished() );
-        Kern->SetTolerance( 1e-11 );
+        Kern->SetTolerance( 1e-13 );
 
         Kern->SetPulseDuration(0.020);
         Kern->SetPulseCurrent( VectorXr::LinSpaced( 20, .01, 200 )  ); // nbins, low, high
index 3a81699..c1784f6 100644 (file)
@@ -149,7 +149,10 @@ namespace Lemma {
             }
         }
         std::cout << "\rFinished KERNEL\n";
-        std::cout << Kern << std::endl;
+        std::cout << "real\n";
+        std::cout << Kern.real() << std::endl;
+        std::cout << "imag\n";
+        std::cout << Kern.imag() << std::endl;
         //IntegrateOnOctreeGrid( vtkOutput );
     }