Computational Science Based on HPC
thermoutils.h
Go to the documentation of this file.
1
7#ifndef PHYSICS_THERMOUTILS_H
8#define PHYSICS_THERMOUTILS_H
9#define ll long long
10#include <stdio.h>
11
20extern unsigned ll
21_cal_num_time(double time_step, double time_limit);
22
31extern ll
32_cal_num_space(double length, double space_step);
33
34
35#endif //PHYSICS_THERMOUTILS_H
ll _cal_num_space(double length, double space_step)
This is a function calculates the number of steps we will move in the dimentions untils we reach the ...
unsigned ll _cal_num_time(double time_step, double time_limit)
This is a function calculates the number of steps in the time untils we reach the time limit given th...