Opened 16 years ago

Closed 10 years ago

#1105 closed defect (fixed)

The DAELow.equationToResidual method is not working properly since assumes the right part of the equation to be scalar.

Reported by: donida Owned by: donida
Priority: critical Milestone:
Component: Backend Version:
Keywords: Cc: Lennart Ochel, Willi Braun

Description

The DAELow.equationToResidualForm method doesn't work properly if the right side of the equation is not a scalar.

Consider for example the conversion the following equation:
x = y - z.
the method returns x - y - z (instead of x - (y - z)).

If the scope of the method is to consider only the subset of equations with scalar right side, this should be written some where in the method comments.

Change History (1)

comment:1 by Per Östlund, 10 years ago

Cc: Lennart Ochel Willi Braun added; donida removed
Component: InstantiationBackend
Resolution: fixed
Status: newclosed

equationToResidualForm (now in BackendEquation) is not used anywhere in the compiler, so I'm closing this ticket. Maybe the function should be removed completely?

Note: See TracTickets for help on using tickets.