Skip to content

Commit

Permalink
Added derived unit bar.
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 authored and OpenModelica-Hudson committed Apr 12, 2016
1 parent a1c9bae commit 4759770
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Compiler/runtime/unitparser.cpp
Expand Up @@ -1127,6 +1127,8 @@ void UnitParser::initSIUnits() {
addDerived("power, radiant flux", "milliwatt", "mW", "J/s", Rational(0), Rational(1, 1000), Rational(0), true);
addDerived("power, radiant flux", "megawatt", "MA", "J/s", Rational(0), Rational(1000000), Rational(0), true);

addDerived("gauge pressure", "bar", "bar", "Pa", Rational(0), Rational(100000), Rational(0), true);

commit();
}

Expand Down

0 comments on commit 4759770

Please sign in to comment.