#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <time.h>
#include <string.h>
#include "uth_intf.h"
#include "mmh_intf.h"
#include "aph_intf.h"
#include "uth_log.h"
#include "tmh_intf.h"
#include "sih_intf.h"
#include "pdh_intf.h"
#include "pdh_control_intf.h"
#include "../include/pdh_conv_diff.h"
#include "../include/pdh_conv_diff_problem.h"
Defines | |
#define | SMALL 1.0e-10 |
Functions | |
int | pdr_module_introduce (char *Problem_module_name) |
int | pdr_problem_name (int Problem_id, char *Problem_name) |
pdt_conv_diff_problem * | pdr_select_problem (int Problem_id) |
int | pdr_ctrl_i_params (int Problem_id, int Num) |
double | pdr_ctrl_d_params (int Problem_id, int Num) |
int | pdr_time_i_params (int Problem_id, int Num) |
double | pdr_time_d_params (int Problem_id, int Num) |
void | pdr_set_time_i_params (int Problem_id, int Num, int Value) |
void | pdr_set_time_d_params (int Problem_id, int Num, double Value) |
int | pdr_lins_i_params (int Problem_id, int Num) |
double | pdr_lins_d_params (int Problem_id, int Num) |
int | pdr_adapt_i_params (int Problem_id, int Num) |
double | pdr_adapt_d_params (int Problem_id, int Num) |
void | pdr_change_data (int Problem_id) |
double | pdr_error_test_exact (int Problem_id, FILE *Interactive_output) |
double | pdr_post_process (int Field_id, FILE *Interactive_input, FILE *Interactive_output) |
double | pdr_average_sol_el (int Field_id, int El) |
int | pdr_exact_sol (int Flag, double X, double Y, double Z, double Time, double *Exact, double *Exact_x, double *Exact_y, double *Exact_z, double *Lapl) |
#define SMALL 1.0e-10 |
double pdr_average_sol_el | ( | int | Problem_id, | |
int | El | |||
) |
-------------------------------------------------------- pdr_average_sol_el - to compute the average of solution over element ----------------------------------------------------------
double pdr_error_test_exact | ( | int | Problem_id, | |
FILE * | Interactive_output | |||
) |
int pdr_exact_sol | ( | int | Flag, | |
double | X, | |||
double | Y, | |||
double | Z, | |||
double | Time, | |||
double * | Exact, | |||
double * | Exact_x, | |||
double * | Exact_y, | |||
double * | Exact_z, | |||
double * | Lapl | |||
) |
double pdr_post_process | ( | int | Field_id, | |
FILE * | Interactive_input, | |||
FILE * | Interactive_output | |||
) |
pdt_conv_diff_problem* pdr_select_problem | ( | int | Problem_id | ) |
-------------------------------------------------------- pdr_select_problem - to select the proper problem ---------------------------------------------------------