Peano
Loading...
Searching...
No Matches
DGMatrices.template.h
Go to the documentation of this file.
1// This file is part of the ExaHyPE2 project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
5{% for item in NAMESPACE -%}
6namespace {{ item }} {
7{%- endfor %}
8
9// All matrices are stored as column major array, _T denote a transposed.
10template <typename T>
11class DGMatrices {
12public:
13 static void initDGMatrices();
14 static void freeDGMatrices();
15
16 static T* Kxi;
17 static T* Kxi_T;
18 static T* iK1_T; // Note: The generic version of iK1 is actually transposed
19 static T* dudx;
20 static T* dudx_T;
21 static T* FLCoeff;
22 static T* FRCoeff;
23 static T** fineGridProjector1d;
24 static T** fineGridProjector1d_T_weighted; // [k][i*nDof+j] = fineGridProjector1d[k][j*nDof+i] * weight[j] / weight[i] / 3.0
25};
26
27{% for item in NAMESPACE -%}
28}
29{%- endfor %}