55 blockEntryMatrix_(false),
65 const char*
const* paramStrings)
67 std::vector<std::string> stdstrings;
83 bool blkGraph =
false;
84 bool blkMatrix =
false;
103 bool isSolutionVector,
106 std::vector<int> indices;
107 int err = 0, localSize = 0;
110 localSize = indices.size();
115 indices.resize(localSize*2);
116 err = vecSpace->
getBlkIndices_Owned(localSize, &indices[0], &indices[localSize], localSize);
124 throw std::runtime_error(
"fei::Factory_Aztec: error in vecSpace->getIndices_Owned");
131 tmpvec, isSolutionVector));
144 bool isSolnVector =
false;
145 return(
createVector(vecSpace, isSolnVector, numVectors));
152 bool isSolnVector =
false;
153 return(
createVector(matrixGraph, isSolnVector, numVectors));
158 bool isSolutionVector,
169 std::vector<int> indices;
170 int err = 0, localSize;
174 localSize = indices.size();
178 indices.resize(localSize);
182 throw std::runtime_error(
"error in vecSpace->getIndices_Owned");
void char_ptrs_to_strings(int numStrings, const char *const *charstrings, std::vector< std::string > &stdstrings)
int getBlkIndices_Owned(int lenBlkIndices, int *globalBlkIndices, int *blkSizes, int &numBlkIndices)
virtual int getGlobalNumSlaveConstraints() const =0
fei::SharedPtr< fei::Vector > createVector(fei::SharedPtr< fei::VectorSpace > vecSpace, int numVectors=1)
fei::SharedPtr< fei::MatrixGraph > createMatrixGraph(fei::SharedPtr< fei::VectorSpace > rowSpace, fei::SharedPtr< fei::VectorSpace > colSpace, const char *name=NULL)
virtual void parameters(const fei::ParameterSet ¶mset)
fei::SharedPtr< fei::Reducer > reducer_
virtual fei::SharedPtr< fei::Reducer > getReducer()=0
int getBoolParamValue(const char *name, bool ¶mValue) const
Factory_Aztec(MPI_Comm comm)
fei::SharedPtr< fei::Solver > createSolver(const char *name=0)
virtual fei::SharedPtr< fei::VectorSpace > getRowSpace()=0
virtual fei::SharedPtr< fei::MatrixGraph > createMatrixGraph(fei::SharedPtr< fei::VectorSpace > rowSpace, fei::SharedPtr< fei::VectorSpace > columnSpace, const char *name)
int getIndices_Owned(std::vector< int > &globalIndices) const
void parse_strings(std::vector< std::string > &stdstrings, const char *separator_string, fei::ParameterSet ¶mset)
int parameters(int numParams, const char *const *paramStrings)
int getNumBlkIndices_Owned() const
std::vector< int > & getLocalReducedEqns()
fei::SharedPtr< fei::Matrix > createMatrix(fei::SharedPtr< fei::MatrixGraph > matrixGraph)
int getNumIndices_Owned() const
int getIntParamValue(const char *name, int ¶mValue) const