MFEM  v3.2
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::TTensor3< N1, N2, N3, data_t, align > Struct Template Reference

#include <ttensor.hpp>

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

Public Types

typedef TVector< N1 *N2 *N3,
data_t, align > 
base_class
 
typedef ColumnMajorLayout3D
< N1, N2, N3 > 
layout_type
 
- Public Types inherited from mfem::TVector< N1 *N2 *N3, 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)
 
const data_t & operator() (int i, int j, int k) const
 
- Public Member Functions inherited from mfem::TVector< N1 *N2 *N3, 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)
 

Static Public Attributes

static const layout_type layout = layout_type()
 
- Static Public Attributes inherited from mfem::TVector< N1 *N2 *N3, 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, data_t, align >
data_t data [aligned_size >0?aligned_size:1]
 

Detailed Description

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

Definition at line 340 of file ttensor.hpp.

Member Typedef Documentation

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

Definition at line 342 of file ttensor.hpp.

template<int N1, int N2, int N3, typename data_t = double, bool align = false>
typedef ColumnMajorLayout3D<N1,N2,N3> mfem::TTensor3< N1, N2, N3, data_t, align >::layout_type

Definition at line 346 of file ttensor.hpp.

Member Function Documentation

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

Definition at line 348 of file ttensor.hpp.

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

Definition at line 351 of file ttensor.hpp.

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

Definition at line 352 of file ttensor.hpp.

Member Data Documentation

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

Definition at line 347 of file ttensor.hpp.


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