File: integrate2d.fee

package info (click to toggle)
feenox 1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,068 kB
  • sloc: ansic: 28,856; sh: 7,201; makefile: 556; python: 554; xml: 500
file content (6 lines) | stat: -rw-r--r-- 194 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
READ_MESH mesh2d.$1 DIMENSIONS 2 READ_FUNCTION f
INTEGRATE f RESULT I1
INTEGRATE f CELLS RESULT I2
INTEGRATE f(x,y)^2 RESULT I3
INTEGRATE f(x,y)^2 CELLS RESULT I4
PRINT %.7f I1 I2 I3 I4 SEP " "