Computational Science Based on HPC
thermopara.h
Go to the documentation of this file.
1
27#ifndef PHYSICS_THERMOPARA_H
28#define PHYSICS_THERMOPARA_H
29#include "thermoutils.h"
30
45extern long double
46_get_value_1D_mpi(double time_step,
47 double space_step,
48 long long x, unsigned long long t,
49 long long precision);
50
67 extern long double
68 _get_value_1D_openmp(double time_step,
69 double space_step,
70 long long x, unsigned long long t,
71 long long precision);
72
73
91 extern long double
92 _get_value_2D_mpi(double time_step,
93 double length, double space_step_x,
94 double width, double space_step_y,
95 long long x, long long y, unsigned long long t,
96 long long precision);
97
119 extern long double
120 _get_value_2D_openmp(double time_step,
121 double length, double space_step_x,
122 double width, double space_step_y,
123 long long x, long long y, unsigned long long t,
124 long long precision);
125
126
140extern int
141_simulate_heat_transfer_1D_MPI(double time_step, double time_limit,
142 double space_step,
143 long long precision);
144
160extern int
161_simulate_heat_transfer_1D_OPENMP(double time_step, double time_limit,
162 double space_step,
163 long long precision);
164
182 extern int
183 _simulate_heat_transfer_2D_MPI(double time_step, double time_limit,
184 double space_step_x,
185 double space_step_y,
186 long long precision);
187
206 extern int
207 _simulate_heat_transfer_2D_OPENMP(double time_step, double time_limit,
208 double space_step_x,
209 double space_step_y,
210 long long precision);
211
226extern double
227_execution_time_heat_transfer_1D_MPI(double time_step, double time_limit,
228 double space_step,
229 long long precision);
230
231
245extern double
246_execution_time_heat_transfer_1D_OPENMP(double time_step, double time_limit,
247 double space_step,
248 long long precision);
249
250
268extern double
269_execution_time_heat_transfer_2D_MPI(double time_step, double time_limit,
270 double space_step_x,
271 double space_step_y,
272 long long precision);
273
289extern double
290_execution_time_heat_transfer_2D_OPENMP(double time_step, double time_limit,
291 double space_step_x,
292 double space_step_y,
293 long long precision);
294
295
296#endif //PHYSICS_THERMOPARA_H
double _execution_time_heat_transfer_1D_MPI(double time_step, double time_limit, double space_step, long long precision)
This is a function that simulates the heat transfer in 1D object as wire, and return the execution ti...
double _execution_time_heat_transfer_1D_OPENMP(double time_step, double time_limit, double space_step, long long precision)
This is a function that simulates the heat transfer in 1D object as wire, and return the execution ti...
int _simulate_heat_transfer_1D_MPI(double time_step, double time_limit, double space_step, long long precision)
This is a function that simulates the heat transfer in 1D object as wire, and each core writes the re...
int _simulate_heat_transfer_2D_MPI(double time_step, double time_limit, double space_step_x, double space_step_y, long long precision)
This is a function that simulates the heat transfer in 2D object, and each core writes the result to ...
double _execution_time_heat_transfer_2D_OPENMP(double time_step, double time_limit, double space_step_x, double space_step_y, long long precision)
This is a function that simulates the heat transfer in 2D object, and return the execution time witho...
long double _get_value_1D_mpi(double time_step, double space_step, long long x, unsigned long long t, long long precision)
This is a function calculates the value of specific point in the space at specific time in 1D.
int _simulate_heat_transfer_2D_OPENMP(double time_step, double time_limit, double space_step_x, double space_step_y, long long precision)
This is a function that simulates the heat transfer in 2D object, and each core writes the result to ...
long double _get_value_1D_openmp(double time_step, double space_step, long long x, unsigned long long t, long long precision)
This is a function calculates the value of specific point in the space at specific time in 1D.
long double _get_value_2D_openmp(double time_step, double length, double space_step_x, double width, double space_step_y, long long x, long long y, unsigned long long t, long long precision)
This is a function calculates the value of specific point in the space at specific time in 2D.
long double _get_value_2D_mpi(double time_step, double length, double space_step_x, double width, double space_step_y, long long x, long long y, unsigned long long t, long long precision)
This is a function calculates the value of specific point in the space at specific time in 2D.
double _execution_time_heat_transfer_2D_MPI(double time_step, double time_limit, double space_step_x, double space_step_y, long long precision)
This is a function that simulates the heat transfer in 2D object, and return the execution time witho...
int _simulate_heat_transfer_1D_OPENMP(double time_step, double time_limit, double space_step, long long precision)
This is a function that simulates the heat transfer in 1D object as wire, and writes the result to a ...
This file contains the utility functions used by the heat transfer simulation in 1D and 2D to help in...