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 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.

00030                                                            {
00031        strm << t1.xx << " " << t1.xy << " " << t1.xz << " "
00032             << t1.yx << " " << t1.yy << " " << t1.yz << " "
00033             << t1.zx << " " << t1.zy << " " << t1.zz;
00034        return strm;
00035 }

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

Definition at line 25 of file DataStream.C.

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

00025                                                            {
00026        strm << v1.x << " " << v1.y << " " << v1.z;
00027        return strm;
00028 }


Variable Documentation

Definition at line 37 of file DataStream.C.


Generated on 19 Sep 2019 for NAMD by  doxygen 1.6.1