You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.1 KiB
C
31 lines
1.1 KiB
C
#include <string.h>
|
|
#include "geostat.h"
|
|
#include "pressure.h"
|
|
|
|
|
|
#ifndef _TOOLSFFTPSIM_H
|
|
#define _TOOLSFFTPSIM_H
|
|
|
|
/* Create december, the 16th 2002 */
|
|
|
|
/* List of functions: */
|
|
/* ------------------ */
|
|
/* FFTPSim, FFTPressure, build_pressure, build_velocity, clean_real2 */
|
|
|
|
/*Functions */
|
|
/*----------*/
|
|
|
|
void FFTPSim(struct vario_mod variogram,struct statistic_mod stat,struct grid_mod grid,int n[3],struct realization_mod *realin,struct pressure_mod gradient,struct realization_mod *realout,struct realization_mod *realout2,struct realization_mod *realout3,struct realization_mod *realout4,struct realization_mod *realout5);
|
|
|
|
void build_pressure(int n[3],struct grid_mod grid,struct pressure_mod gradient,double *realization,double *ireal,double *pressure,double *ipressure);
|
|
|
|
void build_velocity(int n[3],struct grid_mod grid,struct statistic_mod stat,struct pressure_mod gradient,double *realization,double *ireal,double *xvelocity,double *ixvelocity,int direction);
|
|
|
|
void normAxes(double *vec, double *normed);
|
|
void waveVectorCompute1D(int n,double *vec);
|
|
|
|
void mat_vec(double *C, double *x, double *b, int n);
|
|
|
|
|
|
#endif // define _TOOLSFFTPSIM_H
|