Initial checkin

This commit is contained in:
Jan Eitzinger
2023-02-05 07:34:23 +01:00
parent b41d8eb7cc
commit 213e633a4d
269 changed files with 41070 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
/*
* Copyright (C) 2022 NHR@FAU, University Erlangen-Nuremberg.
* All rights reserved. This file is part of nusif-solver.
* Use of this source code is governed by a MIT style
* license that can be found in the LICENSE file.
*/
#ifndef __SOLVER_H_
#define __SOLVER_H_
#include "parameter.h"
typedef struct {
double dx, dy;
int imax, jmax;
double *p, *rhs;
double eps, omega;
int itermax;
} Solver;
void initSolver(Solver*, Parameter*, int problem);
void writeResult(Solver*);
int solve(Solver*);
#endif