--- trunk/src/lattice/CubicLattice.cpp 2005/04/15 22:04:00 507 +++ trunk/src/lattice/CubicLattice.cpp 2008/09/10 19:51:45 1290 @@ -38,7 +38,8 @@ * University of Notre Dame has been advised of the possibility of * such damages. */ - + +#include #include "lattice/CubicLattice.hpp" namespace oopse { @@ -52,14 +53,14 @@ namespace oopse { } - std::vector CubicLattice::getLatticeConstant(){ - std::vector lc; + std::vector CubicLattice::getLatticeConstant(){ + std::vector lc; lc.push_back(cellLen.x()); return lc; } - void CubicLattice::setLatticeConstant(const std::vector& lc){ + void CubicLattice::setLatticeConstant(const std::vector& lc){ if(lc.size() < 1){ std::cerr << "CubicLattice::setLatticeConstant Error: the size of lattice constant vector is 0" << std::endl;