Hi Wolfgang,

> Ted,
>
> > I have three material properties that I need to set. I've been able to
> set
> > one of them as the cell's material id takes just the one.
> > How do I set the other two?
>
> Most file formats actually only allow a single number to be attached to
> each
> cell, typically called "material id" or similar. So that's it. But if the
> values you have for your material are small enough, you could encode all
> three
> numbers into into one by using individual bits of the material id for the
> values of your three parameters. What values/value ranges do you expect for
> them?
>

That's an excellent idea, which is probably more efficient too, but in the
end, I used a std::map to map a triple to a triple.


>
> > Also, because the Triangulation was generated explicitly, the output is
> > blocky/pixelated/voxelated. Is there a way to smoothen the surfaces?
>
> Not inside deal.II. You give deal.II a blocky mesh, you get a blocky mesh
> :-)
>

Yeah, my error. I created the triangulation with not enough voxels,  so, I
used more:). All works perfectly now.

Many thanks,

Theodore
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to