#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <assert.h>
#include <string.h>
#include "pdh_intf.h"
#include "pdh_control_intf.h"
#include "mmh_intf.h"
#include "aph_intf.h"
#include "uth_intf.h"
#include "uth_system.h"
#include "lin_alg_intf.h"
#include "../include/pdh_ns_mixed.h"
#include "../../pdd_ns_mixed/include/pdh_ns_mixed_problem.h"
Defines | |
#define | MAX_GAUSS 30 |
Functions | |
int | pdr_ns_mixed_adapt (char *Work_dir, FILE *Interactive_input, FILE *Interactive_output) |
double | pdr_ns_mixed_ZZ_error (char *Work_dir, FILE *Interactive_input, FILE *Interactive_output) |
double | pdr_ns_mixed_err_indi_ZZ (int Problem_id_fake, int El) |
double | pdr_ns_mixed_err_indi_explicit (int Problem_id_fake, int El) |
Variables | |
utt_patches * | pdv_patches |
#define MAX_GAUSS 30 |
int pdr_ns_mixed_adapt | ( | char * | Work_dir, | |
FILE * | Interactive_input, | |||
FILE * | Interactive_output | |||
) |
-------------------------------------------------------- pdr_ns_mixed_adapt - to enforce adaptation strategy for a given problem ---------------------------------------------------------
double pdr_ns_mixed_err_indi_explicit | ( | int | Problem_id, | |
int | El | |||
) |
-------------------------------------------------------- pdr_ns_mixed_err_indi_explicit - to return error indicator for an element, based on ZZ first derivative recovery ----------------------------------------------------------
!!!!! NO REYNOLDS ?????????????
err = Error indicator for one element.
(integration over element volume begins)
(loop (and integration) over element faces) (TODO: preparation data...?)
double pdr_ns_mixed_err_indi_ZZ | ( | int | Problem_id, | |
int | El | |||
) |
-------------------------------------------------------- pdr_ns_mixed_err_indi_ZZ - to return error indicator for an element, based on ZZ first derivative recovery ----------------------------------------------------------
double pdr_ns_mixed_ZZ_error | ( | char * | Work_dir, | |
FILE * | Interactive_input, | |||
FILE * | Interactive_output | |||
) |
-------------------------------------------------------- pdr_ns_mixed_ZZ_error - to compute estimated norm of error based on recovered first derivatives - the notorious ZZ error estimate ---------------------------------------------------------