← Back to team overview

dolfin team mailing list archive

Re: [HG] Small fix for Intel Compiler.

 

It should be

  return std::abs(n.dot(v0p)) < DOLFIN_EPS;

The point p is in the plane if the vector v0p from one of the vertices is
orthogonal to the normal n.

Strange that my compiler did not complain that v0p was unused, which I
guess is what the Intel compiler complained about?

/Anders
        

On Thu, Oct 26, 2006 at 08:10:15AM +0200, DOLFIN wrote:
> One or more new changesets pushed to the primary DOLFIN repository.
> A short summary of the last three changesets is included below.
> 
> changeset:   2357:cfba7ed631668f68e4a471b264e59534e081a6d9
> tag:         tip
> user:        "Garth N. Wells <g.n.wells@xxxxxxxxxx>"
> date:        Thu Oct 26 08:09:56 2006 +0200
> files:       src/kernel/fem/FEM.cpp
> description:
> Small fix for Intel Compiler.
> 
> Anders: Can you check that this was not a serious bug?
> 
> HG: changed src/kernel/fem/FEM.cpp
> 
> 
> changeset:   2356:10f6138ed7fad04c417e64e919b3cbf04f0b8d03
> user:        "Anders Logg <logg@xxxxxxxxx>"
> date:        Wed Oct 25 23:55:54 2006 +0200
> files:       src/test/mesh/test.py
> description:
> Remove debugging in unit test
> 
> 
> changeset:   2355:8fb8e0f4f97f19653f622e4eebc277e2f02644ed
> user:        "Anders Logg <logg@xxxxxxxxx>"
> date:        Wed Oct 25 23:44:51 2006 +0200
> files:       doc/manual/chapters/mesh.tex doc/manual/dolfin-user-manual.pdf doc/manual/fenicsmanual.cls src/kernel/mesh/dolfin/MeshFunction.h
> description:
> Write about the new mesh library in the user manual.
> 
> 
> -------------------------------------------------------
> For more details, visit http://www.fenics.org/hg/dolfin
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev


References