abstract class used for caching
More...
#include <MatrixCache.hpp>
abstract class used for caching
Definition at line 13 of file MatrixCache.hpp.
◆ MatrixCache()
polyfem::utils::MatrixCache::MatrixCache |
( |
| ) |
|
|
inline |
◆ ~MatrixCache()
virtual polyfem::utils::MatrixCache::~MatrixCache |
( |
| ) |
|
|
virtualdefault |
◆ add_value()
virtual void polyfem::utils::MatrixCache::add_value |
( |
const int |
e, |
|
|
const int |
i, |
|
|
const int |
j, |
|
|
const double |
value |
|
) |
| |
|
pure virtual |
◆ capacity()
virtual size_t polyfem::utils::MatrixCache::capacity |
( |
| ) |
const |
|
pure virtual |
◆ copy()
virtual std::unique_ptr< MatrixCache > polyfem::utils::MatrixCache::copy |
( |
| ) |
const |
|
pure virtual |
◆ entries_size()
virtual size_t polyfem::utils::MatrixCache::entries_size |
( |
| ) |
const |
|
pure virtual |
◆ get_matrix()
virtual StiffnessMatrix polyfem::utils::MatrixCache::get_matrix |
( |
const bool |
compute_mapping = true | ) |
|
|
pure virtual |
◆ init() [1/3]
virtual void polyfem::utils::MatrixCache::init |
( |
const MatrixCache & |
other | ) |
|
|
pure virtual |
◆ init() [2/3]
virtual void polyfem::utils::MatrixCache::init |
( |
const size_t |
rows, |
|
|
const size_t |
cols |
|
) |
| |
|
pure virtual |
◆ init() [3/3]
virtual void polyfem::utils::MatrixCache::init |
( |
const size_t |
size | ) |
|
|
pure virtual |
◆ is_dense()
bool polyfem::utils::MatrixCache::is_dense |
( |
| ) |
const |
|
inline |
◆ is_sparse()
virtual bool polyfem::utils::MatrixCache::is_sparse |
( |
| ) |
const |
|
pure virtual |
◆ non_zeros()
virtual size_t polyfem::utils::MatrixCache::non_zeros |
( |
| ) |
const |
|
pure virtual |
◆ operator+()
◆ operator+=()
virtual void polyfem::utils::MatrixCache::operator+= |
( |
const MatrixCache & |
o | ) |
|
|
pure virtual |
◆ prune()
virtual void polyfem::utils::MatrixCache::prune |
( |
| ) |
|
|
pure virtual |
◆ reserve()
virtual void polyfem::utils::MatrixCache::reserve |
( |
const size_t |
size | ) |
|
|
pure virtual |
◆ set_zero()
virtual void polyfem::utils::MatrixCache::set_zero |
( |
| ) |
|
|
pure virtual |
◆ triplet_count()
virtual size_t polyfem::utils::MatrixCache::triplet_count |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: