initial upload

This commit is contained in:
2024-09-10 20:25:18 +08:00
parent b8de03ee4f
commit f1cc876972
377 changed files with 2721267 additions and 34 deletions

33
archive/grad2d/datafunc.h Normal file
View File

@@ -0,0 +1,33 @@
#ifndef _DATAFUNC_H
#define _DATAFUNC_H
#include <iostream>
#include <fstream>
#include <sstream>
#include <cmath>
#include <iomanip>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <list>
#include "fftw3.h"
#include "vector"
#define DATA "-t"
#define COLS "-c"
#define HORIZATION_X "-x"
#define HORIZATION_Y "-y"
#define VERTICAL "-z"
#define RANGE "-r"
#define INTERVAL "-i"
#define OUTPUT "-o"
#define POWER "-w"
#define BOLDRED "\033[1m\033[31m"
#define RESET "\033[0m"
#define pi (4.0*atan(1.0))
using namespace std;
typedef vector<double> _1dArray;
#endif