oomph Namespace Reference

Classes

class  AnisotropicHookean
 
class  CoupledSolidNode
 
class  RefineableQDPVDElement
 
class  FaceGeometry< RefineableQDPVDElement< 2, NNODE_1D > >
 FaceGeometry of the 2D RefineableQPVDElement elements. More...
 
class  FaceGeometry< FaceGeometry< RefineableQDPVDElement< 2, NNODE_1D > > >
 FaceGeometry of the FaceGeometry of the 2D RefineableQPVDElement. More...
 
class  FaceGeometry< RefineableQDPVDElement< 3, NNODE_1D > >
 FaceGeometry of the 3D RefineableQPVDElement elements. More...
 
class  FaceGeometry< FaceGeometry< RefineableQDPVDElement< 3, NNODE_1D > > >
 FaceGeometry of the FaceGeometry of the 3D RefineableQPVDElement. More...
 
class  ScaleCoupledElement
 Wrapper class for solid elements to be coupled with discrete solid particles on the surfaces. More...
 
class  FaceGeometry< ScaleCoupledElement< ELEMENT > >
 FaceGeometry of wrapped element is the same as the underlying element. More...
 
class  SCoupledElement
 
class  FaceGeometry< SCoupledElement< ELEMENT > >
 FaceGeometry of wrapped element is the same as the underlying element. More...
 
class  VolumeCoupledElement
 
class  FaceGeometry< VolumeCoupledElement< ELEMENT > >
 FaceGeometry of wrapped element is the same as the underlying element. More...
 

Functions

std::ostream & operator<< (std::ostream &os, const Vector< double > &a)
 

Function Documentation

◆ operator<<()

std::ostream& oomph::operator<< ( std::ostream &  os,
const Vector< double > &  a 
)

Adds all elements of the vector to an output stream. NB: this is a global function and a friend of the Vec3D class!

Parameters
[in]osthe output stream,
[in]aThe vector of interest
Returns
the output stream with vector elements added
38  {
39  if (not a.empty()) {
40  os << a[0];
41  }
42  for (int i = 1; i < a.size(); i++) {
43  os << ' ' << a[i];
44  }
45  return os;
46  }
const std::complex< Mdouble > i
Definition: ExtendedMath.h:51

References constants::i.