MFEM  v4.3.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
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, data_t, align >
typedef data_t 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, data_t, align >
data_t & operator[] (int i)
 
const data_t & operator[] (int i) const
 
void Assign (const data_t d)
 
void Assign (const src_data_t &src)
 
void AssignTo (dest_data_t &dest)
 
void Set (const data_t d)
 
void Set (const src_data_t &src)
 
void Assemble (dest_data_t &dest) const
 
void Scale (const data_t scale)
 

Static Public Member Functions

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

Static Public Attributes

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

Additional Inherited Members

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

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

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.

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

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.

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.

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

template<int N1, int N2, int N3, int N4, typename data_t = double, bool align = false>
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.


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