#include <fei_VectorTraits_CSVec.hpp>
|
| static const char * | typeName () |
| |
| static int | setValues (CSVec *vec, int firstLocalOffset, double scalar, bool isSolnVector=false) |
| |
| static int | putValuesIn (CSVec *vec, int firstLocalOffset, int numValues, const int *indices, const double *values, bool sum_into, bool isSolnVector=false, int vectorIndex=0) |
| |
| static int | copyOut (CSVec *vec, int firstLocalOffset, int numValues, const int *indices, double *values, bool isSolnVector=false, int vectorIndex=0) |
| |
| static int | update (CSVec *vec, double a, const CSVec *x, double b) |
| |
| static const char * | typeName () |
| |
| static int | setValues (CSVec *vec, int firstLocalOffset, double scalar, bool isSolnVector=false) |
| |
| static int | putValuesIn (CSVec *vec, int firstLocalOffset, int numValues, const int *indices, const double *values, bool sum_into, bool isSolnVector=false, int vectorIndex=0) |
| |
| static int | copyOut (CSVec *vec, int firstLocalOffset, int numValues, const int *indices, double *values, bool isSolnVector=false, int vectorIndex=0) |
| |
| static double * | getLocalCoefsPtr (CSVec *vec, bool isSolnVector=false, int vectorIndex=0) |
| |
| static int | update (CSVec *vec, double a, const CSVec *x, double b) |
| |
| static int | globalAssemble (CSVec *vec) |
| |
Definition at line 52 of file fei_VectorTraits_CSVec.hpp.
◆ typeName() [1/2]
◆ setValues() [1/2]
◆ putValuesIn() [1/2]
| static int fei::VectorTraits< CSVec >::putValuesIn |
( |
CSVec * | vec, |
|
|
int | firstLocalOffset, |
|
|
int | numValues, |
|
|
const int * | indices, |
|
|
const double * | values, |
|
|
bool | sum_into, |
|
|
bool | isSolnVector = false, |
|
|
int | vectorIndex = 0 ) |
|
inlinestatic |
◆ copyOut() [1/2]
| static int fei::VectorTraits< CSVec >::copyOut |
( |
CSVec * | vec, |
|
|
int | firstLocalOffset, |
|
|
int | numValues, |
|
|
const int * | indices, |
|
|
double * | values, |
|
|
bool | isSolnVector = false, |
|
|
int | vectorIndex = 0 ) |
|
inlinestatic |
◆ update() [1/2]
◆ typeName() [2/2]
Return a string type-name for the underlying vector. May appear in debug-output logs, etc. Does not need to exactly correspond to the type, but should be descriptive.
◆ setValues() [2/2]
Set a specified scalar value throughout the vector.
◆ putValuesIn() [2/2]
| static int fei::VectorTraits< CSVec >::putValuesIn |
( |
CSVec * | vec, |
|
|
int | firstLocalOffset, |
|
|
int | numValues, |
|
|
const int * | indices, |
|
|
const double * | values, |
|
|
bool | sum_into, |
|
|
bool | isSolnVector = false, |
|
|
int | vectorIndex = 0 ) |
|
static |
Put values into the vector. If the 'sum_into' argument is true, then values are added to any values that already exist at the specified indices. If the 'sum_into' argument is false, then incoming values will overwrite any that may already exist at the specified indices. See general comments at the top of this struct regarding the 'isSolnVector' argument.
◆ copyOut() [2/2]
| static int fei::VectorTraits< CSVec >::copyOut |
( |
CSVec * | vec, |
|
|
int | firstLocalOffset, |
|
|
int | numValues, |
|
|
const int * | indices, |
|
|
double * | values, |
|
|
bool | isSolnVector = false, |
|
|
int | vectorIndex = 0 ) |
|
static |
Copy values for the specified indices out into the user-allocated array 'values'.
◆ getLocalCoefsPtr()
Get a pointer to the vector object's local coefficients array. Vector objects that can't support this can return NULL.
◆ update() [2/2]
◆ globalAssemble()
Perform global communication or whatever operations may be necessary to complete the assembly of the vector. Most vector objects will do nothing here. Vectors such as the Epetra_FEVector object may do some operations here.
The documentation for this struct was generated from the following file: