v0.15.0
Loading...
Searching...
No Matches
Tensor2_antisymmetric_value.hpp File Reference
#include <ostream>

Go to the source code of this file.

Classes

class  FTensor::Tensor2_antisymmetric< T, Tensor_Dim >
 

Namespaces

namespace  FTensor
 Tensors class implemented by Walter Landry.
 

Functions

template<class T , int Tensor_Dim>
std::ostream & FTensor::Tensor2_antisymmetric_ostream_row (std::ostream &os, const FTensor::Tensor2_antisymmetric< T, Tensor_Dim > &t, const int &i)
 
template<class T , int Tensor_Dim>
std::ostream & operator<< (std::ostream &os, const FTensor::Tensor2_antisymmetric< T, Tensor_Dim > &t)
 
template<class T , int Tensor_Dim>
std::istream & FTensor::Tensor2_antisymmetric_istream_row (std::istream &is, FTensor::Tensor2_antisymmetric< T, Tensor_Dim > &t, const int &i)
 
template<class T , int Tensor_Dim>
std::istream & operator>> (std::istream &is, FTensor::Tensor2_antisymmetric< T, Tensor_Dim > &t)
 

Function Documentation

◆ operator<<()

template<class T , int Tensor_Dim>
std::ostream & operator<< ( std::ostream & os,
const FTensor::Tensor2_antisymmetric< T, Tensor_Dim > & t )

Definition at line 257 of file Tensor2_antisymmetric_value.hpp.

260{
261 os << '[';
262 for(int i = 0; i + 2 < Tensor_Dim; ++i)
263 {
265 os << ',';
266 }
267 if(Tensor_Dim > 1)
268 {
270 }
271 os << ']';
272 return os;
273}
FTensor::Index< 'i', SPACE_DIM > i
std::ostream & Tensor2_antisymmetric_ostream_row(std::ostream &os, const FTensor::Tensor2_antisymmetric< T, Tensor_Dim > &t, const int &i)
constexpr double t
plate stiffness
Definition plate.cpp:58

◆ operator>>()

template<class T , int Tensor_Dim>
std::istream & operator>> ( std::istream & is,
FTensor::Tensor2_antisymmetric< T, Tensor_Dim > & t )

Definition at line 299 of file Tensor2_antisymmetric_value.hpp.

300{
301 char c;
302 is >> c;
303 for(int i = 0; i + 2 < Tensor_Dim; ++i)
304 {
306 is >> c;
307 }
308 if(Tensor_Dim > 1)
309 {
311 }
312 is >> c;
313 return is;
314}
const double c
speed of light (cm/ns)
std::istream & Tensor2_antisymmetric_istream_row(std::istream &is, FTensor::Tensor2_antisymmetric< T, Tensor_Dim > &t, const int &i)