From: David F. <fue...@gm...> - 2008-12-10 02:57:28
|
thanks ben, in exodusII_IO::read the element subdomain_id gets set to the block id elem->subdomain_id() = subdomain_id; using cubit you can also set two groups of same types of elements with different block ID. Not really a problem, but does MeshBase::n_subdomains() affect the mesh partition later on or anything? Would it cause any problems if the corresponding variables of ExodusII::get_num_elem_blk() & MeshBase::n_subdomains() were set equal? On Tue, 9 Dec 2008, Benjamin Kirk wrote: > >> Working w/ the latest tag libMesh-0.6.3 >> >> Shouldn't >> >> ExodusII::get_num_elem_blk() >> >> & >> >> MeshBase::n_subdomains() >> >> return the same value? >> or do they represent different things? > > Exodus blocks are used solely to group elements of like type, not like > materials (which is how I view the libMesh subdomain_id tag). > > So an Exodus file with 1 element type will have 1 element block - likewise a > 3D mesh with hexes, prisms, tets, and pyramids will have four blocks. > > -Ben > > |