Commit a466119d authored by BRAMAS Berenger's avatar BRAMAS Berenger

Factorize the basic cell POD (for block algorithms) and use it as symbolic...

Factorize the basic cell POD (for block algorithms) and use it as symbolic part for all blocked cells
parent ea598213
......@@ -3,14 +3,11 @@
#define FCHEBCELLPOD_HPP
#include "../../Utils/FGlobal.hpp"
#include "../../Containers/FTreeCoordinate.hpp"
#include "../Core/FBasicCellPOD.hpp"
#include "../StarPUUtils/FStarPUDefaultAlign.hpp"
#include "../../Kernels/Chebyshev/FChebTensor.hpp"
struct alignas(FStarPUDefaultAlign::StructAlign) FChebCellPODCore {
MortonIndex mortonIndex;
int coordinates[3];
};
typedef FBasicCellPOD FChebCellPODCore;
template <int ORDER, int NRHS = 1, int NLHS = 1, int NVALS = 1>
struct alignas(FStarPUDefaultAlign::StructAlign) FChebCellPODPole {
......
#ifndef FBASICCELLPOD_HPP
#define FBASICCELLPOD_HPP
#include "../../Utils/FGlobal.hpp"
#include "../../Containers/FTreeCoordinate.hpp"
#include "../StarPUUtils/FStarPUDefaultAlign.hpp"
struct alignas(FStarPUDefaultAlign::StructAlign) FBasicCellPOD {
MortonIndex mortonIndex;
int coordinates[3];
};
#endif // FBASICCELLPOD_HPP
......@@ -6,13 +6,10 @@
#include "../../Utils/FComplex.hpp"
#include "../../Utils/FMemUtils.hpp"
#include "../../Utils/FGlobal.hpp"
#include "../../Containers/FTreeCoordinate.hpp"
#include "../Core/FBasicCellPOD.hpp"
#include "../StarPUUtils/FStarPUDefaultAlign.hpp"
struct alignas(FStarPUDefaultAlign::StructAlign) FRotationCellPODCore {
MortonIndex mortonIndex;
int coordinates[3];
};
typedef FBasicCellPOD FRotationCellPODCore;
template <int P>
struct alignas(FStarPUDefaultAlign::StructAlign) FRotationCellPODPole {
......
......@@ -3,13 +3,10 @@
#include "../../Utils/FGlobal.hpp"
#include "../../Containers/FTreeCoordinate.hpp"
#include "../Core/FBasicCellPOD.hpp"
#include "../StarPUUtils/FStarPUDefaultAlign.hpp"
struct alignas(FStarPUDefaultAlign::StructAlign) FTaylorCellPODCore {
MortonIndex mortonIndex;
int coordinates[3];
};
typedef FBasicCellPOD FTaylorCellPODCore;
template <int P, int order>
struct alignas(FStarPUDefaultAlign::StructAlign) FTaylorCellPODPole {
......
......@@ -3,13 +3,10 @@
#define FTESTCELLPOD_HPP
#include "../../Utils/FGlobal.hpp"
#include "../../Containers/FTreeCoordinate.hpp"
#include "../Core/FBasicCellPOD.hpp"
#include "../StarPUUtils/FStarPUDefaultAlign.hpp"
struct alignas(FStarPUDefaultAlign::StructAlign) FTestCellPODCore {
MortonIndex mortonIndex;
int coordinates[3];
};
typedef FBasicCellPOD FTestCellPODCore;
typedef long long FTestCellPODData;
......
......@@ -3,15 +3,12 @@
#define FUNIFCELLPOD_HPP
#include "../../Utils/FGlobal.hpp"
#include "../../Containers/FTreeCoordinate.hpp"
#include "../Core/FBasicCellPOD.hpp"
#include "../StarPUUtils/FStarPUDefaultAlign.hpp"
#include "../../Kernels/Uniform//FUnifTensor.hpp"
#include "../../Utils/FComplex.hpp"
struct alignas(FStarPUDefaultAlign::StructAlign) FUnifCellPODCore {
MortonIndex mortonIndex;
int coordinates[3];
};
typedef FBasicCellPOD FTestCellPODCore;
template <int ORDER, int NRHS = 1, int NLHS = 1, int NVALS = 1>
struct alignas(FStarPUDefaultAlign::StructAlign) FUnifCellPODPole {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment