![]() |
KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
Provides a SystemVector which implements FEM assemble capabilities, as well as some vector operations. More...
#include <system_vector.h>
Public Member Functions | |
Life Cycle | |
| SystemVector (const SparseGraph< IndexType > &rGraph) | |
| SystemVector (const SparseContiguousRowGraph< IndexType > &rGraph) | |
| SystemVector (IndexType size, DataCommunicator &rComm=ParallelEnvironment::GetDataCommunicator("Serial")) | |
| SystemVector (const Vector &data, DataCommunicator &rComm=ParallelEnvironment::GetDataCommunicator("Serial")) | |
| SystemVector (const SystemVector< TDataType, TIndexType > &rOtherVector) | |
| Copy constructor. More... | |
| ~SystemVector () | |
| Destructor. More... | |
| const DataCommunicator & | GetComm () const |
| const DataCommunicator * | pGetComm () const |
Operators | |
| void | Clear () |
| void | SetValue (const TDataType value) |
| IndexType | size () const |
| TDataType & | operator() (IndexType I) |
| const TDataType & | operator() (IndexType I) const |
| TDataType & | operator[] (IndexType I) |
| const TDataType & | operator[] (IndexType I) const |
| DenseVector< TDataType > & | data () |
| provides low level access to internal data More... | |
| const DenseVector< TDataType > & | data () const |
| provides low level access to internal data More... | |
| void | Add (const TDataType factor, const SystemVector &rOtherVector) |
| SystemVector & | operator= (SystemVector const &rOtherVector) |
| Assignment operator. More... | |
| SystemVector & | operator+= (const SystemVector &rOtherVector) |
| SystemVector & | operator-= (const SystemVector &rOtherVector) |
| SystemVector & | operator*= (const TDataType multiplier_factor) |
| SystemVector & | operator/= (const TDataType divide_factor) |
| TDataType | Dot (const SystemVector &rOtherVector, IndexType gather_on_rank=0) |
Operations | |
| void | BeginAssemble () |
| void | FinalizeAssemble () |
| template<class TVectorType , class TIndexVectorType > | |
| void | Assemble (const TVectorType &rVectorInput, const TIndexVectorType &EquationId) |
Input and output | |
| std::string | Info () const |
| Turn back information as a string. More... | |
| void | PrintInfo (std::ostream &rOStream) const |
| Print information about this object. More... | |
| void | PrintData (std::ostream &rOStream) const |
| Print object's data. More... | |
Type Definitions | |
| typedef TIndexType | IndexType |
| KRATOS_CLASS_POINTER_DEFINITION (SystemVector) | |
| Pointer definition of SystemVector. More... | |
Provides a SystemVector which implements FEM assemble capabilities, as well as some vector operations.
| typedef TIndexType Kratos::SystemVector< TDataType, TIndexType >::IndexType |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
Copy constructor.
|
inline |
Destructor.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
provides low level access to internal data
|
inline |
provides low level access to internal data
|
inline |
|
inline |
|
inline |
|
inline |
Turn back information as a string.
| Kratos::SystemVector< TDataType, TIndexType >::KRATOS_CLASS_POINTER_DEFINITION | ( | SystemVector< TDataType, TIndexType > | ) |
Pointer definition of SystemVector.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Assignment operator.
|
inline |
|
inline |
|
inline |
|
inline |
Print object's data.
|
inline |
Print information about this object.
|
inline |
|
inline |