← Back to team overview

dolfin team mailing list archive

Re: [HG] Fix bug in gmsh function in dolfin-config.

 

Still a bug?

elif state == 2:
    line == "$ENDNOD"
    state += 1

Did you forget the if?

elif state == 2:
    if line == "$ENDNOD":
        state += 1

/Anders


On Wed, Feb 15, 2006 at 11:11:35PM +0100, 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:   1692:ea1eb7d780ff703e580cad36867021892747fa83
> tag:         tip
> user:        "Garth N. Wells <g.n.wells@xxxxxxxxxx>"
> date:        Wed Feb 15 23:11:22 2006 +0100
> files:       src/utils/convert/dolfin-convert
> description:
> Fix bug in gmsh function in dolfin-config.
> 
> 
> changeset:   1691:c6cc5f39ea0d23ed6eb24a4ddd360e6a3d41db89
> user:        "Garth N. Wells <g.n.wells@xxxxxxxxxx>"
> date:        Wed Feb 15 22:44:21 2006 +0100
> files:       src/utils/convert/dolfin-convert
> description:
> -Add conversion from .gmsh (http://www.geuz.org/gmsh/) format to dolfin-convert.
> -Add functions in dolfin-convert for writing DOLFIN mesh XML headers, etc, which are common to all mesh conversions.
> 
> This was my first foray in Python. Is it possible to overload functions?
> 
> def write_cells(n0, n1, n2, n3):
>     .
> 
> def write_cells(n0, n1, n2):
>     .
>     
> 
> Garth
> 
> 
> changeset:   1690:0dc4c67e201b24d136b068587fe3791d3a504636
> user:        "Johan Jansson <johanjan@xxxxxxxxxxxxxxxx>"
> date:        Wed Feb 15 15:19:03 2006 +0100
> files:       src/kernel/io/XMLFile.cpp src/kernel/io/dolfin/XMLFile.h src/test/main.cpp
> description:
> io:
> 
> Implemented and added test for Function output.
> 
> 
> -------------------------------------------------------
> For more details, visit http://www.fenics.org/hg/dolfin
> 
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
> 

-- 
Anders Logg
Research Assistant Professor
Toyota Technological Institute at Chicago
http://www.tti-c.org/logg/



References