|
PARALUTION
1.0.0
PARALUTION
|
#include <base_stencil.hpp>
Public Member Functions | |
| HostStencilLaplace2D () | |
| HostStencilLaplace2D (const Paralution_Backend_Descriptor local_backend) | |
| virtual | ~HostStencilLaplace2D () |
| virtual int | get_nnz (void) const |
| Return the nnz per row. More... | |
| virtual void | info (void) const |
| Shows simple info about the object. More... | |
| virtual unsigned int | get_stencil_id (void) const |
| Return the stencil format id (see stencil_formats.hpp) More... | |
| virtual void | Apply (const BaseVector< ValueType > &in, BaseVector< ValueType > *out) const |
| Apply the stencil to vector, out = this*in;. More... | |
| virtual void | ApplyAdd (const BaseVector< ValueType > &in, const ValueType scalar, BaseVector< ValueType > *out) const |
| Apply and add the stencil to vector, out = out + scalar*this*in;. More... | |
| int | get_nrow (void) const |
| Return the number of rows in the stencil. More... | |
| int | get_ncol (void) const |
| Return the number of columns in the stencil. More... | |
| int | get_ndim (void) const |
| Return the dimension of the stencil. More... | |
| virtual void | set_backend (const Paralution_Backend_Descriptor local_backend) |
| Copy the backend descriptor information. More... | |
| virtual void | SetGrid (const int size) |
Protected Attributes | |
| int | ndim_ |
| Number of rows. More... | |
| int | size_ |
| Number of columns. More... | |
| Paralution_Backend_Descriptor | local_backend_ |
| Backend descriptor (local copy) More... | |
Friends | |
| class | BaseVector< ValueType > |
| class | HostVector< ValueType > |
| paralution::HostStencilLaplace2D< ValueType >::HostStencilLaplace2D | ( | ) |
| paralution::HostStencilLaplace2D< ValueType >::HostStencilLaplace2D | ( | const Paralution_Backend_Descriptor | local_backend | ) |
|
virtual |
|
virtual |
Apply the stencil to vector, out = this*in;.
Implements paralution::BaseStencil< ValueType >.
|
virtual |
Apply and add the stencil to vector, out = out + scalar*this*in;.
Implements paralution::BaseStencil< ValueType >.
|
inherited |
Return the number of columns in the stencil.
|
inherited |
Return the dimension of the stencil.
|
virtual |
Return the nnz per row.
Implements paralution::BaseStencil< ValueType >.
|
inherited |
Return the number of rows in the stencil.
|
inlinevirtual |
Return the stencil format id (see stencil_formats.hpp)
Implements paralution::BaseStencil< ValueType >.
|
virtual |
Shows simple info about the object.
Implements paralution::BaseStencil< ValueType >.
|
virtualinherited |
Copy the backend descriptor information.
|
virtualinherited |
|
friend |
|
friend |
|
protectedinherited |
Backend descriptor (local copy)
|
protectedinherited |
Number of rows.
|
protectedinherited |
Number of columns.