Class documentation of Concepts

Loading...
Searching...
No Matches
differentialforms.hh
Go to the documentation of this file.
1
7#ifndef differentialforms_hh
8#define differentialforms_hh
9
10#include "toolbox/array.hh"
12#include "geometry/cell3D.hh"
13
14namespace concepts
15{
16
21 {
22 public:
29 {
30 N_ = 1;
31 for(int l=0; l<L_; ++l) N_ *= Nsize_[l];
32 };
34 int getL() {return L_; };
36 int getN() {return N_; };
41 {
42 Array<int> k(L_);
43 int idxk=n;
44 for(int l=0; l<L_; ++l)
45 {
46 k[l] = idxk % Nsize_[l];
47 idxk /= Nsize_[l];
48 }
49 return k;
50 };
51
52 protected:
54 int N_;
56 int L_;
59 };
60
68
75
84
92
100
108
109}
110
111#endif // differentialforms_hh
multilevelindex()
Default constructor.
Array< int > operator[](const int n)
Return the local l-uple .
Array< int > getNsize()
Return the array of local dimensions.
multilevelindex(const Array< int > &Nsize)
Constructor that takes an array into account.
int getN()
Return the total number of dimension.
int L_
Size of the local dimension.
~multilevelindex()
Default destructor.
int getL()
Return the local dimension of the multi-level index.
int N_
Size of the multi-dimensional array.
double Real
Definition typedefs.hh:39
Mapping< Real, 3, 3 > jacobianTensor(const Hexahedron3d &Hexa, const Real3d &xi)
Real quadratureWeightTensor(const Array< QuadratureRule1d * > &ArrayQuad1D, const Array< int > &Index)
Set< F > makeSet(uint n, const F &first,...)
Definition set.hh:320
Real jacobianDeterminant(const Hexahedron3d &Hexa, const Real3d &xi)