FEI Version of the Day
Static Public Member Functions
fei::VectorTraits< fei::LinearProblemManager > Struct Template Reference

#include <fei_VectorTraits_LinProbMgr.hpp>

List of all members.

Static Public Member Functions

static const char * typeName ()
static int setValues (fei::LinearProblemManager *vec, int firstLocalOffset, double scalar, bool isSolnVector=false)
static int putValuesIn (fei::LinearProblemManager *vec, int firstLocalOffset, int numValues, const int *indices, const double *values, bool sum_into, bool isSolnVector=false, int vectorIndex=0)
static int copyOut (fei::LinearProblemManager *vec, int firstLocalOffset, int numValues, const int *indices, double *values, bool isSolnVector=false, int vectorIndex=0)
static int globalAssemble (fei::LinearProblemManager *vec)
static int update (fei::LinearProblemManager *vec, double a, const fei::LinearProblemManager *x, double b)

Detailed Description

template<>
struct fei::VectorTraits< fei::LinearProblemManager >

This struct specialization defines vector traits for LinearProblemManager vector representations.

Definition at line 57 of file fei_VectorTraits_LinProbMgr.hpp.


Member Function Documentation

static const char* fei::VectorTraits< fei::LinearProblemManager >::typeName ( ) [inline, static]

Return a string type-name for the vector.

Definition at line 60 of file fei_VectorTraits_LinProbMgr.hpp.

static int fei::VectorTraits< fei::LinearProblemManager >::setValues ( fei::LinearProblemManager vec,
int  firstLocalOffset,
double  scalar,
bool  isSolnVector = false 
) [inline, static]

Set a specified scalar value throughout the vector.

Definition at line 65 of file fei_VectorTraits_LinProbMgr.hpp.

static int fei::VectorTraits< fei::LinearProblemManager >::putValuesIn ( fei::LinearProblemManager vec,
int  firstLocalOffset,
int  numValues,
const int *  indices,
const double *  values,
bool  sum_into,
bool  isSolnVector = false,
int  vectorIndex = 0 
) [inline, static]

Sum values into the vector, adding to any that may already exist at the specified indices.

Definition at line 75 of file fei_VectorTraits_LinProbMgr.hpp.

static int fei::VectorTraits< fei::LinearProblemManager >::copyOut ( fei::LinearProblemManager vec,
int  firstLocalOffset,
int  numValues,
const int *  indices,
double *  values,
bool  isSolnVector = false,
int  vectorIndex = 0 
) [inline, static]

Copy values from the specified indices out into the user-allocated array 'values'.

Definition at line 90 of file fei_VectorTraits_LinProbMgr.hpp.

static int fei::VectorTraits< fei::LinearProblemManager >::globalAssemble ( fei::LinearProblemManager vec) [inline, static]

Perform global assembly.

Definition at line 102 of file fei_VectorTraits_LinProbMgr.hpp.

static int fei::VectorTraits< fei::LinearProblemManager >::update ( fei::LinearProblemManager vec,
double  a,
const fei::LinearProblemManager x,
double  b 
) [inline, static]

Update 'vec' = b*'vec' + a*x

Definition at line 107 of file fei_VectorTraits_LinProbMgr.hpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends