Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The duplication of the dumpEquation method into dumpResidual equation…
… method was necessary to prevent errors caused by the usage of the DAELow.equationToResidualForm call. The problem was that equations having non-scalar right hand side where not correctly translated into residuals. To make an example, the residual of the equation: x = y - z where not correctly calculated, thus obtaining x - y - z (instead of x - (y -z)). More investigation is necessary to understand if the DAELow.equationToResidualForm method makes the hypothesis of having scalar right hand side equations or not (comments of the method are generic). git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@4054 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
- Loading branch information
Filippo Donida
committed
May 21, 2009
1 parent
e493223
commit a5467e7
Showing
1 changed file
with
209 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters