Commit 693f1d67 by Francois Gygi

rel1_45_1


git-svn-id: http://qboxcode.org/svn/qb/trunk@661 cba15fb0-1239-40c8-b417-11db7ca47a34
parent ef97aa3a
......@@ -15,7 +15,7 @@
// SDCellStepper.C
//
////////////////////////////////////////////////////////////////////////////////
// $Id: SDCellStepper.C,v 1.10 2008-09-15 14:58:08 fgygi Exp $
// $Id: SDCellStepper.C,v 1.11 2008-09-26 21:05:18 fgygi Exp $
#include "SDCellStepper.h"
using namespace std;
......@@ -42,7 +42,10 @@ void SDCellStepper::compute_new_cell(const valarray<double>& sigma)
// Compute cell correction dcell_ij from the stress tensor
// dcell = - omega * sigma * A
assert(sigma.size()==6);
cell.smatmult3x3(&sigma[0],cell.amat(),&dcell[0]);
// next line: local copy of sigma to circumvent compiler error
valarray<double> sigma_loc(sigma);
cell.smatmult3x3(&sigma_loc[0],cell.amat(),&dcell[0]);
// cell.smatmult3x3(&sigma[0],cell.amat(),&dcell[0]);
dcell *= -cell.volume();
string cell_lock = s_.ctrl.cell_lock;
......
TODO: change all char* name() functions to const char* name ()
(causes warning at compile time on tribe).
--------------------------------------------------------------------------------
rel1_45_1: fixed SDCellStepper.C: make local copy of sigma to avoid
PGI compiler error on franklin: "must be lvalue or...".
--------------------------------------------------------------------------------
rel1_45_0
Added strain command for deformation of the cell.
UnitCell.C: removed member compute_deda (moved calc to SDCellStepper). Added
......
......@@ -15,10 +15,10 @@
// release.C
//
////////////////////////////////////////////////////////////////////////////////
// $Id: release.C,v 1.65 2008-09-15 15:00:30 fgygi Exp $
// $Id: release.C,v 1.66 2008-09-26 21:05:18 fgygi Exp $
#include "release.h"
std::string release(void)
{
return std::string("1.45.0");
return std::string("1.45.1");
}
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