All,

In some of my development, I've run across a case where I'd like to only
access variables from FEMContext that do not change the private data (e.g.
interior_value). Thus, I would like to pass a const reference to a
FEMContext object and get some safety. The attached makes these accessor
methods const so I can work with const FEMContext& objects. Builds against
r5024 and make run_examples ran fine. My described use case also compiles
with the patched version of the library.

I'd be grateful if this made it into the library. Please let me know if
there are any problems.

Best,

Paul

Attachment: fem_context_const.patch
Description: Binary data

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to