Changes
Page history
Update Boundary Conditions
authored
Mar 14, 2019
by
Alain O' Miniussi
Show whitespace changes
Inline
Side-by-side
Developer's-corner/Boundary-Conditions.md
View page @
9ccb04cd
...
...
@@ -41,7 +41,7 @@ One way of implementing such condition is to define a new function:
using namespace fargOCA; // if necessary
void
SomeGreatBC(
Gas
Disk& gas, real dt) {
SomeGreatBC(Disk& gas, real dt) {
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
```
void
PetShopBC(
Gas
Disk& gas, real dt) {
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"));
...
...
...
...