MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::TTensor4< N1, N2, N3, N4, data_t, align > Struct Template Reference

#include <ttensor.hpp>

Inheritance diagram for mfem::TTensor4< N1, N2, N3, N4, data_t, align >:
[legend]
Collaboration diagram for mfem::TTensor4< N1, N2, N3, N4, data_t, align >:
[legend]

Public Types

typedef TVector< N1 *N2 *N3 *N4, data_t, align > base_class
 
typedef ColumnMajorLayout4D< N1, N2, N3, N4 > layout_type
 
- Public Types inherited from mfem::TVector< N1 *N2 *N3 *N4, double, false >
typedef double data_type
 
typedef StridedLayout1D< S, 1 > layout_type
 

Public Member Functions

data_t & operator() (int i, int j, int k, int l)
 
const data_t & operator() (int i, int j, int k, int l) const
 
- Public Member Functions inherited from mfem::TVector< N1 *N2 *N3 *N4, double, false >
double & operator[] (int i)
 
const double & operator[] (int i) const
 
void Assign (const double d)
 
void Assign (const src_data_t &src)
 
void AssignTo (dest_data_t &dest)
 
void Set (const double d)
 
void Set (const src_data_t &src)
 
void Assemble (dest_data_t &dest) const
 
void Scale (const double scale)
 

Static Public Member Functions

static int ind (int i1, int i2, int i3, int i4)
 

Public Attributes

data_t data [aligned_size >0?aligned_size:1]
 
- Public Attributes inherited from mfem::TVector< N1 *N2 *N3 *N4, double, false >
double data [aligned_size >0?aligned_size:1]
 

Static Public Attributes

static const layout_type layout = layout_type()
 
static const int size
 
- Static Public Attributes inherited from mfem::TVector< N1 *N2 *N3 *N4, double, false >
static const int size
 
static const int aligned_size
 
static const layout_type layout
 

Detailed Description

template<int N1, int N2, int N3, int N4, typename data_t = double, bool align = false>
struct mfem::TTensor4< N1, N2, N3, N4, data_t, align >

Definition at line 407 of file ttensor.hpp.

Member Typedef Documentation

◆ base_class

template<int N1, int N2, int N3, int N4, typename data_t = double, bool align = false>
typedef TVector<N1*N2*N3*N4,data_t,align> mfem::TTensor4< N1, N2, N3, N4, data_t, align >::base_class

Definition at line 409 of file ttensor.hpp.

◆ layout_type

template<int N1, int N2, int N3, int N4, typename data_t = double, bool align = false>
typedef ColumnMajorLayout4D<N1,N2,N3,N4> mfem::TTensor4< N1, N2, N3, N4, data_t, align >::layout_type

Definition at line 413 of file ttensor.hpp.

Member Function Documentation

◆ ind()

template<int N1, int N2, int N3, int N4, typename data_t = double, bool align = false>
static int mfem::TTensor4< N1, N2, N3, N4, data_t, align >::ind ( int i1,
int i2,
int i3,
int i4 )
inlinestatic

Definition at line 415 of file ttensor.hpp.

◆ operator()() [1/2]

template<int N1, int N2, int N3, int N4, typename data_t = double, bool align = false>
data_t & mfem::TTensor4< N1, N2, N3, N4, data_t, align >::operator() ( int i,
int j,
int k,
int l )
inline

Definition at line 418 of file ttensor.hpp.

◆ operator()() [2/2]

template<int N1, int N2, int N3, int N4, typename data_t = double, bool align = false>
const data_t & mfem::TTensor4< N1, N2, N3, N4, data_t, align >::operator() ( int i,
int j,
int k,
int l ) const
inline

Definition at line 420 of file ttensor.hpp.

Member Data Documentation

◆ data

template<int N1, int N2, int N3, int N4, typename data_t = double, bool align = false>
data_t mfem::TVector< S, data_t, align >::data[aligned_size >0?aligned_size:1]

Definition at line 294 of file ttensor.hpp.

◆ layout

template<int N1, int N2, int N3, int N4, typename data_t , bool align>
const TTensor4< N1, N2, N3, N4, data_t, align >::layout_type mfem::TTensor4< N1, N2, N3, N4, data_t, align >::layout = layout_type()
static

Definition at line 414 of file ttensor.hpp.

◆ size

template<int N1, int N2, int N3, int N4, typename data_t = double, bool align = false>
const int mfem::TVector< S, data_t, align >::size
static

Definition at line 291 of file ttensor.hpp.


The documentation for this struct was generated from the following file: