Flow123d
JS_before_hm-1602-g5680f2c
|
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "semchem/che_semchem.h"
Go to the source code of this file.
Macros | |
#define | _R 0.008314 |
#define | VERZE "30-09-2005" |
#define | vystupni_soubor "che_out.txt" |
#define | PUL_POCTU_VNORENI 8 |
#define | MAX_POC_VNEJ_CYK 1500 |
#define | MAX_STAGNACE 400 |
#define | MAX_POC_VNITR_CYK 2000 |
#define | DROBNY_POSUN 1.0e-10 |
Functions | |
void | che_vypis_soubor (char *soubor) |
void | che_vypis__soubor (char *soubor) |
void | che_outpocp_soubor (FILE *fw) |
void | che_outpocp__soubor (FILE *fw) |
int | che_Gauss (double *matice, double *prstrana, int *hprvky, int rozmer) |
double | che_poww (double A, int b, int *error) |
double | che_poww_ld (double A, double b, int *error) |
double | che_m_ (int latka, double *zeta) |
double | che_m_x (int latka, double *zeta, double krat) |
double | che_m (int latka, double *zeta) |
double | che_I (double *zeta) |
double | che_dI (int smer) |
double | che_gama_ (int i, double *zeta, int *error) |
double | che_dgama_ (int i, double *zeta, int smer, int *error) |
double | che_K1_ (double *zeta, int rce, int vnoreni) |
double | che_K2_ (double *zeta, int rce, int vnoreni) |
double | che_lnKT0 (int rce) |
double | che_dH (int rce) |
double | che_K_ (int rce) |
double | che_dK1_ (double *zeta, int rce, int smer, int vnoreni) |
double | che_dK2_ (double *zeta, int rce, int smer, int vnoreni) |
double | che_hodnota_ (double *zeta, int rce) |
double | che_derivace_ (double *zeta, int rce, int smer) |
void | che_hodnoty (double *zeta, double *hodnota, double *skala) |
void | che_Jakobi (double *zeta, double *J, double *skala) |
double | che_abs_norma (double *x) |
double | che_rel_norma (double *x, double *K) |
double | che_norma (double *x, double *K) |
void | che_odecti (double *x, double *y, double *z) |
void | che_nasob_ld (double x, double *y, double *z, int delka) |
void | che_kombinuj4_ld (double x1, double *y1, double x2, double *y2, double x3, double *y3, double x4, double *y4, double *z, int delka) |
void | che_nuluj_ld (double *z, int delka) |
void | che_kopiruj (double *y, double *z) |
void | che_zgaussproprg (double *prstrana, int *hprvky, double *vysl) |
void | che_napis_soubor_ld (FILE *fw, double *vektor, int delka) |
void | che_napismatici_soubor (char *soubor, double *matice, double *prstr) |
int | che_odecti_s_korekci_ld (double *x, double *y, double *z, int delka) |
void | che_napis_stav_soubor (char *soubor, double *zeta, double *K, double *matice, double *prstr) |
void | che_srovnej (double *KK, double *skala) |
void | che_presun_poc_p_ (void) |
double | che_osklivost (double *zeta0, int *zapornych, int *nulovych, int *nejhorsi) |
int | che_urci_zeta0 (void) |
void | che_maticovy_vypocet (char *soubor) |
void | che_spocitej_rychlosti (double *rychlosti, double *poloha, double dt) |
void | che_spocitej_posunuti (double *posunuti, double *rychlosti) |
void | che_prepocitej_polohu (double *poloha2, double *poloha, double *posunuti) |
void | che_zkrat_latku_o (int kterou, double o_kolik, double *rychlosti) |
void | che_pomala_kinetika (char *soubor, int poc_kroku) |
void | che_vypocet_rovnovah (char *soubor) |
void | che_rovnovahy_se_sorpci (char *soubor) |
void | che_matice_se_sorpci (char *soubor) |
void | che_pocitej_soubor (char *soubor, int *poc_krok) |
void | che_nactenichemie (void) |
void | che_vypis_prm_lat_che (void) |
void | che_uvolneni_P (void) |
float | che_poradi (int typ_reakce, double max, double K) |
Variables | |
struct TS_prm | G_prm |
struct TS_lat * | P_lat |
struct TS_che * | P_che |
* Copyright (C) 2015 Technical University of Liberec. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Definition in file che_semchem.cc.
#define _R 0.008314 |
Definition at line 23 of file che_semchem.cc.
#define DROBNY_POSUN 1.0e-10 |
Definition at line 30 of file che_semchem.cc.
#define MAX_POC_VNEJ_CYK 1500 |
Definition at line 27 of file che_semchem.cc.
#define MAX_POC_VNITR_CYK 2000 |
Definition at line 29 of file che_semchem.cc.
#define MAX_STAGNACE 400 |
Definition at line 28 of file che_semchem.cc.
#define PUL_POCTU_VNORENI 8 |
Definition at line 26 of file che_semchem.cc.
#define VERZE "30-09-2005" |
Definition at line 24 of file che_semchem.cc.
#define vystupni_soubor "che_out.txt" |
Definition at line 25 of file che_semchem.cc.
double che_abs_norma | ( | double * | x | ) |
double che_derivace_ | ( | double * | zeta, |
int | rce, | ||
int | smer | ||
) |
double che_dgama_ | ( | int | i, |
double * | zeta, | ||
int | smer, | ||
int * | error | ||
) |
double che_dH | ( | int | rce | ) |
double che_dI | ( | int | smer | ) |
double che_dK1_ | ( | double * | zeta, |
int | rce, | ||
int | smer, | ||
int | vnoreni | ||
) |
double che_dK2_ | ( | double * | zeta, |
int | rce, | ||
int | smer, | ||
int | vnoreni | ||
) |
double che_gama_ | ( | int | i, |
double * | zeta, | ||
int * | error | ||
) |
int che_Gauss | ( | double * | matice, |
double * | prstrana, | ||
int * | hprvky, | ||
int | rozmer | ||
) |
double che_hodnota_ | ( | double * | zeta, |
int | rce | ||
) |
void che_hodnoty | ( | double * | zeta, |
double * | hodnota, | ||
double * | skala | ||
) |
double che_I | ( | double * | zeta | ) |
void che_Jakobi | ( | double * | zeta, |
double * | J, | ||
double * | skala | ||
) |
double che_K1_ | ( | double * | zeta, |
int | rce, | ||
int | vnoreni | ||
) |
double che_K2_ | ( | double * | zeta, |
int | rce, | ||
int | vnoreni | ||
) |
double che_K_ | ( | int | rce | ) |
void che_kombinuj4_ld | ( | double | x1, |
double * | y1, | ||
double | x2, | ||
double * | y2, | ||
double | x3, | ||
double * | y3, | ||
double | x4, | ||
double * | y4, | ||
double * | z, | ||
int | delka | ||
) |
void che_kopiruj | ( | double * | y, |
double * | z | ||
) |
double che_lnKT0 | ( | int | rce | ) |
double che_m | ( | int | latka, |
double * | zeta | ||
) |
double che_m_ | ( | int | latka, |
double * | zeta | ||
) |
double che_m_x | ( | int | latka, |
double * | zeta, | ||
double | krat | ||
) |
Definition at line 291 of file che_semchem.cc.
void che_matice_se_sorpci | ( | char * | soubor | ) |
void che_maticovy_vypocet | ( | char * | soubor | ) |
void che_nactenichemie | ( | void | ) |
Definition at line 1981 of file che_semchem.cc.
void che_napis_soubor_ld | ( | FILE * | fw, |
double * | vektor, | ||
int | delka | ||
) |
void che_napis_stav_soubor | ( | char * | soubor, |
double * | zeta, | ||
double * | K, | ||
double * | matice, | ||
double * | prstr | ||
) |
void che_napismatici_soubor | ( | char * | soubor, |
double * | matice, | ||
double * | prstr | ||
) |
void che_nasob_ld | ( | double | x, |
double * | y, | ||
double * | z, | ||
int | delka | ||
) |
double che_norma | ( | double * | x, |
double * | K | ||
) |
void che_nuluj_ld | ( | double * | z, |
int | delka | ||
) |
void che_odecti | ( | double * | x, |
double * | y, | ||
double * | z | ||
) |
int che_odecti_s_korekci_ld | ( | double * | x, |
double * | y, | ||
double * | z, | ||
int | delka | ||
) |
double che_osklivost | ( | double * | zeta0, |
int * | zapornych, | ||
int * | nulovych, | ||
int * | nejhorsi | ||
) |
void che_outpocp__soubor | ( | FILE * | fw | ) |
Definition at line 74 of file che_semchem.cc.
void che_outpocp_soubor | ( | FILE * | fw | ) |
Definition at line 65 of file che_semchem.cc.
void che_pocitej_soubor | ( | char * | soubor, |
int * | poc_krok | ||
) |
void che_pomala_kinetika | ( | char * | soubor, |
int | poc_kroku | ||
) |
float che_poradi | ( | int | typ_reakce, |
double | max, | ||
double | K | ||
) |
double che_poww | ( | double | A, |
int | b, | ||
int * | error | ||
) |
double che_poww_ld | ( | double | A, |
double | b, | ||
int * | error | ||
) |
void che_prepocitej_polohu | ( | double * | poloha2, |
double * | poloha, | ||
double * | posunuti | ||
) |
void che_presun_poc_p_ | ( | void | ) |
double che_rel_norma | ( | double * | x, |
double * | K | ||
) |
void che_rovnovahy_se_sorpci | ( | char * | soubor | ) |
void che_spocitej_posunuti | ( | double * | posunuti, |
double * | rychlosti | ||
) |
void che_spocitej_rychlosti | ( | double * | rychlosti, |
double * | poloha, | ||
double | dt | ||
) |
void che_srovnej | ( | double * | KK, |
double * | skala | ||
) |
int che_urci_zeta0 | ( | void | ) |
void che_uvolneni_P | ( | void | ) |
Definition at line 2022 of file che_semchem.cc.
void che_vypis__soubor | ( | char * | soubor | ) |
Definition at line 52 of file che_semchem.cc.
void che_vypis_prm_lat_che | ( | void | ) |
Definition at line 1985 of file che_semchem.cc.
void che_vypis_soubor | ( | char * | soubor | ) |
Definition at line 40 of file che_semchem.cc.
void che_vypocet_rovnovah | ( | char * | soubor | ) |
void che_zgaussproprg | ( | double * | prstrana, |
int * | hprvky, | ||
double * | vysl | ||
) |
void che_zkrat_latku_o | ( | int | kterou, |
double | o_kolik, | ||
double * | rychlosti | ||
) |
struct TS_prm G_prm |
Definition at line 40 of file semchem_interface.cc.
struct TS_che* P_che |
Definition at line 42 of file semchem_interface.cc.
struct TS_lat* P_lat |
Definition at line 41 of file semchem_interface.cc.