Wow....how ??? of me. I assumed I'd copied the file into the directory.
Thanks Timo.

So, now I know it's being read but the new problem is this:

==
An error occurred in line <136> of file
</Users/tedkord/deal.II/deal.II/source/grid/grid_in.cc> in function
    void dealii::GridIn<dim, spacedim>::read_ucd(std::istream&) [with int
dim = 3, int spacedim = 3, std::istream = std::basic_istream<char>]
The violated condition was:
    false
The name and call sequence of the exception was:
    ExcInvalidVertexIndex(cell, cells.back().vertices[i])
Additional Information:
Trying to access invalid vertex index 0 while creating cell 9879
====

These are the last three lines of the ucd file:
9877 0 hex 11176 11190 11189 11455 11456 11470 11469 9878
9878 0 hex 11177 11191 11190 11456 11457 11471 11470 9879
9879 0 hex 11178 11192 11191 11457 11458 11472 11471 9880
9880 0 hex 11179 11193 11192 11458 11459 11473 11472 0

I'd attach the whole file but it's greater than 40K and therefore keeps
getting held for approval.

Many thanks

Ted




On 5 September 2010 11:39, Timo Heister <[email protected]>wrote:

> Hey,
>
> > The violated condition was:
> >     in
> > The name and call sequence of the exception was:
> >     ExcIO()
>
> That error means that the stream input_file is not valid. Are you sure
> the file you are trying to read is in the correct directory, so that
> your program can find it?
> --
> Timo Heister
> http://num.math.uni-goettingen.de/~heister
>
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to