mirror of
https://git.gfz-potsdam.de/naaice/tug.git
synced 2025-12-15 18:38:23 +01:00
refactor: Consolidate includes by introducing tug.hpp for cleaner code structure
This commit is contained in:
parent
763a17b80f
commit
3b953e0b96
@ -1,7 +1,6 @@
|
||||
#include <Eigen/Eigen>
|
||||
#include <iostream>
|
||||
#include <tug/Advection.hpp>
|
||||
#include <tug/Core/Matrix.hpp>
|
||||
#include <tug/tug.hpp>
|
||||
|
||||
using namespace Eigen;
|
||||
using namespace tug;
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#include <Eigen/Eigen>
|
||||
#include <tug/Diffusion.hpp>
|
||||
#include <tug/tug.hpp>
|
||||
|
||||
using namespace Eigen;
|
||||
using namespace tug;
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#include <Eigen/Eigen>
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
#include <tug/Diffusion.hpp>
|
||||
#include <tug/tug.hpp>
|
||||
|
||||
using namespace Eigen;
|
||||
using namespace tug;
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <Eigen/Eigen>
|
||||
#include <tug/Diffusion.hpp>
|
||||
#include <tug/tug.hpp>
|
||||
|
||||
using namespace Eigen;
|
||||
using namespace tug;
|
||||
|
||||
@ -23,9 +23,9 @@
|
||||
#include <tug/Core/Numeric/BTCS.hpp>
|
||||
#include <tug/Core/Numeric/FTCS.hpp>
|
||||
#include <tug/Core/TugUtils.hpp>
|
||||
#include <tug/Diffusion.hpp>
|
||||
#include <tug/Diffusion/Diffusion.hpp>
|
||||
|
||||
#include <tug/Core/Velocities.hpp>
|
||||
#include <tug/Advection/Velocities.hpp>
|
||||
|
||||
using namespace Eigen;
|
||||
namespace tug {
|
||||
@ -25,7 +25,7 @@
|
||||
#include <tug/Core/Numeric/BTCS.hpp>
|
||||
#include <tug/Core/Numeric/FTCS.hpp>
|
||||
#include <tug/Core/TugUtils.hpp>
|
||||
#include <tug/Diffusion.hpp>
|
||||
#include <tug/Diffusion/Diffusion.hpp>
|
||||
|
||||
using namespace Eigen;
|
||||
namespace tug {
|
||||
7
include/tug/tug.hpp
Normal file
7
include/tug/tug.hpp
Normal file
@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <tug/Advection/Advection.hpp>
|
||||
#include <tug/Boundary.hpp>
|
||||
#include <tug/Core/Matrix.hpp>
|
||||
#include <tug/Diffusion/Diffusion.hpp>
|
||||
#include <tug/Grid.hpp>
|
||||
@ -3,7 +3,8 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <stdexcept>
|
||||
#include <tug/Diffusion.hpp>
|
||||
|
||||
#include <tug/tug.hpp>
|
||||
|
||||
#include <Eigen/src/Core/Matrix.h>
|
||||
#include <string>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user