1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
/*
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
* Copyright (C) 2006 - INRIA - Jean-Baptiste Silvy
*
* This file must be used under the terms of the CeCILL.
* This source file is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at
* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
*
*/
/*------------------------------------------------------------------------*/
/* file: Fec.h */
/* desc : Functions used to draw fec objects */
/*------------------------------------------------------------------------*/
#ifndef _FEC_H_
#define _FEC_H_
#include "BOOL.h"
#include "machine.h"
/**
* Iso contour with grey level or colors
* for a function defined by finite elements
* (f is linear on triangles)
* we give two versions of the function :
* - a quick version wich only fill triangles according to the average
* value of f on a triangle (no more such version now ?)
* - and a slow version but more sexy which use the fact that f is linear
* on each triangle.
* Nodes (x[no],y[no])
* Triangles (Matrix: [ numero, no1,no2,no3,iflag;...]
* func[no] : Function value on Nodes.
* Nnode : number of nodes
* Ntr : number of triangles
* strflag,legend,brect,aint : see plot2d
* zminmax : to set (optionaly) the min and max level
* colminmax : to set (optionaly) the first and last color to use
*
* modified by Bruno Pincon 01/02/2001 for gain in speed and added
* possibilities to set zmin, zmax by the user and also to set the
* first and last color of the colormap (Bruno.Pincon@iecn.u-nancy.fr)
*/
int C2F(fec)(double *x, double *y, double *triangles, double *func, int *Nnode, int *Ntr, int *Nvertex,
char *strflag, char *legend, double *brect, int *aaint, double *zminmax,
int *colminmax, int *colout, BOOL with_mesh, BOOL flagNax, int lstr1, int lstr2);
#endif /* _FEC_H_ */
|