FEDEM Solver  R8.0
Source code of the dynamics solver
Public Member Functions | Private Attributes | Friends | List of all members
FFaTensor1 Class Reference

#include <FFaTensor1.H>

Public Member Functions

 FFaTensor1 (double d=0.0)
 
 FFaTensor1 (const FFaTensor1 &t)
 
 FFaTensor1 (const FFaTensor2 &t)
 
 FFaTensor1 (const FFaTensor3 &t)
 
FFaTensor1operator= (const FFaTensor1 &t)
 
FFaTensor1operator= (const FFaTensor2 &t)
 
FFaTensor1operator= (const FFaTensor3 &t)
 
FFaTensor1operator+= (const FFaTensor1 &t)
 
FFaTensor1operator-= (const FFaTensor1 &t)
 
FFaTensor1operator*= (double d)
 
FFaTensor1operator/= (double d)
 
 operator double () const
 

Private Attributes

double myT
 

Friends

FFaTensor1 operator- (const FFaTensor1 &)
 
FFaTensor1 operator+ (const FFaTensor1 &, const FFaTensor1 &)
 
FFaTensor1 operator- (const FFaTensor1 &, const FFaTensor1 &)
 
FFaTensor1 operator* (const FFaTensor1 &, double)
 
FFaTensor1 operator* (double, const FFaTensor1 &)
 
FFaTensor1 operator/ (const FFaTensor1 &, double)
 
bool operator== (const FFaTensor1 &, const FFaTensor1 &)
 
bool operator!= (const FFaTensor1 &, const FFaTensor1 &)
 
std::ostream & operator<< (std::ostream &, const FFaTensor1 &)
 
std::istream & operator>> (std::istream &, FFaTensor1 &)
 

Detailed Description

Class to represent a 1D simple tensor. Tensor layout: T = {t11}

Constructor & Destructor Documentation

◆ FFaTensor1() [1/4]

FFaTensor1::FFaTensor1 ( double  d = 0.0)
inline

◆ FFaTensor1() [2/4]

FFaTensor1::FFaTensor1 ( const FFaTensor1 t)
inline

◆ FFaTensor1() [3/4]

FFaTensor1::FFaTensor1 ( const FFaTensor2 t)

◆ FFaTensor1() [4/4]

FFaTensor1::FFaTensor1 ( const FFaTensor3 t)

Member Function Documentation

◆ operator double()

FFaTensor1::operator double ( ) const
inline

◆ operator*=()

FFaTensor1& FFaTensor1::operator*= ( double  d)
inline

◆ operator+=()

FFaTensor1& FFaTensor1::operator+= ( const FFaTensor1 t)
inline

◆ operator-=()

FFaTensor1& FFaTensor1::operator-= ( const FFaTensor1 t)
inline

◆ operator/=()

FFaTensor1& FFaTensor1::operator/= ( double  d)
inline

◆ operator=() [1/3]

FFaTensor1 & FFaTensor1::operator= ( const FFaTensor1 t)

◆ operator=() [2/3]

FFaTensor1 & FFaTensor1::operator= ( const FFaTensor2 t)

◆ operator=() [3/3]

FFaTensor1 & FFaTensor1::operator= ( const FFaTensor3 t)

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const FFaTensor1 a,
const FFaTensor1 b 
)
friend

◆ operator* [1/2]

FFaTensor1 operator* ( const FFaTensor1 a,
double  d 
)
friend

◆ operator* [2/2]

FFaTensor1 operator* ( double  d,
const FFaTensor1 a 
)
friend

◆ operator+

FFaTensor1 operator+ ( const FFaTensor1 a,
const FFaTensor1 b 
)
friend

◆ operator- [1/2]

FFaTensor1 operator- ( const FFaTensor1 t)
friend

Global operators.

◆ operator- [2/2]

FFaTensor1 operator- ( const FFaTensor1 a,
const FFaTensor1 b 
)
friend

◆ operator/

FFaTensor1 operator/ ( const FFaTensor1 a,
double  d 
)
friend

◆ operator<<

std::ostream& operator<< ( std::ostream &  s,
const FFaTensor1 t 
)
friend

◆ operator==

bool operator== ( const FFaTensor1 a,
const FFaTensor1 b 
)
friend

◆ operator>>

std::istream& operator>> ( std::istream &  s,
FFaTensor1 t 
)
friend

Member Data Documentation

◆ myT

double FFaTensor1::myT
private

The documentation for this class was generated from the following files: