Commit 9e0adabf by Francois Gygi

removed blanks


git-svn-id: http://qboxcode.org/svn/qb/trunk@658 cba15fb0-1239-40c8-b417-11db7ca47a34
parent 5ad1afa7
......@@ -15,7 +15,7 @@
// UnitCell.C
//
////////////////////////////////////////////////////////////////////////////////
// $Id: UnitCell.C,v 1.18 2008-09-15 14:56:48 fgygi Exp $
// $Id: UnitCell.C,v 1.19 2008-09-15 14:59:58 fgygi Exp $
#include "UnitCell.h"
#include <iostream>
......@@ -298,11 +298,11 @@ void UnitCell::vecmult3x3(const double* x, const double* y, double *z) const
void UnitCell::vecsmult3x3(const double* xs, const double* y, double *z) const
{
// multiply a vector by a symmetric 3x3 matrix
// | z0 | | xs0 xs3 xs5 | | y0 |
// | z1 | = | xs3 xs1 xs4 | * | y1 |
// | z2 | | xs5 xs4 xs2 | | y2 |
z[0] = xs[0]*y[0]+xs[3]*y[1]+xs[5]*y[2];
z[1] = xs[3]*y[0]+xs[1]*y[1]+xs[4]*y[2];
z[2] = xs[5]*y[0]+xs[4]*y[1]+xs[2]*y[2];
......
......@@ -15,7 +15,7 @@
// UnitCell.h
//
////////////////////////////////////////////////////////////////////////////////
// $Id: UnitCell.h,v 1.9 2008-09-15 14:56:48 fgygi Exp $
// $Id: UnitCell.h,v 1.10 2008-09-15 14:59:58 fgygi Exp $
#ifndef UNITCELL_H
#define UNITCELL_H
......@@ -66,7 +66,7 @@ class UnitCell
// 3x3 matrix vector multiply Z = X Y where X is a 3x3 matrix, Y,Z 3-vectors
void vecmult3x3(const double* x, const double* y, double *z) const;
// 3x3 sym matrix vector multiply Z = X Y where X is a sym 3x3 matrix,
// 3x3 sym matrix vector multiply Z = X Y where X is a sym 3x3 matrix,
// Y,Z 3-vectors
void vecsmult3x3(const double* x, const double* y, double *z) const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment