79 operator double()
const {
return myT; }
Class to represent a 1D simple tensor.
Definition: FFaTensor1.H:31
double myT
Tensor component value.
Definition: FFaTensor1.H:32
friend std::istream & operator>>(std::istream &, FFaTensor1 &)
Reading operator.
friend bool operator!=(const FFaTensor1 &, const FFaTensor1 &)
Inequality operator,.
friend FFaTensor1 operator+(const FFaTensor1 &, const FFaTensor1 &)
Global addition operator.
FFaTensor1 & operator*=(double d)
Scaling operator (multiplication by a scalar).
Definition: FFaTensor1.H:65
FFaTensor1 & operator/=(double d)
Scaling operator (division by a scalar).
Definition: FFaTensor1.H:72
void fill(double d)
Initializes all tensor components to the given value.
Definition: FFaTensor1.H:43
FFaTensor1 & operator+=(const FFaTensor1 &t)
Addition operator.
Definition: FFaTensor1.H:51
FFaTensor1 & operator-=(const FFaTensor1 &t)
Subtraction operator.
Definition: FFaTensor1.H:58
friend std::ostream & operator<<(std::ostream &, const FFaTensor1 &)
Printing operator.
friend FFaTensor1 operator-(const FFaTensor1 &)
Unary negation operator.
friend FFaTensor1 operator*(const FFaTensor1 &, double)
Scaling operator, multiplication of a tensor and a scalar.
FFaTensor1(double d=0.0)
Default constructor initializing the tensor to 0 (or given value).
Definition: FFaTensor1.H:36
friend FFaTensor1 operator/(const FFaTensor1 &, double)
Scaling operator, division by a scalar.
FFaTensor1 & operator=(const FFaTensor2 &t)
Overloaded assignment operator.
Definition: FFaTensor1.C:31
friend bool operator==(const FFaTensor1 &, const FFaTensor1 &)
Equality operator,.
Class to represent a 2D symmetrical tensor.
Definition: FFaTensor2.H:35
Class to represent a 3D symmetric tensor.
Definition: FFaTensor3.H:35