

Public Member Functions | |
| def | __init__ |
| def | SumIntoGlobalValues |
| def | ReplaceGlobalValues |
| def | GlobalAssemble |
| def | setIgnoreNonLocalEntries |
Public Attributes | |
| this | |
Epetra Finite-Element Vector. This class inherits Epetra_MultiVector and thus provides all Epetra_MultiVector functionality. The added functionality provided by Epetra_FEVector is the ability to perform finite-element style vector assembly. It accepts sub-vector contributions, such as those that would come from element-load vectors, etc. These sub-vectors need not be owned by the local processor. In other words, the user can assemble overlapping data (e.g., corresponding to shared finite-element nodes). When the user is finished assembling their vector data, they then call the method Epetra_FEVector::GlobalAssemble() which gathers the overlapping data (all non-local data that was input on each processor) into the data- distribution specified by the map with which the Epetra_FEVector was constructed. C++ includes: Epetra_FEVector.h
| def PyTrilinos.Epetra.Epetra_FEVector.__init__ | ( | self, | |
| args | |||
| ) |
__init__(Epetra_FEVector self, BlockMap Map, int numVectors=1, bool ignoreNonLocalEntries=False) -> Epetra_FEVector __init__(Epetra_FEVector self, Epetra_DataAccess CV, BlockMap Map, double * A, int MyLDA, int NumVectors, bool ignoreNonLocalEntries=False) -> Epetra_FEVector __init__(Epetra_FEVector self, Epetra_DataAccess CV, BlockMap Map, double ** ArrayOfPointers, int NumVectors, bool ignoreNonLocalEntries=False) -> Epetra_FEVector __init__(Epetra_FEVector self, Epetra_FEVector source) -> Epetra_FEVector Epetra_FEVector::Epetra_FEVector(const Epetra_FEVector &source) Copy constructor.
Reimplemented from PyTrilinos.Epetra.Epetra_MultiVector.
Reimplemented in PyTrilinos.Epetra.FEVector, PyTrilinos.Epetra.NumPyFEVector, and PyTrilinos.Epetra.FEVector.
| def PyTrilinos.Epetra.Epetra_FEVector.GlobalAssemble | ( | self, | |
| args | |||
| ) |
GlobalAssemble(Epetra_FEVector self, Epetra_CombineMode mode=Add, bool reuse_map_and_exporter=False) -> int int Epetra_FEVector::GlobalAssemble(Epetra_CombineMode mode=Add, bool reuse_map_and_exporter=false) Gather any overlapping/shared data into the non-overlapping partitioning defined by the Map that was passed to this vector at construction time. Data imported from other processors is stored on the owning processor with a "sumInto" or accumulate operation. This is a collective method -- every processor must enter it before any will complete it. Optimization for power-users: The optional parameter 'reuse_map_and_exporter' defaults to false. By default, a map that describes the non-local data is re-created at each call to GlobalAssemble, along with an exporter used to do the communication. This is expensive. If you know that the layout of your nonlocal data has not changed since your previous call to GlobalAssemble, you can set this flag to true and it will reuse the previously created map and exporter rather than creating new ones.
| def PyTrilinos.Epetra.Epetra_FEVector.ReplaceGlobalValues | ( | self, | |
| args | |||
| ) |
ReplaceGlobalValues(Epetra_FEVector self, int numIDs, int const * GIDs, double const * values, int vectorIndex=0) -> int
ReplaceGlobalValues(Epetra_FEVector self, int numIDs, long long const * GIDs, double const * values, int vectorIndex=0) -> int
ReplaceGlobalValues(Epetra_FEVector self, Epetra_IntSerialDenseVector GIDs, Epetra_SerialDenseVector values, int vectorIndex=0) -> int
ReplaceGlobalValues(Epetra_FEVector self, Epetra_LongLongSerialDenseVector const & GIDs, Epetra_SerialDenseVector values, int vectorIndex=0) -> int
ReplaceGlobalValues(Epetra_FEVector self, int numIDs, int const * GIDs, int const * numValuesPerID, double const * values,
int vectorIndex=0) -> int
ReplaceGlobalValues(Epetra_FEVector self, int numIDs, long long const * GIDs, int const * numValuesPerID, double const * values,
int vectorIndex=0) -> int
int
Epetra_FEVector::ReplaceGlobalValues(int numIDs, const long long
*GIDs, const int *numValuesPerID, const double *values, int
vectorIndex=0)
Reimplemented in PyTrilinos.Epetra.NumPyFEVector.
| def PyTrilinos.Epetra.Epetra_FEVector.setIgnoreNonLocalEntries | ( | self, | |
| args | |||
| ) |
setIgnoreNonLocalEntries(Epetra_FEVector self, bool flag) void Epetra_FEVector::setIgnoreNonLocalEntries(bool flag) Set whether or not non-local data values should be ignored.
| def PyTrilinos.Epetra.Epetra_FEVector.SumIntoGlobalValues | ( | self, | |
| args | |||
| ) |
SumIntoGlobalValues(Epetra_FEVector self, int numIDs, int const * GIDs, double const * values, int vectorIndex=0) -> int
SumIntoGlobalValues(Epetra_FEVector self, int numIDs, long long const * GIDs, double const * values, int vectorIndex=0) -> int
SumIntoGlobalValues(Epetra_FEVector self, Epetra_IntSerialDenseVector GIDs, Epetra_SerialDenseVector values, int vectorIndex=0) -> int
SumIntoGlobalValues(Epetra_FEVector self, Epetra_LongLongSerialDenseVector const & GIDs, Epetra_SerialDenseVector values, int vectorIndex=0) -> int
SumIntoGlobalValues(Epetra_FEVector self, int numIDs, int const * GIDs, int const * numValuesPerID, double const * values,
int vectorIndex=0) -> int
SumIntoGlobalValues(Epetra_FEVector self, int numIDs, long long const * GIDs, int const * numValuesPerID, double const * values,
int vectorIndex=0) -> int
int
Epetra_FEVector::SumIntoGlobalValues(int numIDs, const long long
*GIDs, const int *numValuesPerID, const double *values, int
vectorIndex=0)
Reimplemented in PyTrilinos.Epetra.NumPyFEVector.
1.7.6.1