MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
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, double, false >
typedef double 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, 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)
 

Public Attributes

data_t data [aligned_size >0?aligned_size:1]
 
- Public Attributes inherited from mfem::TVector< N1 *N2 *N3, 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, 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, typename data_t = double, bool align = false>
struct mfem::TTensor3< N1, N2, N3, data_t, align >

Definition at line 385 of file ttensor.hpp.

Member Typedef Documentation

◆ base_class

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 387 of file ttensor.hpp.

◆ layout_type

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 391 of file ttensor.hpp.

Member Function Documentation

◆ ind()

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 393 of file ttensor.hpp.

◆ operator()() [1/2]

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 396 of file ttensor.hpp.

◆ operator()() [2/2]

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 397 of file ttensor.hpp.

Member Data Documentation

◆ data

template<int N1, int N2, int N3, 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, typename data_t , bool align>
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 392 of file ttensor.hpp.

◆ size

template<int N1, int N2, int N3, 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: