fix: add namespaces to example executables

This commit is contained in:
Max Lübke 2023-09-15 07:48:21 +02:00
parent 8e5c1ad035
commit 5099fd23a9
10 changed files with 38 additions and 8 deletions

View File

@ -1,5 +1,8 @@
#include <Eigen/Eigen>
#include <tug/Simulation.hpp>
using namespace Eigen;
int main(int argc, char *argv[]) {
// **************
// **** GRID ****

View File

@ -1,5 +1,8 @@
#include <Eigen/Eigen>
#include <tug/Simulation.hpp>
using namespace Eigen;
int main(int argc, char *argv[]) {
// EASY_PROFILER_ENABLE;
// profiler::startListen();

View File

@ -1,5 +1,8 @@
#include <Eigen/Eigen>
#include <tug/Simulation.hpp>
using namespace Eigen;
int main(int argc, char *argv[]) {
int row = 20;
int col = 20;

View File

@ -1,6 +1,9 @@
#include "tug/Boundary.hpp"
#include <Eigen/Eigen>
#include <tug/Simulation.hpp>
using namespace Eigen;
int main(int argc, char *argv[]) {
// **************
// **** GRID ****

View File

@ -6,10 +6,13 @@
*
*/
#include <Eigen/Eigen>
#include <cstdlib>
#include <iostream>
#include <tug/Simulation.hpp>
using namespace Eigen;
int main(int argc, char *argv[]) {
int row = 64;

View File

@ -6,7 +6,10 @@
*
*/
#include <Eigen/Eigen>
#include <tug/Simulation.hpp>
using namespace Eigen;
// #include <easy/profiler.h>
// #define EASY_PROFILER_ENABLE ::profiler::setEnabled(true);

View File

@ -6,8 +6,11 @@
*
*/
#include <Eigen/Eigen>
#include <tug/Simulation.hpp>
using namespace Eigen;
int main(int argc, char *argv[]) {
// **************

View File

@ -1,9 +1,13 @@
#include <Eigen/Eigen>
#include <chrono>
#include <fstream>
#include <iostream>
#include <string>
#include <tug/Simulation.hpp>
using namespace Eigen;
using namespace std;
int main(int argc, char *argv[]) {
int n[] = {2000};

View File

@ -1,9 +1,13 @@
#include <Eigen/Eigen>
#include <chrono>
#include <fstream>
#include <iostream>
#include <string>
#include <tug/Simulation.hpp>
using namespace Eigen;
using namespace std;
int main(int argc, char *argv[]) {
int n[] = {2000};

View File

@ -3,6 +3,7 @@
#include <tug/Simulation.hpp>
using namespace std;
using namespace Eigen;
int main(int argc, char *argv[]) {
int row = 50;