proteus  1.8.1
C/C++/Fortran libraries
Public Member Functions | Public Attributes | List of all members
proteus::SparsityInfo Class Reference

#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
 

Detailed Description

Definition at line 10 of file sparsity.h.

Constructor & Destructor Documentation

◆ SparsityInfo()

proteus::SparsityInfo::SparsityInfo ( )

Definition at line 491 of file sparsity.cpp.

◆ ~SparsityInfo()

proteus::SparsityInfo::~SparsityInfo ( )

Definition at line 497 of file sparsity.cpp.

Member Function Documentation

◆ findNonzeros()

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.

◆ getCSR()

void proteus::SparsityInfo::getCSR ( )

Definition at line 457 of file sparsity.cpp.

◆ getOffsets_CSR()

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.

Member Data Documentation

◆ colind

int * proteus::SparsityInfo::colind

Definition at line 74 of file sparsity.h.

◆ nnz

int proteus::SparsityInfo::nnz

Definition at line 73 of file sparsity.h.

◆ nrows

int proteus::SparsityInfo::nrows

Definition at line 72 of file sparsity.h.

◆ nzval

double* proteus::SparsityInfo::nzval

Definition at line 75 of file sparsity.h.

◆ rowptr

int* proteus::SparsityInfo::rowptr

Definition at line 74 of file sparsity.h.


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