Update Boundary Conditions authored by Alain O' Miniussi's avatar Alain O' Miniussi
...@@ -41,7 +41,7 @@ One way of implementing such condition is to define a new function: ...@@ -41,7 +41,7 @@ One way of implementing such condition is to define a new function:
using namespace fargOCA; // if necessary using namespace fargOCA; // if necessary
void void
SomeGreatBC(GasDisk& gas, real dt) { SomeGreatBC(Disk& gas, real dt) {
do whatever need to be done to the gas object. do whatever need to be done to the gas object.
} }
``` ```
...@@ -89,7 +89,7 @@ They will be made available to the code through a [std::map](http://www.cplusplu ...@@ -89,7 +89,7 @@ They will be made available to the code through a [std::map](http://www.cplusplu
``` ```
void void
PetShopBC(GasDisk& 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>(attrs.at("voltage")); real voltage = boost::lexical_cast<real>(attrs.at("voltage"));
... ...
......