39 lines
1.6 KiB
C++
39 lines
1.6 KiB
C++
// pch.h: 这是预编译标头文件。
|
|
// 下方列出的文件仅编译一次,提高了将来生成的生成性能。
|
|
// 这还将影响 IntelliSense 性能,包括代码完成和许多代码浏览功能。
|
|
// 但是,如果此处列出的文件中的任何一个在生成之间有更新,它们全部都将被重新编译。
|
|
// 请勿在此处添加要频繁更新的文件,这将使得性能优势无效。
|
|
|
|
#ifndef PCH_H
|
|
#define PCH_H
|
|
|
|
// 添加要在此处预编译的标头
|
|
#include "framework.h"
|
|
#include "stdio.h"
|
|
#include "malloc.h"
|
|
#include "stdlib.h"
|
|
#include <sys/stat.h>
|
|
#include <sys/types.h>
|
|
#include <complex>
|
|
|
|
extern "C" _declspec(dllexport) int solveRealLinearEqu(int* Roffsets, int* Cindices,
|
|
double* A_real, double* b_real, double* x_real,
|
|
int NbrDof,int Nzero, double* para);
|
|
|
|
extern "C" _declspec(dllexport) int solveRealLinearEqu_COO(int* A_i, int* A_j,
|
|
double* A_real, double* b_real, double* x_real,
|
|
int NbrDof, double* para);
|
|
|
|
extern "C" int solveComplexLinearEqu(int* Roffsets, int* Cindices,
|
|
std::complex<double>* A_complex, std::complex<double>* b_complex, std::complex<double>* x_complex,
|
|
int NbrDof, int Nzero, double* para);
|
|
|
|
extern "C" _declspec(dllexport) int solveComplexLinearEqu_COO(int* A_i, int* A_j,
|
|
double* A_real, double* A_imag, double* b_real, double* b_imag, double* x_real, double* x_imag,
|
|
int NbrDof, double* para);
|
|
|
|
extern "C" _declspec(dllexport) int MumpsSolver_COO(int* A_i, int* A_j,
|
|
double* A_real, double* A_imag, double* b_real, double* b_imag, double* x_real, double* x_imag,
|
|
int NbrDof, int NNZ);
|
|
#endif //PCH_H
|