FEI Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <test_Vector.hpp>
Public Member Functions | |
test_Vector (MPI_Comm comm) | |
virtual | ~test_Vector () |
const char * | getName () |
int | runtests () |
fei::SharedPtr< fei::Vector > | create_vector (fei::SharedPtr< fei::Factory > factory) |
void | vector_test1 (fei::SharedPtr< fei::Vector > fei_vec) |
Public Member Functions inherited from tester | |
tester (MPI_Comm comm) | |
virtual | ~tester () |
void | setPath (const std::string &path) |
Additional Inherited Members | |
Protected Attributes inherited from tester | |
MPI_Comm | comm_ |
int | numProcs_ |
int | localProc_ |
std::string | path_ |
Unit-tester for fei::Vector.
Definition at line 26 of file test_Vector.hpp.
test_Vector::test_Vector | ( | MPI_Comm | comm | ) |
Definition at line 31 of file test_Vector.cpp.
|
virtual |
Definition at line 36 of file test_Vector.cpp.
|
inlinevirtual |
|
virtual |
Implements tester.
Definition at line 40 of file test_Vector.cpp.
References tester::comm_, create_vector(), FEI_COUT, FEI_ENDL, tester::localProc_, and vector_test1().
fei::SharedPtr< fei::Vector > test_Vector::create_vector | ( | fei::SharedPtr< fei::Factory > | factory | ) |
Definition at line 58 of file test_Vector.cpp.
References tester::comm_, test_VectorSpace::create_VectorSpace(), fei::Vector::Factory::createVector(), FEI_COUT, FEI_ENDL, fei::VectorSpace::initComplete(), tester::localProc_, and tester::numProcs_.
Referenced by main(), and runtests().
void test_Vector::vector_test1 | ( | fei::SharedPtr< fei::Vector > | fei_vec | ) |
Definition at line 80 of file test_Vector.cpp.
References fei::Vector::copyIn(), fei::Vector::copyOut(), FEI_COUT, FEI_ENDL, fei::VectorSpace::getGlobalIndexOffsets(), fei::Vector::getVectorSpace(), tester::localProc_, fei::Vector::putScalar(), and fei::Vector::typeName().
Referenced by main(), and runtests().