Opened 15 years ago

Closed 9 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: lochel, wbraun

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 Changed 9 years ago by perost

  • Cc lochel wbraun added; donida removed
  • Component changed from Instantiation to Backend
  • Resolution set to fixed
  • Status changed from new to closed

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.