diff --git a/examples/BTCS_1D_proto_example.cpp b/examples/BTCS_1D_proto_example.cpp index f7e7a18..1a53738 100644 --- a/examples/BTCS_1D_proto_example.cpp +++ b/examples/BTCS_1D_proto_example.cpp @@ -1,5 +1,8 @@ +#include #include +using namespace Eigen; + int main(int argc, char *argv[]) { // ************** // **** GRID **** @@ -45,4 +48,4 @@ int main(int argc, char *argv[]) { // run the simulation simulation.run(); -} \ No newline at end of file +} diff --git a/examples/BTCS_2D_proto_example.cpp b/examples/BTCS_2D_proto_example.cpp index f65f572..9a103cb 100644 --- a/examples/BTCS_2D_proto_example.cpp +++ b/examples/BTCS_2D_proto_example.cpp @@ -1,5 +1,8 @@ +#include #include +using namespace Eigen; + int main(int argc, char *argv[]) { // EASY_PROFILER_ENABLE; // profiler::startListen(); @@ -79,4 +82,4 @@ int main(int argc, char *argv[]) { // EASY_END_BLOCK; // profiler::dumpBlocksToFile("test_profile.prof"); // profiler::stopListen(); -} \ No newline at end of file +} diff --git a/examples/CRNI_2D_proto_example.cpp b/examples/CRNI_2D_proto_example.cpp index 770fd42..39262e7 100644 --- a/examples/CRNI_2D_proto_example.cpp +++ b/examples/CRNI_2D_proto_example.cpp @@ -1,5 +1,8 @@ +#include #include +using namespace Eigen; + int main(int argc, char *argv[]) { int row = 20; int col = 20; @@ -21,4 +24,4 @@ int main(int argc, char *argv[]) { simulation.setOutputCSV(CSV_OUTPUT_XTREME); simulation.run(); -} \ No newline at end of file +} diff --git a/examples/FTCS_1D_proto_example.cpp b/examples/FTCS_1D_proto_example.cpp index 0b2ee83..e97f0be 100644 --- a/examples/FTCS_1D_proto_example.cpp +++ b/examples/FTCS_1D_proto_example.cpp @@ -1,6 +1,9 @@ #include "tug/Boundary.hpp" +#include #include +using namespace Eigen; + int main(int argc, char *argv[]) { // ************** // **** GRID **** @@ -44,4 +47,4 @@ int main(int argc, char *argv[]) { // run the simulation simulation.run(); -} \ No newline at end of file +} diff --git a/examples/FTCS_2D_proto_closed_mdl.cpp b/examples/FTCS_2D_proto_closed_mdl.cpp index a297734..845d36f 100644 --- a/examples/FTCS_2D_proto_closed_mdl.cpp +++ b/examples/FTCS_2D_proto_closed_mdl.cpp @@ -6,10 +6,13 @@ * */ +#include #include #include #include +using namespace Eigen; + int main(int argc, char *argv[]) { int row = 64; diff --git a/examples/FTCS_2D_proto_example.cpp b/examples/FTCS_2D_proto_example.cpp index 058810d..5f5e520 100644 --- a/examples/FTCS_2D_proto_example.cpp +++ b/examples/FTCS_2D_proto_example.cpp @@ -6,7 +6,10 @@ * */ +#include #include + +using namespace Eigen; // #include // #define EASY_PROFILER_ENABLE ::profiler::setEnabled(true); @@ -85,4 +88,4 @@ int main(int argc, char *argv[]) { // EASY_END_BLOCK; // profiler::dumpBlocksToFile("test_profile.prof"); // profiler::stopListen(); -} \ No newline at end of file +} diff --git a/examples/FTCS_2D_proto_example_mdl.cpp b/examples/FTCS_2D_proto_example_mdl.cpp index 9189555..2c63c0c 100644 --- a/examples/FTCS_2D_proto_example_mdl.cpp +++ b/examples/FTCS_2D_proto_example_mdl.cpp @@ -6,8 +6,11 @@ * */ +#include #include +using namespace Eigen; + int main(int argc, char *argv[]) { // ************** diff --git a/examples/profiling_openmp.cpp b/examples/profiling_openmp.cpp index 92b5b12..5dc13ef 100644 --- a/examples/profiling_openmp.cpp +++ b/examples/profiling_openmp.cpp @@ -1,9 +1,13 @@ +#include #include #include #include #include #include +using namespace Eigen; +using namespace std; + int main(int argc, char *argv[]) { int n[] = {2000}; @@ -63,4 +67,4 @@ int main(int argc, char *argv[]) { } myfile.close(); } -} \ No newline at end of file +} diff --git a/examples/profiling_speedup.cpp b/examples/profiling_speedup.cpp index 92b5b12..5dc13ef 100644 --- a/examples/profiling_speedup.cpp +++ b/examples/profiling_speedup.cpp @@ -1,9 +1,13 @@ +#include #include #include #include #include #include +using namespace Eigen; +using namespace std; + int main(int argc, char *argv[]) { int n[] = {2000}; @@ -63,4 +67,4 @@ int main(int argc, char *argv[]) { } myfile.close(); } -} \ No newline at end of file +} diff --git a/examples/reference-FTCS_2D_closed.cpp b/examples/reference-FTCS_2D_closed.cpp index 09dad0d..340a6fd 100644 --- a/examples/reference-FTCS_2D_closed.cpp +++ b/examples/reference-FTCS_2D_closed.cpp @@ -3,6 +3,7 @@ #include using namespace std; +using namespace Eigen; int main(int argc, char *argv[]) { int row = 50; @@ -48,4 +49,4 @@ int main(int argc, char *argv[]) { // RUN sim.run(); -} \ No newline at end of file +}