... | ... | @@ -92,7 +92,7 @@ They will be made available to the code through a [std::map](http://www.cplusplu |
|
|
PetShopBC(Disk& gas, real dt) {
|
|
|
|
|
|
std::map<std::string, std::string> const& params = gas.physic().boundaries.params;
|
|
|
real voltage = boost::lexical_cast<real>(attrs.at("voltage"));
|
|
|
real voltage = boost::lexical_cast<real>(params.at("voltage"));
|
|
|
string type = attrs["type"];
|
|
|
...
|
|
|
}
|
... | ... | |