SMILE  v2.5
Schwarzschild Modelling Interactive expLoratory Environment
Public Member Functions | Private Attributes | List of all members
smile::CMatrixBasicSchwModel Class Reference

matrix interface class that passes the linear matrix elements from Schwarzschild model object to the solver More...

#include <schwarzschild.h>

Inheritance diagram for smile::CMatrixBasicSchwModel:
Inheritance graph
[legend]
Collaboration diagram for smile::CMatrixBasicSchwModel:
Collaboration graph
[legend]

Public Member Functions

 CMatrixBasicSchwModel (const CBasicSchwModel *_model)
 
virtual size_t size1 () const
 return size for first index
 
virtual size_t size2 () const
 same for second
 
virtual smNumType at (size_t i1, size_t i2) const
 return value at indices i1,i2. Note: there is no abstract function to set a value.
 
- Public Member Functions inherited from smile::CMatrix< smNumType >
virtual bool isDense () const
 whether the matrix is dense or sparse (may be used to optimize calculations)
 
virtual size_t numElems () const
 number of possibly nonzero elements in sparse matrix More...
 
virtual smNumType getElem (size_t index, size_t *i1, size_t *i2) const
 get an element from the matrix, 0<=index<numElems() More...
 

Private Attributes

const CBasicSchwModel * model
 

Detailed Description

matrix interface class that passes the linear matrix elements from Schwarzschild model object to the solver


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