1 // GetDP - Copyright (C) 1997-2021 P. Dular and C. Geuzaine, University of Liege
2 //
3 // See the LICENSE.txt file for license information. Please report all
4 // issues on https://gitlab.onelab.info/getdp/getdp/issues.
5 
6 #ifndef POS_FORMAT_H
7 #define POS_FORMAT_H
8 
9 #include "ProData.h"
10 #include "ListUtils.h"
11 
12 void  Format_PostFormat(struct PostSubOperation * PSO_P) ;
13 
14 void  Format_PostHeader(struct PostSubOperation * PSO_P, int NbTimeStep,
15                         int Order, char *Name1, char *Name2) ;
16 
17 void  Format_PostFooter(struct PostSubOperation * PSO_P, int Store,
18                         bool SendToServer = true) ;
19 
20 void  Format_PostElement(struct PostSubOperation * PSO_P, int Contour, int Store,
21 			 double Time, int TimeStep, int NbTimeStep,
22 			 int NbrHarmonics, int HarmonicToTime,
23 			 double *Dummy, struct PostElement *PE);
24 
25 void  Format_PostValue(struct PostQuantity  *PQ_P,
26                        struct PostSubOperation *PSO_P,
27                        int Format, char * Comma, int Group_FunctionType,
28 		       int iTime, double Time, int NbrTimeStep,
29                        int iRegion, int numRegion, int NbrRegion,
30 		       int NbrHarmonics, int HarmonicToTime, int FourierTransform,
31                        int Flag_NoNewLine,
32 		       struct Value * Value) ;
33 
34 void Pos_FourierTransform(int NbrTimeStep, int NbrRegion,
35                           double *Times, struct Value *TmpValues, int Size,
36                           int TypeOutput, int Nb_Freq_Select_0,
37                           int *NbrFreq, double **Frequencies, struct Value **OutValues);
38 
39 #endif
40