Ignore:
Timestamp:
Apr 23, 2021, 8:55:32 PM (5 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.7.0, stable
Children:
cd79d0
Parents:
5196ca
git-author:
Frederik Heber <frederik.heber@…> (03/28/21 20:38:30)
git-committer:
Frederik Heber <frederik.heber@…> (04/23/21 20:55:32)
Message:

FIX: Polyhedra of N=3 did not rescale to bondlength in 2nd comp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Fragmentation/Exporters/SphericalPointDistribution_getPoints.cpp

    r5196ca r0a1461  
    7676  Polygon_t polygon;
    7777  polygon.push_back( Vector(Bondlength,0.,0.));
    78   polygon.push_back( Vector(-Bondlength*0.5, SQRT_3*0.5,0.));
    79   polygon.push_back( Vector(-Bondlength*0.5, -SQRT_3*0.5,0.));
     78  polygon.push_back( Vector(-Bondlength*0.5, Bondlength*SQRT_3*0.5,0.));
     79  polygon.push_back( Vector(-Bondlength*0.5, -Bondlength*SQRT_3*0.5,0.));
    8080  ASSERT( polygon.size() == 3,
    8181      "SphericalPointDistribution::get<3>() - polygon has wrong size.");
Note: See TracChangeset for help on using the changeset viewer.