NAMD
Functions | Variables
DataStream.C File Reference
#include "DataStream.h"
#include "CollectionMgr.h"
#include "Vector.h"
#include "Tensor.h"
#include <stdio.h>

Go to the source code of this file.

Functions

datastreamoperator<< (datastream &strm, const Vector &v1)
 
datastreamoperator<< (datastream &strm, const Tensor &t1)
 

Variables

datastream dout
 

Function Documentation

datastream& operator<< ( datastream strm,
const Vector v1 
)

Definition at line 25 of file DataStream.C.

References Vector::x, Vector::y, and Vector::z.

25  {
26  strm << v1.x << " " << v1.y << " " << v1.z;
27  return strm;
28 }
BigReal z
Definition: Vector.h:66
BigReal x
Definition: Vector.h:66
BigReal y
Definition: Vector.h:66
datastream& operator<< ( datastream strm,
const Tensor t1 
)

Definition at line 30 of file DataStream.C.

References Tensor::xx, Tensor::xy, Tensor::xz, Tensor::yx, Tensor::yy, Tensor::yz, Tensor::zx, Tensor::zy, and Tensor::zz.

30  {
31  strm << t1.xx << " " << t1.xy << " " << t1.xz << " "
32  << t1.yx << " " << t1.yy << " " << t1.yz << " "
33  << t1.zx << " " << t1.zy << " " << t1.zz;
34  return strm;
35 }
BigReal zy
Definition: Tensor.h:19
BigReal xz
Definition: Tensor.h:17
BigReal yz
Definition: Tensor.h:18
BigReal yx
Definition: Tensor.h:18
BigReal xx
Definition: Tensor.h:17
BigReal zz
Definition: Tensor.h:19
BigReal xy
Definition: Tensor.h:17
BigReal yy
Definition: Tensor.h:18
BigReal zx
Definition: Tensor.h:19

Variable Documentation

datastream dout

Definition at line 37 of file DataStream.C.