Update Boundary Conditions authored by Alain O' Miniussi's avatar Alain O' Miniussi
...@@ -90,9 +90,9 @@ They will be made available to the code through a [std::map](http://www.cplusplu ...@@ -90,9 +90,9 @@ They will be made available to the code through a [std::map](http://www.cplusplu
``` ```
void void
PetShopBC(GasDisk& gas, real dt) { PetShopBC(GasDisk& gas, real dt) {
using namespace std;
map<string, string> const& params = gas.physic().boundaries.params; std::map<std::string, std::string> const& params = gas.physic().boundaries.params;
real voltage = boost::lexical_cast<real>(attrs["voltage"]); real voltage = boost::lexical_cast<real>(attrs.at("voltage"));
string type = attrs["type"]; string type = attrs["type"];
... ...
} }
... ...
......