|
FEDEM Solver
R8.0
Source code of the dynamics solver
|
Class to represent a 1D simple tensor. More...
#include <FFaTensor1.H>
Public Member Functions | |
| FFaTensor1 (double d=0.0) | |
| Default constructor initializing the tensor to 0 (or given value). More... | |
| FFaTensor1 (const FFaTensor2 &t) | |
| Copy constructor for casting from FFaTensor2. More... | |
| FFaTensor1 (const FFaTensor3 &t) | |
| Copy constructor for casting from FFaTensor1. More... | |
| void | fill (double d) |
| Initializes all tensor components to the given value. More... | |
| FFaTensor1 & | operator= (const FFaTensor2 &t) |
| Overloaded assignment operator. More... | |
| FFaTensor1 & | operator= (const FFaTensor3 &t) |
| Overloaded assignment operator. More... | |
| FFaTensor1 & | operator+= (const FFaTensor1 &t) |
| Addition operator. More... | |
| FFaTensor1 & | operator-= (const FFaTensor1 &t) |
| Subtraction operator. More... | |
| FFaTensor1 & | operator*= (double d) |
| Scaling operator (multiplication by a scalar). More... | |
| FFaTensor1 & | operator/= (double d) |
| Scaling operator (division by a scalar). More... | |
| operator double () const | |
| Type cast to double operator. More... | |
Private Attributes | |
| double | myT |
| Tensor component value. More... | |
Friends | |
| FFaTensor1 | operator- (const FFaTensor1 &) |
| Unary negation operator. More... | |
| FFaTensor1 | operator+ (const FFaTensor1 &, const FFaTensor1 &) |
| Global addition operator. More... | |
| FFaTensor1 | operator- (const FFaTensor1 &, const FFaTensor1 &) |
| Global subtraction operator. More... | |
| FFaTensor1 | operator* (const FFaTensor1 &, double) |
| Scaling operator, multiplication of a tensor and a scalar. More... | |
| FFaTensor1 | operator* (double, const FFaTensor1 &) |
| Scaling operator, multiplication of a scalar and a tensor. More... | |
| FFaTensor1 | operator/ (const FFaTensor1 &, double) |
| Scaling operator, division by a scalar. More... | |
| bool | operator== (const FFaTensor1 &, const FFaTensor1 &) |
| Equality operator,. More... | |
| bool | operator!= (const FFaTensor1 &, const FFaTensor1 &) |
| Inequality operator,. More... | |
| std::ostream & | operator<< (std::ostream &, const FFaTensor1 &) |
| Printing operator. More... | |
| std::istream & | operator>> (std::istream &, FFaTensor1 &) |
| Reading operator. More... | |
Class to represent a 1D simple tensor.
Tensor layout:
|
inline |
Default constructor initializing the tensor to 0 (or given value).
| FFaTensor1::FFaTensor1 | ( | const FFaTensor2 & | t | ) |
Copy constructor for casting from FFaTensor2.
| FFaTensor1::FFaTensor1 | ( | const FFaTensor3 & | t | ) |
Copy constructor for casting from FFaTensor1.
|
inline |
Initializes all tensor components to the given value.
|
inline |
Type cast to double operator.
|
inline |
Scaling operator (multiplication by a scalar).
|
inline |
Addition operator.
|
inline |
Subtraction operator.
|
inline |
Scaling operator (division by a scalar).
| FFaTensor1 & FFaTensor1::operator= | ( | const FFaTensor2 & | t | ) |
Overloaded assignment operator.
| FFaTensor1 & FFaTensor1::operator= | ( | const FFaTensor3 & | t | ) |
Overloaded assignment operator.
|
friend |
Inequality operator,.
|
friend |
Scaling operator, multiplication of a tensor and a scalar.
|
friend |
Scaling operator, multiplication of a scalar and a tensor.
|
friend |
Global addition operator.
|
friend |
Unary negation operator.
|
friend |
Global subtraction operator.
|
friend |
Scaling operator, division by a scalar.
|
friend |
Printing operator.
|
friend |
Equality operator,.
|
friend |
Reading operator.
|
private |
Tensor component value.