Update Boundary Conditions authored by Elena Lega's avatar Elena Lega
...@@ -93,7 +93,7 @@ They will be made available to the code through a [std::map](http://www.cplusplu ...@@ -93,7 +93,7 @@ They will be made available to the code through a [std::map](http://www.cplusplu
std::map<std::string, std::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>(params.at("voltage")); real voltage = boost::lexical_cast<real>(params.at("voltage"));
string type = attrs["type"]; std::string type = params.at("type");
... ...
} }
``` ```
... ...
......