Changes
Page history
Update Boundary Conditions
authored
May 19, 2020
by
Elena Lega
Show whitespace changes
Inline
Side-by-side
Developer's-corner/Boundary-Conditions.md
View page @
e9183aac
...
@@ -92,7 +92,7 @@ They will be made available to the code through a [std::map](http://www.cplusplu
...
@@ -92,7 +92,7 @@ They will be made available to the code through a [std::map](http://www.cplusplu
PetShopBC(Disk& gas, real dt) {
PetShopBC(Disk& gas, real dt) {
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>(
attr
s.at("voltage"));
real voltage = boost::lexical_cast<real>(
param
s.at("voltage"));
string type = attrs["type"];
string type = attrs["type"];
...
...
}
}
...
...
...
...