proteus
1.8.1
C/C++/Fortran libraries
|
#include </Users/cekees/proteus/proteus/sparsity.h>
Public Member Functions | |
SparsityInfo () | |
~SparsityInfo () | |
void | findNonzeros (int nElements_global, int nDOF_test_element, int nDOF_trial_element, int *nFreeDOF_test, int *freeGlobal_test, int *nFreeDOF_trial, int *freeGlobal_trial, int offset_test, int stride_test, int offset_trial, int stride_trial, int hasNumericalFlux, int hasDiffusionInMixedForm, int needNumericalFluxJacobian, int nElementBoundaries_element, int *elementNeighborsArray, int nInteriorElementBoundaries_global, int *interiorElementBoundariesArray, int *elementBoundaryElementsArray, int *elementBoundaryLocalElementBoundariesArray, int hasFluxBoundaryConditions, int nExteriorElementBoundaries_global, int *exteriorElementBoundariesArray, int hasOutflowBoundary, int needOutflowJacobian) |
void | getOffsets_CSR (int nElements_global, int nDOF_test_element, int nDOF_trial_element, int *nFreeDOF_test, int *freeGlobal_test, int *nFreeDOF_trial, int *freeGlobal_trial, int offset_test, int stride_test, int offset_trial, int stride_trial, int hasNumericalFlux, int hasDiffusionInMixedForm, int needNumericalFluxJacobian, int nElementBoundaries_element, int *elementNeighborsArray, int nInteriorElementBoundaries_global, int *interiorElementBoundariesArray, int *elementBoundaryElementsArray, int *elementBoundaryLocalElementBoundariesArray, int hasFluxBoundaryConditions, int nExteriorElementBoundaries_global, int *exteriorElementBoundariesArray, int hasOutflowBoundary, int needOutflowJacobian, int *rowptr, int *csrRowIndeces, int *csrColumnOffsets, int *csrColumnOffsets_eNebN, int *csrColumnOffsets_eb, int *csrColumnOffsets_eb_eNebN) |
void | getCSR () |
Public Attributes | |
int | nrows |
int | nnz |
int * | rowptr |
int * | colind |
double * | nzval |
Definition at line 10 of file sparsity.h.
proteus::SparsityInfo::SparsityInfo | ( | ) |
Definition at line 491 of file sparsity.cpp.
proteus::SparsityInfo::~SparsityInfo | ( | ) |
Definition at line 497 of file sparsity.cpp.
void proteus::SparsityInfo::findNonzeros | ( | int | nElements_global, |
int | nDOF_test_element, | ||
int | nDOF_trial_element, | ||
int * | nFreeDOF_test, | ||
int * | freeGlobal_test, | ||
int * | nFreeDOF_trial, | ||
int * | freeGlobal_trial, | ||
int | offset_test, | ||
int | stride_test, | ||
int | offset_trial, | ||
int | stride_trial, | ||
int | hasNumericalFlux, | ||
int | hasDiffusionInMixedForm, | ||
int | needNumericalFluxJacobian, | ||
int | nElementBoundaries_element, | ||
int * | elementNeighborsArray, | ||
int | nInteriorElementBoundaries_global, | ||
int * | interiorElementBoundariesArray, | ||
int * | elementBoundaryElementsArray, | ||
int * | elementBoundaryLocalElementBoundariesArray, | ||
int | hasFluxBoundaryConditions, | ||
int | nExteriorElementBoundaries_global, | ||
int * | exteriorElementBoundariesArray, | ||
int | hasOutflowBoundary, | ||
int | needOutflowJacobian | ||
) |
Definition at line 5 of file sparsity.cpp.
void proteus::SparsityInfo::getCSR | ( | ) |
Definition at line 457 of file sparsity.cpp.
void proteus::SparsityInfo::getOffsets_CSR | ( | int | nElements_global, |
int | nDOF_test_element, | ||
int | nDOF_trial_element, | ||
int * | nFreeDOF_test, | ||
int * | freeGlobal_test, | ||
int * | nFreeDOF_trial, | ||
int * | freeGlobal_trial, | ||
int | offset_test, | ||
int | stride_test, | ||
int | offset_trial, | ||
int | stride_trial, | ||
int | hasNumericalFlux, | ||
int | hasDiffusionInMixedForm, | ||
int | needNumericalFluxJacobian, | ||
int | nElementBoundaries_element, | ||
int * | elementNeighborsArray, | ||
int | nInteriorElementBoundaries_global, | ||
int * | interiorElementBoundariesArray, | ||
int * | elementBoundaryElementsArray, | ||
int * | elementBoundaryLocalElementBoundariesArray, | ||
int | hasFluxBoundaryConditions, | ||
int | nExteriorElementBoundaries_global, | ||
int * | exteriorElementBoundariesArray, | ||
int | hasOutflowBoundary, | ||
int | needOutflowJacobian, | ||
int * | rowptr, | ||
int * | csrRowIndeces, | ||
int * | csrColumnOffsets, | ||
int * | csrColumnOffsets_eNebN, | ||
int * | csrColumnOffsets_eb, | ||
int * | csrColumnOffsets_eb_eNebN | ||
) |
Definition at line 206 of file sparsity.cpp.
int * proteus::SparsityInfo::colind |
Definition at line 74 of file sparsity.h.
int proteus::SparsityInfo::nnz |
Definition at line 73 of file sparsity.h.
int proteus::SparsityInfo::nrows |
Definition at line 72 of file sparsity.h.
double* proteus::SparsityInfo::nzval |
Definition at line 75 of file sparsity.h.
int* proteus::SparsityInfo::rowptr |
Definition at line 74 of file sparsity.h.