Vector type objects are used by the application code to create vector spaces and operators of a given type. More...
Public Member Functions | |
| VectorType () | |
| Empty ctor. | |
| VectorType (Handleable< VectorTypeExtensions< Scalar > > *rawPtr) | |
| Construct a VectorType<Scalar> with a raw pointer to a VectorTypeExtensions<Scalar> | |
| VectorType (const RefCountPtr< VectorTypeExtensions< Scalar > > &smartPtr) | |
| Construct a VectorType<Scalar> with a smart pointer to a VectorTypeExtensions<Scalar> | |
| VectorSpace< Scalar > | createEvenlyPartitionedSpace (const MPIComm &comm, int nLocal) const |
| create a vector space having nLocal elements on each processor | |
| VectorSpace< Scalar > | createSpace (int dimension, int nLocal, const int *locallyOwnedIndices, const MPIComm &comm) const |
| create a distributed vector space. | |
| RCP< GhostImporter< Scalar > > | createGhostImporter (const VectorSpace< Scalar > &space, int nGhost, const int *ghostIndices) const |
| Create an importer for ghost elements. | |
| virtual RCP< MatrixFactory < Scalar > > | createMatrixFactory (const VectorSpace< Scalar > &domain, const VectorSpace< Scalar > &range) const |
| Create a matrix factory of type compatible with this vector type, sized according to the given domain and range spaces. | |
Vector type objects are used by the application code to create vector spaces and operators of a given type.
Definition at line 43 of file TSFVectorType.hpp.
| TSFExtended::VectorType< Scalar >::VectorType | ( | ) | [inline] |
Empty ctor.
Definition at line 46 of file TSFVectorType.hpp.
| TSFExtended::VectorType< Scalar >::VectorType | ( | Handleable< VectorTypeExtensions< Scalar > > * | rawPtr | ) | [inline] |
Construct a VectorType<Scalar> with a raw pointer to a VectorTypeExtensions<Scalar>
Definition at line 46 of file TSFVectorType.hpp.
| TSFExtended::VectorType< Scalar >::VectorType | ( | const RefCountPtr< VectorTypeExtensions< Scalar > > & | smartPtr | ) | [inline] |
Construct a VectorType<Scalar> with a smart pointer to a VectorTypeExtensions<Scalar>
Definition at line 46 of file TSFVectorType.hpp.
| VectorSpace< Scalar > TSFExtended::VectorType< Scalar >::createEvenlyPartitionedSpace | ( | const MPIComm & | comm, |
| int | nLocal | ||
| ) | const [inline] |
create a vector space having nLocal elements on each processor
Definition at line 96 of file TSFVectorType.hpp.
| RCP< GhostImporter< Scalar > > TSFExtended::VectorType< Scalar >::createGhostImporter | ( | const VectorSpace< Scalar > & | space, |
| int | nGhost, | ||
| const int * | ghostIndices | ||
| ) | const [inline] |
Create an importer for ghost elements.
Definition at line 104 of file TSFVectorType.hpp.
Referenced by Sundance::DiscreteSpace::initImporter(), and TSFExtended::PoissonBoltzmannOp::PoissonBoltzmannOp().
| RCP< MatrixFactory< Scalar > > TSFExtended::VectorType< Scalar >::createMatrixFactory | ( | const VectorSpace< Scalar > & | domain, |
| const VectorSpace< Scalar > & | range | ||
| ) | const [inline, virtual] |
Create a matrix factory of type compatible with this vector type, sized according to the given domain and range spaces.
Definition at line 113 of file TSFVectorType.hpp.
Referenced by TSFExtended::HeatOperator1D::HeatOperator1D(), TSFExtended::MatrixLaplacian1D::init(), TSFExtended::PartitionedMatrixFactory::PartitionedMatrixFactory(), and TSFExtended::PoissonBoltzmannJacobian::setEvalPoint().
| VectorSpace< Scalar > TSFExtended::VectorType< Scalar >::createSpace | ( | int | dimension, |
| int | nLocal, | ||
| const int * | locallyOwnedIndices, | ||
| const MPIComm & | comm | ||
| ) | const [inline] |
create a distributed vector space.
| dimension | the dimension of the space |
| nLocal | number of indices owned by the local processor |
| locallyOwnedIndices | array of indices owned by this processor |
Definition at line 87 of file TSFVectorType.hpp.
Referenced by TSFExtended::buildPartitionedSpace(), and Sundance::DiscreteSpace::initVectorSpace().