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

#include <ttensor.hpp>

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

Public Types

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

Public Member Functions

data_t & operator() (int i, int j)
 
const data_t & operator() (int i, int j) const
 
data_t Det () const
 
void Adjugate (TMatrix< N1, N2, data_t > &adj) const
 
data_t AdjDet (TMatrix< N2, N1, data_t > &adj) const
 
- Public Member Functions inherited from mfem::TVector< N1 *N2, 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)
 

Public Attributes

data_t data [aligned_size >0?aligned_size:1]
 
- Public Attributes inherited from mfem::TVector< N1 *N2, 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, double, false >
static const int size
 
static const int aligned_size
 
static const layout_type layout
 

Detailed Description

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

Definition at line 349 of file ttensor.hpp.

Member Typedef Documentation

◆ base_class

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

Definition at line 351 of file ttensor.hpp.

◆ layout_type

template<int N1, int N2, typename data_t = double, bool align = false>
typedef ColumnMajorLayout2D<N1,N2> mfem::TMatrix< N1, N2, data_t, align >::layout_type

Definition at line 355 of file ttensor.hpp.

Member Function Documentation

◆ AdjDet()

template<int N1, int N2, typename data_t = double, bool align = false>
data_t mfem::TMatrix< N1, N2, data_t, align >::AdjDet ( TMatrix< N2, N1, data_t > & adj) const
inline

Definition at line 373 of file ttensor.hpp.

◆ Adjugate()

template<int N1, int N2, typename data_t = double, bool align = false>
void mfem::TMatrix< N1, N2, data_t, align >::Adjugate ( TMatrix< N1, N2, data_t > & adj) const
inline

Definition at line 367 of file ttensor.hpp.

◆ Det()

template<int N1, int N2, typename data_t = double, bool align = false>
data_t mfem::TMatrix< N1, N2, data_t, align >::Det ( ) const
inline

Definition at line 362 of file ttensor.hpp.

◆ ind()

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

Definition at line 357 of file ttensor.hpp.

◆ operator()() [1/2]

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

Definition at line 359 of file ttensor.hpp.

◆ operator()() [2/2]

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

Definition at line 360 of file ttensor.hpp.

Member Data Documentation

◆ data

template<int N1, int N2, 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, typename data_t , bool align>
const TMatrix< N1, N2, data_t, align >::layout_type mfem::TMatrix< N1, N2, data_t, align >::layout = layout_type()
static

Definition at line 356 of file ttensor.hpp.

◆ size

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