Subversion Repositories gelsvn

Rev

Rev 635 | Rev 637 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 635 Rev 636
Line 60... Line 60...
60
 
60
 
61
    
61
    
62
    inline Vec3d laplacian(const Manifold& m, VertexID v)
62
    inline Vec3d laplacian(const Manifold& m, VertexID v)
63
    {
63
    {
64
        Vec3d p(0);
64
        Vec3d p(0);
65
        int n = circulate_vertex_ccw(m, v, [&](VertexID v){ p += m.pos(v); });
65
        int n = circulate_vertex_ccw(m, v, (std::function<void(VertexID)>)[&](VertexID v){ p += m.pos(v); });
66
        return p / n - m.pos(v);
66
        return p / n - m.pos(v);
67
    }
67
    }
68
    
68
    
69
    
69
    
70
    int CORES = 8;
70
    int CORES = 8;