MFEM
v4.2.0
Finite element discretization library
|
Rank 3 tensor (array of matrices) More...
#include <densemat.hpp>
Public Member Functions | |
DenseTensor () | |
DenseTensor (int i, int j, int k) | |
DenseTensor (const DenseTensor &other) | |
Copy constructor: deep copy. More... | |
int | SizeI () const |
int | SizeJ () const |
int | SizeK () const |
int | TotalSize () const |
void | SetSize (int i, int j, int k) |
void | UseExternalData (double *ext_data, int i, int j, int k) |
DenseTensor & | operator= (double c) |
Sets the tensor elements equal to constant c. More... | |
DenseMatrix & | operator() (int k) |
const DenseMatrix & | operator() (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 () |
const double * | Data () const |
Memory< double > & | GetMemory () |
const Memory< double > & | GetMemory () const |
void | AddMult (const Table &elem_dof, const Vector &x, Vector &y) const |
void | Clear () |
long | MemoryUsage () const |
const double * | Read (bool on_dev=true) const |
Shortcut for mfem::Read( GetMemory(), TotalSize(), on_dev). More... | |
const double * | HostRead () const |
Shortcut for mfem::Read(GetMemory(), TotalSize(), false). More... | |
double * | Write (bool on_dev=true) |
Shortcut for mfem::Write(GetMemory(), TotalSize(), on_dev). More... | |
double * | HostWrite () |
Shortcut for mfem::Write(GetMemory(), TotalSize(), false). More... | |
double * | ReadWrite (bool on_dev=true) |
Shortcut for mfem::ReadWrite(GetMemory(), TotalSize(), on_dev). More... | |
double * | HostReadWrite () |
Shortcut for mfem::ReadWrite(GetMemory(), TotalSize(), false). More... | |
~DenseTensor () | |
Rank 3 tensor (array of matrices)
Definition at line 728 of file densemat.hpp.
|
inline |
Definition at line 736 of file densemat.hpp.
|
inline |
Definition at line 742 of file densemat.hpp.
|
inline |
Copy constructor: deep copy.
Definition at line 750 of file densemat.hpp.
|
inline |
Definition at line 862 of file densemat.hpp.
Matrix-vector product from unassembled element matrices, assuming both 'x' and 'y' use the same elem_dof table.
Definition at line 3449 of file densemat.cpp.
|
inline |
Definition at line 833 of file densemat.hpp.
|
inline |
Definition at line 822 of file densemat.hpp.
|
inline |
Definition at line 824 of file densemat.hpp.
|
inline |
Definition at line 816 of file densemat.hpp.
|
inline |
Definition at line 826 of file densemat.hpp.
|
inline |
Definition at line 827 of file densemat.hpp.
|
inline |
Shortcut for mfem::Read(GetMemory(), TotalSize(), false).
Definition at line 843 of file densemat.hpp.
|
inline |
Shortcut for mfem::ReadWrite(GetMemory(), TotalSize(), false).
Definition at line 859 of file densemat.hpp.
|
inline |
Shortcut for mfem::Write(GetMemory(), TotalSize(), false).
Definition at line 851 of file densemat.hpp.
|
inline |
Definition at line 836 of file densemat.hpp.
|
inline |
Definition at line 791 of file densemat.hpp.
|
inline |
Definition at line 797 of file densemat.hpp.
|
inline |
Definition at line 800 of file densemat.hpp.
|
inline |
Definition at line 808 of file densemat.hpp.
DenseTensor & mfem::DenseTensor::operator= | ( | double | c | ) |
Sets the tensor elements equal to constant c.
Definition at line 3504 of file densemat.cpp.
|
inline |
Shortcut for mfem::Read( GetMemory(), TotalSize(), on_dev).
Definition at line 839 of file densemat.hpp.
|
inline |
Shortcut for mfem::ReadWrite(GetMemory(), TotalSize(), on_dev).
Definition at line 855 of file densemat.hpp.
|
inline |
Definition at line 771 of file densemat.hpp.
|
inline |
Definition at line 765 of file densemat.hpp.
|
inline |
Definition at line 766 of file densemat.hpp.
|
inline |
Definition at line 767 of file densemat.hpp.
|
inline |
Definition at line 769 of file densemat.hpp.
|
inline |
Definition at line 780 of file densemat.hpp.
|
inline |
Shortcut for mfem::Write(GetMemory(), TotalSize(), on_dev).
Definition at line 847 of file densemat.hpp.