Shiokaze Framework
A research-oriented fluid solver for computer graphics
RCMatrix_allocator_interface< N, T > Class Template Referenceabstract

Interface to provide allocators for Row Compressed Matrix and vector instances. More...

#include <RCMatrix_interface.h>

Inheritance diagram for RCMatrix_allocator_interface< N, T >:
RCMatrix_factory_interface< N, T >

Public Member Functions

virtual RCMatrix_vector_ptr< N, T > allocate_vector (N size=0) const =0
 Allocate a vector. More...
 
virtual RCMatrix_ptr< N, T > allocate_matrix (N rows=0, N columns=0) const =0
 Allocate a matrix. More...
 

Detailed Description

template<class N, class T>
class RCMatrix_allocator_interface< N, T >

Interface to provide allocators for Row Compressed Matrix and vector instances.

Member Function Documentation

◆ allocate_matrix()

template<class N , class T >
virtual RCMatrix_ptr<N,T> RCMatrix_allocator_interface< N, T >::allocate_matrix ( rows = 0,
columns = 0 
) const
pure virtual

Allocate a matrix.

Parameters
[in]rowsNumber of rows.
[in]columnsNumber of columns.

◆ allocate_vector()

template<class N , class T >
virtual RCMatrix_vector_ptr<N,T> RCMatrix_allocator_interface< N, T >::allocate_vector ( size = 0) const
pure virtual

Allocate a vector.

Parameters
[in]sizeDimemsion of size.

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