~esys-p-dev/esys-particle/trunk

« back to all changes in this revision

Viewing changes to Model/FractalFriction.cpp

  • Committer: slatham
  • Date: 2005-01-15 05:09:37 UTC
  • Revision ID: svn-v4:1ddc92f8-1f06-0410-a909-b11019f1b28a:lsmtrunk:573
Moved OpValue dependencies in CLatticeMaster to ParserLmInitialiser.cpp classes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include "FractalFriction.h"
2
 
#include "console.h"
 
1
#include "Model/FractalFriction.h"
 
2
#include "Foundation/console.h"
3
3
#include "tml/message/packed_message_interface.h"
4
4
 
5
5
FractalFrictionIGP::FractalFrictionIGP(const FractalFrictionIGP& F)
14
14
  dy   = F.dy;
15
15
  nx   = F.nx;
16
16
  ny   = F.ny;
17
 
  mu   = std::auto_ptr<double>(new double[nx*ny]);
 
17
  mu   = boost::shared_ptr<double>(new double[nx*ny]);
18
18
  
19
19
  for (int i = 0; i < nx*ny; i++)
20
20
  {
34
34
  dy   = F.dy;
35
35
  nx   = F.nx;
36
36
  ny   = F.ny;
37
 
  mu   = std::auto_ptr<double>(new double[nx*ny]);
 
37
  mu   = boost::shared_ptr<double>(new double[nx*ny]);
38
38
  
39
39
  for (int i = 0; i < nx*ny; i++)
40
40
  {