So I have a need to add variables to a system which exist in only part of the 
domain.  The natural way to implement it would seem to be using subdomain 
element flags which define what lives where.

Now, for the API...  

we currently have
System::add_variable(name, type)  

what do you think about 
System::add_variable(name, type, active_subdomain_bitmask) 

where the active subdomain bitmask is just that, and could be a default value 
to the method which indicates active everywhere?

Seems a little low tech, but preserves the API and should do the trick nicely(?)

-Ben

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to