MFEM  v3.1
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
mfem::DenseTensor Class Reference

Rank 3 tensor (array of matrices) More...

#include <densemat.hpp>

Public Member Functions

 DenseTensor ()
 
 DenseTensor (int i, int j, int k)
 
int SizeI () const
 
int SizeJ () const
 
int SizeK () const
 
void SetSize (int i, int j, int k)
 
DenseMatrixoperator() (int k)
 
const DenseMatrixoperator() (int k) const
 
double & operator() (int i, int j, int k)
 
const double & operator() (int i, int j, int k) const
 
double * GetData (int k)
 
double * Data ()
 
void AddMult (const Table &elem_dof, const Vector &x, Vector &y) const
 
 ~DenseTensor ()
 

Detailed Description

Rank 3 tensor (array of matrices)

Definition at line 565 of file densemat.hpp.

Constructor & Destructor Documentation

mfem::DenseTensor::DenseTensor ( )
inline

Definition at line 573 of file densemat.hpp.

mfem::DenseTensor::DenseTensor ( int  i,
int  j,
int  k 
)
inline

Definition at line 575 of file densemat.hpp.

mfem::DenseTensor::~DenseTensor ( )
inline

Definition at line 608 of file densemat.hpp.

Member Function Documentation

void mfem::DenseTensor::AddMult ( const Table elem_dof,
const Vector x,
Vector y 
) const

Matrix-vector product from unassembled element matrices, assuming both 'x' and 'y' use the same elem_dof table.

Definition at line 4032 of file densemat.cpp.

double* mfem::DenseTensor::Data ( )
inline

Definition at line 602 of file densemat.hpp.

double* mfem::DenseTensor::GetData ( int  k)
inline

Definition at line 600 of file densemat.hpp.

DenseMatrix& mfem::DenseTensor::operator() ( int  k)
inline

Definition at line 591 of file densemat.hpp.

const DenseMatrix& mfem::DenseTensor::operator() ( int  k) const
inline

Definition at line 592 of file densemat.hpp.

double& mfem::DenseTensor::operator() ( int  i,
int  j,
int  k 
)
inline

Definition at line 595 of file densemat.hpp.

const double& mfem::DenseTensor::operator() ( int  i,
int  j,
int  k 
) const
inline

Definition at line 597 of file densemat.hpp.

void mfem::DenseTensor::SetSize ( int  i,
int  j,
int  k 
)
inline

Definition at line 583 of file densemat.hpp.

int mfem::DenseTensor::SizeI ( ) const
inline

Definition at line 579 of file densemat.hpp.

int mfem::DenseTensor::SizeJ ( ) const
inline

Definition at line 580 of file densemat.hpp.

int mfem::DenseTensor::SizeK ( ) const
inline

Definition at line 581 of file densemat.hpp.


The documentation for this class was generated from the following files: