ParMooN
 All Classes Functions Variables Friends Pages
discont.h
1 #ifndef _DISCONT
2 #define _DISCONT
3 
4 #define ONE_THIRD 0.333333333333333333333333333333333333333333333333333333333333333333333
5 #define TWO_THIRD 0.666666666666666666666666666666666666666666666666666666666666666666666
6 #define SQRT_12 3.464101615137754587054892683011744733885610507620761256111613958903866
7 
8 #include "fepc_easy.h"
9 
10 typedef struct {
11  fepc_real_t y_0;
12 
13  fepc_real_t slope;
14 
16 
18 
19 
20 typedef struct {
21  int count;
22 
23  linear_function_p * functions;
25 
27 
28 typedef struct {
29  int stepcount;
30 
31  interval_p * intervals;
32 
33  linear_function_set_p * function_sets;
34 
36 
38 
39 
41 linear_function_new(fepc_real_t x_0, fepc_real_t slope);
42 
44 linear_function_new_points(fepc_real_t y_0, fepc_real_t y_1, fepc_real_t x_0, fepc_real_t x_1);
45 
46 void
47 discont_function_del(discont_function_p function);
48 
49 void
50 linear_function_set_del(linear_function_set_p function_set);
51 
53 linear_function_set_new(int count);
54 
56 discont_function_new(int stepcount);
57 
58 void
59 convert_func(func_p1_p function, discont_function_p result, fepc_real_t stepping, int* count);
60 
61 void
62 discont_function_print(discont_function_p function);
63 
64 void
65 linear_function_set_print(linear_function_set_p function_set);
66 
67 fepc_real_t
68 integrate_coeff_discont(discont_function_p function, int v, int position, int p, int level, fepc_real_t stepping);
69 
70 void
71 add_folgenentries_discont(func_p1_p function, discont_function_p discont_function, fepc_real_t stepping, int* count);
72 
73 void
74 discont_function_setup_points(discont_function_p function, int step, fepc_real_t start, fepc_real_t end, fepc_real_t * y1, fepc_real_t * y2, fepc_real_t stepping);
75 
76 
77 #endif
Definition: discont.h:10
Definition: fepc_easy.h:9
Definition: discont.h:28
Definition: funktion.h:80
Definition: discont.h:20