|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
Public Types |
Public Member Functions |
Protected Types |
Protected Member Functions |
Protected Attributes |
List of all members
Dune::Fem::BlockVectorInterface< Imp, Field > Class Template Reference
#include <dune/fem/function/blockvectors/defaultblockvectors.hh>
Inheritance diagram for Dune::Fem::BlockVectorInterface< Imp, Field >:

Public Types | |
| typedef Field | FieldType |
| Type of the field the dofs lie in. | |
| typedef Field | DofType |
| make consistent with discrete function | |
Public Member Functions | |
| const ThisType & | operator= (const ThisType &other) |
| Copy assignment operator. | |
| const ThisType & | operator+= (const ThisType &other) |
| Add another block vector to *this. | |
| const ThisType & | operator-= (const ThisType &other) |
| Subtract another block vector from *this. | |
| FieldType | operator* (const ThisType &other) const |
| Scalar product between *this and another block vector. | |
| const ThisType & | operator*= (const FieldType &scalar) |
| Scale this block vector. | |
| void | axpy (const FieldType &scalar, const ThisType &other) |
| Add a scalar multiple of another block vector to this block vector. | |
| void | clear () |
| Clear this block vector, i.e. set each dof to 0. | |
| std::size_t | usedMemorySize () const |
| void | copyContent (const size_t newIndex, const size_t oldIndex) |
| void | memMoveBackward (const size_t length, const size_t oldStartIdx, const size_t newStartIdx) |
| move memory blocks backwards | |
| void | memMoveForward (const size_t length, const size_t oldStartIdx, const size_t newStartIdx) |
| move memory blocks forward | |
| void | setMemoryFactor (const double memFactor) |
| set memory overestimate factor, here does nothing | |
Protected Types | |
| typedef DebugCounter< size_t > | CounterType |
| typedef Imp | ThisType |
| Type of derived class (implementation) | |
Protected Member Functions | |
| BlockVectorInterface () | |
| void | assign (const ThisType &other) |
| ThisType & | asImp () |
| const ThisType & | asImp () const |
Protected Attributes | |
| CounterType | sequence_ |
Member Typedef Documentation
◆ CounterType
template<class Imp , class Field >
|
protected |
◆ DofType
template<class Imp , class Field >
| typedef Field Dune::Fem::BlockVectorInterface< Imp, Field >::DofType |
make consistent with discrete function
◆ FieldType
template<class Imp , class Field >
| typedef Field Dune::Fem::BlockVectorInterface< Imp, Field >::FieldType |
Type of the field the dofs lie in.
◆ ThisType
template<class Imp , class Field >
|
protected |
Type of derived class (implementation)
Constructor & Destructor Documentation
◆ BlockVectorInterface()
template<class Imp , class Field >
|
inlineprotected |
Member Function Documentation
◆ asImp() [1/2]
template<class Imp , class Field >
|
inlineprotected |
◆ asImp() [2/2]
template<class Imp , class Field >
|
inlineprotected |
◆ assign()
template<class Imp , class Field >
|
inlineprotected |
◆ axpy()
template<class Imp , class Field >
|
inline |
Add a scalar multiple of another block vector to this block vector.
Semantic in pseudocode: " *this = *this + scalar*v "
- Parameters
-
[in] scalar Scalar factor by which v is multiplied before it is added to *this [in] other The other block vector
◆ clear()
template<class Imp , class Field >
|
inline |
Clear this block vector, i.e. set each dof to 0.
◆ copyContent()
template<class Imp , class Field >
|
inline |
implements array[ newIndex ] = array[ oldIndex ]
◆ memMoveBackward()
template<class Imp , class Field >
|
inline |
move memory blocks backwards
◆ memMoveForward()
template<class Imp , class Field >
|
inline |
move memory blocks forward
◆ operator*()
template<class Imp , class Field >
|
inline |
Scalar product between *this and another block vector.
◆ operator*=()
template<class Imp , class Field >
|
inline |
Scale this block vector.
- Parameters
-
[in] scalar Factor for the scaling
- Returns
- Constant reference to *this
◆ operator+=()
template<class Imp , class Field >
|
inline |
Add another block vector to *this.
◆ operator-=()
template<class Imp , class Field >
|
inline |
Subtract another block vector from *this.
◆ operator=()
template<class Imp , class Field >
|
inline |
Copy assignment operator.
◆ setMemoryFactor()
template<class Imp , class Field >
|
inline |
set memory overestimate factor, here does nothing
◆ usedMemorySize()
template<class Imp , class Field >
|
inline |
return memory used by this block vector
Member Data Documentation
◆ sequence_
template<class Imp , class Field >
|
mutableprotected |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8