|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
Transport map with values of type [b]T[/b] in [b]N[/b] variables. More...
#include <TransportMap.h>
Public Member Functions | |
| TransportMap () | |
| Default constructor. | |
| TransportMap (const FVps< T, N > &rhs) | |
| Convert. | |
| TransportMap (const FMatrix< T, N, N > &M) | |
| Convert from matrix. | |
| TransportMap (const FVector< T, N > &V) | |
| Convert from vector. | |
| const TransportFun< T, N > & | getComponent (int n) const |
| Get component. | |
| void | setComponent (int, const TransportFun< T, N > &) |
| Set component. | |
| TransportFun< T, N > & | operator[] (int) |
| Get component. | |
| const TransportFun< T, N > & | operator[] (int) const |
| Get Component. | |
| TransportMap | operator+ () const |
| Unary plus. | |
| TransportMap | operator- () const |
| Unary minus. | |
| TransportMap & | operator*= (const TransportFun< T, N > &rhs) |
| Multiply and assign. | |
| TransportMap & | operator/= (const TransportFun< T, N > &rhs) |
| Divide and assign. | |
| TransportMap & | operator*= (const T &rhs) |
| Multiply and assign. | |
| TransportMap & | operator/= (const T &rhs) |
| Divide and assign. | |
| TransportMap & | operator+= (const TransportMap &rhs) |
| Add. | |
| TransportMap & | operator-= (const TransportMap &rhs) |
| Subtract. | |
| TransportMap & | operator+= (const FVector< T, N > &) |
| Add and assign. | |
| TransportMap & | operator-= (const FVector< T, N > &) |
| Subtract and assign. | |
| TransportMap | inverse () const |
| Inverse. | |
| void | identity () |
| Set to identity. | |
| FVector< T, N > | constantTerm (const FVector< T, N > &P) const |
| Evaluate map at point [b]P[/b]. | |
| FVector< T, N > | constantTerm () const |
| FMatrix< T, N, N > | linearTerms () const |
| Extract Transport terms at origin. | |
| TransportMap | substitute (const FMatrix< T, N, N > &rhs) const |
| Substitute matrix into map. | |
| TransportMap | substitute (const TransportMap &rhs) const |
| Substitute map into map. | |
| TransportMap | substituteInto (const FMatrix< T, N, N > &lhs) const |
| Substitute map into matrix. | |
Protected Attributes | |
| TransportFun< T, N > | data [N] |
Static Protected Attributes | |
| static const int | SIZE = (N + 1) *(N + 2) / 2 |
| Size of a component. | |
Transport map with values of type [b]T[/b] in [b]N[/b] variables.
Definition at line 39 of file TransportMap.h.
| TransportMap< T, N >::TransportMap | ( | ) |
Default constructor.
Definition at line 42 of file TransportMap.hpp.
References data.
Referenced by inverse(), operator*=(), operator*=(), operator+(), operator+=(), operator+=(), operator-(), operator-=(), operator-=(), operator/=(), operator/=(), substitute(), substitute(), and substituteInto().
|
explicit |
|
explicit |
|
explicit |
| FVector< T, N > TransportMap< T, N >::constantTerm | ( | ) | const |
Evaluate map at origin. This is equivalent to extracting constant part.
Definition at line 227 of file TransportMap.hpp.
References data.
| FVector< T, N > TransportMap< T, N >::constantTerm | ( | const FVector< T, N > & | P | ) | const |
| const TransportFun< T, N > & TransportMap< T, N >::getComponent | ( | int | n | ) | const |
| void TransportMap< T, N >::identity | ( | ) |
Set to identity.
Definition at line 209 of file TransportMap.hpp.
| TransportMap< T, N > TransportMap< T, N >::inverse | ( | ) | const |
Inverse.
Definition at line 173 of file TransportMap.hpp.
References data, FLUMatrix< T, N >::inverse(), SIZE, substitute(), and TransportMap().
| FMatrix< T, N, N > TransportMap< T, N >::linearTerms | ( | ) | const |
Extract Transport terms at origin.
Definition at line 239 of file TransportMap.hpp.
References data.
| TransportMap< T, N > & TransportMap< T, N >::operator*= | ( | const T & | rhs | ) |
Multiply and assign.
Definition at line 131 of file TransportMap.hpp.
References data, and TransportMap().
| TransportMap< T, N > & TransportMap< T, N >::operator*= | ( | const TransportFun< T, N > & | rhs | ) |
Multiply and assign.
Definition at line 116 of file TransportMap.hpp.
References data, and TransportMap().
| TransportMap< T, N > TransportMap< T, N >::operator+ | ( | ) | const |
Unary plus.
Definition at line 102 of file TransportMap.hpp.
References TransportMap().
| TransportMap< T, N > & TransportMap< T, N >::operator+= | ( | const FVector< T, N > & | rhs | ) |
Add and assign.
Definition at line 159 of file TransportMap.hpp.
References data, and TransportMap().
| TransportMap< T, N > & TransportMap< T, N >::operator+= | ( | const TransportMap< T, N > & | rhs | ) |
Add.
Definition at line 145 of file TransportMap.hpp.
References data, and TransportMap().
| TransportMap< T, N > TransportMap< T, N >::operator- | ( | ) | const |
Unary minus.
Definition at line 108 of file TransportMap.hpp.
References data, and TransportMap().
| TransportMap< T, N > & TransportMap< T, N >::operator-= | ( | const FVector< T, N > & | rhs | ) |
Subtract and assign.
Definition at line 166 of file TransportMap.hpp.
References data, and TransportMap().
| TransportMap< T, N > & TransportMap< T, N >::operator-= | ( | const TransportMap< T, N > & | rhs | ) |
Subtract.
Definition at line 152 of file TransportMap.hpp.
References data, and TransportMap().
| TransportMap< T, N > & TransportMap< T, N >::operator/= | ( | const T & | rhs | ) |
Divide and assign.
Definition at line 138 of file TransportMap.hpp.
References data, and TransportMap().
| TransportMap< T, N > & TransportMap< T, N >::operator/= | ( | const TransportFun< T, N > & | rhs | ) |
Divide and assign.
Definition at line 123 of file TransportMap.hpp.
References data, TransportFun< T, N >::inverse(), and TransportMap().
|
inline |
|
inline |
| void TransportMap< T, N >::setComponent | ( | int | index, |
| const TransportFun< T, N > & | value ) |
| TransportMap< T, N > TransportMap< T, N >::substitute | ( | const FMatrix< T, N, N > & | rhs | ) | const |
Substitute matrix into map.
Definition at line 287 of file TransportMap.hpp.
References substitute(), and TransportMap().
Referenced by inverse(), and substitute().
| TransportMap< T, N > TransportMap< T, N >::substitute | ( | const TransportMap< T, N > & | rhs | ) | const |
Substitute map into map.
Definition at line 253 of file TransportMap.hpp.
References data, and TransportMap().
| TransportMap< T, N > TransportMap< T, N >::substituteInto | ( | const FMatrix< T, N, N > & | lhs | ) | const |
Substitute map into matrix.
Definition at line 294 of file TransportMap.hpp.
References data, and TransportMap().
Referenced by operator*().
|
protected |
Definition at line 144 of file TransportMap.h.
Referenced by constantTerm(), constantTerm(), getComponent(), inverse(), linearTerms(), operator*=(), operator*=(), operator+=(), operator+=(), operator-(), operator-=(), operator-=(), operator/=(), operator/=(), operator[](), operator[](), setComponent(), substitute(), substituteInto(), TransportMap(), TransportMap(), TransportMap(), and TransportMap().
|
staticprotected |
Size of a component.
Definition at line 141 of file TransportMap.h.
Referenced by inverse(), and TransportMap().