Re: [Libmesh-devel] getting a list of subdomains in a mesh

2013-01-24 Thread Roy Stogner
On Thu, 24 Jan 2013, Kirk, Benjamin (JSC-EG311) wrote: …I swear this method exists somewhere, doesn't it? I don't remember it and can't find it. What I would like to do is std::set<> foo = mesh.subdomain_ids() or something like that. I'd be a little scared of RVO not working in problems

Re: [Libmesh-devel] getting a list of subdomains in a mesh

2013-01-24 Thread Paul T. Bauman
On Thu, Jan 24, 2013 at 11:59 AM, Kirk, Benjamin (JSC-EG311) < benjamin.kir...@nasa.gov> wrote: > …I swear this method exists somewhere, doesn't it? > I thought it did too, but I'm not seeing it. -- Master Visual Studio,

[Libmesh-devel] getting a list of subdomains in a mesh

2013-01-24 Thread Kirk, Benjamin (JSC-EG311)
…I swear this method exists somewhere, doesn't it? What I would like to do is std::set<> foo = mesh.subdomain_ids() or something like that. It appears that we basically build this internally to MeshBase::n_subdomains () and return its size, but I'd like the actual set. Am I crazy (in this li