|
Opm::Linear::TpsaVector< ScalarT > Class Template Reference Vector type for TPSA linear elasticity. More...
Detailed Descriptiontemplate<class ScalarT> class Opm::Linear::TpsaVector< ScalarT > Vector type for TPSA linear elasticity. Companion to TpsaMatrix class. This is a wrapper around Dune::MultiTypeBlockVector type to distribute a 7x1 dense vector to sub-vector fields corresponding to the sub-matrix fields in TpsaMatrix
Member Typedef Documentation◆ block_type
template<class ScalarT >
Dense block holding the seven equations of a single cell. ◆ EqVector
template<class ScalarT >
Dense block holding the seven equations of a single cell. ◆ field_type
template<class ScalarT >
Field type of the vector entries. ◆ IstlVector
template<class ScalarT >
What the linear solver operates on. ◆ Scalar
template<class ScalarT >
Field type of the vector entries. ◆ size_type
template<class ScalarT >
Type used for sizes and indices. Constructor & Destructor Documentation◆ TpsaVector() [1/2]
template<class ScalarT >
Construct an empty vector; call resize() before use. ◆ TpsaVector() [2/2]
template<class ScalarT >
Construct a vector sized for the given number of cells.
References Opm::Linear::TpsaVector< ScalarT >::resize(). Member Function Documentation◆ infinity_norm()
template<class ScalarT >
Largest absolute value over all entries.
◆ istlVector() [1/2]
template<class ScalarT >
The underlying multi-type vector handed to the linear solver.
◆ istlVector() [2/2]
template<class ScalarT >
The underlying multi-type vector handed to the linear solver.
◆ N()
template<class ScalarT >
Number of cells the vector holds equations for.
◆ one_norm()
template<class ScalarT >
Sum of the absolute values of all entries.
◆ operator*=()
template<class ScalarT >
Scale every entry of every field.
◆ operator+=()
template<class ScalarT >
Add another vector field by field.
◆ operator-=()
template<class ScalarT >
Subtract another vector field by field.
◆ operator=()
template<class ScalarT >
Set every entry of every field to a scalar.
◆ operator[]() [1/2]
template<class ScalarT >
Writable handle on the seven equations of cell dofIdx.
◆ operator[]() [2/2]
template<class ScalarT >
The seven equations of cell dofIdx, gathered into a dense block.
◆ resize()
template<class ScalarT >
Resize every sub-vector to the given number of cells.
Referenced by Opm::Linear::TpsaVector< ScalarT >::TpsaVector(). ◆ scaleFields()
template<class ScalarT >
Multiply each field by factor. The counterpart of TpsaMatrix::scaleFields().
◆ size()
template<class ScalarT >
Number of cells the vector holds equations for.
◆ two_norm()
template<class ScalarT >
Euclidean norm of the vector.
References Opm::Linear::TpsaVector< ScalarT >::two_norm2(). ◆ two_norm2()
template<class ScalarT >
Sum of the squares of all entries.
Referenced by Opm::Linear::TpsaVector< ScalarT >::two_norm(). The documentation for this class was generated from the following file: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||