~ubuntu-branches/debian/sid/lammps/sid

« back to all changes in this revision

Viewing changes to lib/atc/MeshReader.cpp

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2015-04-29 23:44:49 UTC
  • mfrom: (5.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20150429234449-mbhy9utku6hp6oq8
Tags: 0~20150313.gitfa668e1-1
Upload into unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    : meshfile_(filename),
25
25
      periodicity_(periodicity),
26
26
      nNodes_(0),
27
 
      nElements_(0),
28
 
      coordTol_(tol)
 
27
      nElements_(0)
29
28
  {
30
29
    conn_ = new Array2D<int>();
31
30
    nodeCoords_ = new DENS_MAT;
45
44
  /** destructor */
46
45
  MeshReader::~MeshReader()
47
46
  {
 
47
    if (conn_) delete conn_;
 
48
    if (nodeCoords_) delete nodeCoords_;
 
49
    if (nodeSets_) delete nodeSets_;
48
50
  }
49
51
 
50
52
  /** creates handle to new mesh object */