Changeset 5dba7a for molecuilder/src/builder.cpp
- Timestamp:
- Mar 12, 2010, 1:16:01 PM (16 years ago)
- Children:
- d639c7
- Parents:
- 1e0785
- File:
-
- 1 edited
-
molecuilder/src/builder.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/builder.cpp
r1e0785 r5dba7a 1593 1593 } 1594 1594 LCList = new LinkedCell(Boundary, 2.*radius); 1595 element *elemental = periode->FindElement((const int) atoi(argv[argptr]));1595 const element *elemental = periode->FindElement((atomicNumber_t) atoi(argv[argptr])); 1596 1596 FindNonConvexBorder(Boundary, TesselStruct, LCList, radius, NULL); 1597 1597 int ranges[NDIM] = {1,1,1}; … … 2070 2070 int faktor = atoi(argv[argptr++]); 2071 2071 int count; 2072 element ** Elements;2072 const element ** Elements; 2073 2073 Vector ** vectors; 2074 2074 if (faktor < 1) { 2075 eLog() << Verbose(1) << "Repetition factor mus be greater than 1!" << endl;2075 eLog() << Verbose(1) << "Repetition factor must be greater than 1!" << endl; 2076 2076 faktor = 1; 2077 2077 } … … 2079 2079 if (mol->AtomCount != 0) { // if there is more than none 2080 2080 count = mol->AtomCount; // is changed becausing of adding, thus has to be stored away beforehand 2081 Elements = new element *[count];2081 Elements = new const element *[count]; 2082 2082 vectors = new Vector *[count]; 2083 2083 j = 0;
Note:
See TracChangeset
for help on using the changeset viewer.
