38#ifndef __vtkvmtkSparseMatrix_h
39#define __vtkvmtkSparseMatrix_h
46#include "vtkDataSet.h"
47#include "vtkvmtkWin32Header.h"
127 void SetElement(vtkIdType i, vtkIdType j,
double value);
133 void AddElement(vtkIdType i, vtkIdType j,
double value);
Serves as the base class for vectors utilized in finite-element and other PDE evaluations.
Create an empty, polydata, polydata manifold, polydata manifold extended, or unstructured grid neighb...
Represents a single row of a vtkvmtkSparseMatrix: a sparse list of (column id, value) pairs plus a se...
void SetNumberOfRows(vtkIdType numberOfRows)
static vtkvmtkSparseMatrix * New()
vtkvmtkSparseMatrixRow * GetRow(vtkIdType i)
void CopyRowsFromStencils(vtkvmtkStencils *stencils)
double GetElement(vtkIdType i, vtkIdType j)
void AllocateRowsFromNeighborhoods(vtkvmtkNeighborhoods *neighborhoods, int numberOfVariables=1)
void Multiply(vtkvmtkDoubleVector *x, vtkvmtkDoubleVector *y)
void AddElement(vtkIdType i, vtkIdType j, double value)
void TransposeMultiply(vtkvmtkDoubleVector *x, vtkvmtkDoubleVector *y)
vtkvmtkSparseMatrixRow ** Array
void DeepCopy(vtkvmtkSparseMatrix *src)
void SetElement(vtkIdType i, vtkIdType j, double value)
void AllocateRowsFromDataSet(vtkDataSet *dataSet, int numberOfVariables=1)
Create an empty, umbrella, area weighted umbrella, finite-element LP, or finite-volume finite-element...