DOLFIN User Manual - FEniCS Project
DOLFIN User Manual - FEniCS Project
DOLFIN User Manual - FEniCS Project
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Chapter 11The parameter system◮ Developer’s note: Since this chapter was written, the <strong>DOLFIN</strong> parametersystem has been completely redesigned and now supports localization ofparameters to objects or hierarchies of objects. Chapter needs to be updated.<strong>DOLFIN</strong> keeps a global database of parameters that control the behavior ofthe various components of <strong>DOLFIN</strong>. Parameters are controlled using a uniformtype-independent interface that allows retrieving the values of existingparameters, modifying existing parameters and adding new parameters tothe database.11.1 Retrieving the value of a parameterTo retrieve the value of a parameter, use the function get() available in thedolfin namespace:Parameter get(std::string key);This function accepts as argument a string key and returns the value of theparameter matching the given key. An error message is printed through the73