2023-02-05 07:34:23 +01:00
|
|
|
/*
|
|
|
|
* 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 __PARAMETER_H_
|
|
|
|
#define __PARAMETER_H_
|
|
|
|
|
|
|
|
typedef struct {
|
2023-11-21 05:27:11 +01:00
|
|
|
double xlength, ylength;
|
2023-02-05 07:34:23 +01:00
|
|
|
int imax, jmax;
|
|
|
|
int itermax;
|
|
|
|
double eps, omg, gamma;
|
|
|
|
} Parameter;
|
|
|
|
|
|
|
|
void initParameter(Parameter*);
|
|
|
|
void readParameter(Parameter*, const char*);
|
|
|
|
void printParameter(Parameter*);
|
|
|
|
#endif
|