In serial every processor has a copy of the mesh, right? Is it possible to have such a copy only on one processor and not on the others - this would already free some space.
> You'd either need to borrow a large memory machine for > long enough to read in the Tetgen file and rewrite it as > Nemesis, or you'd need to modify the TetGenIO to support > reading a pre-parallelized ParallelMesh. I had a look at the class Nemesis_IO. There seem to be some differences between the online documentation and the class provided in version 0.7.1. The documentation has the following constructor: Nemesis_IO (MeshBase &mesh) (see http://libmesh.sourceforge.net/doxygen/classlibMesh_1_1Nemesis__IO.php) but in the file libmesh/src/mesh/nemesis_io.C one can find the following constructor: Nemesis_IO::Nemesis_IO (ParallelMesh& mesh) Thus, I tried the following: Mesh mesh; TetGenIO TETGEN(mesh); { // read TETGEN file OStringStream inmesh; inmesh << mesh_dir << ReadMesh[actual_pulse]<<".ele"; TETGEN.read(inmesh.str().c_str()); } mesh.prepare_for_use(); ParallelMesh parallelmesh(mesh); Nemesis_IO NEM (parallelmesh); NEM.write("out/nemmesh"); The function 'write' is listed in the documentation. Nevertheless, I get the following error when compiling: trySplitNemesis.C:109:6: error: class libMesh::Nemesis_IO has no member named write Could you give me some lines of example code how you would do it? Thank you, Robert ------------------------------------------------------------------------------ Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World™ now supports Android™ Apps for the BlackBerry® PlayBook™. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
