26#ifndef PHYSICS_THERMOSERIAL_H
27#define PHYSICS_THERMOSERIAL_H
48 long long x,
unsigned long long t,
70 double length,
double space_step_x,
double width,
double space_step_y,
71 long long x,
long long y,
unsigned long long t,
113 long long precision);
130 long long precision);
149 long long precision);
char * _simulate_heat_transfer_1D_serial(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 write the result to a f...
double _execution_time_heat_transfer_2D_serial(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...
double _execution_time_heat_transfer_1D_serial(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...
char * _simulate_heat_transfer_2D_serial(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 write the result to a file.
long double _get_value_2D(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_1D(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.
This file contains the utility functions used by the heat transfer simulation in 1D and 2D to help in...