Flow123d  release_3.0.0-955-g4db4b48
Macros | Functions | Variables
che_semchem.cc File Reference
#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_latP_lat
 
struct TS_cheP_che
 

Detailed Description

 * 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.

Macro Definition Documentation

#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.

Function Documentation

double che_abs_norma ( double *  x)

Definition at line 1003 of file che_semchem.cc.

Here is the caller graph for this function:

double che_derivace_ ( double *  zeta,
int  rce,
int  smer 
)

Definition at line 966 of file che_semchem.cc.

Here is the caller graph for this function:

double che_dgama_ ( int  i,
double *  zeta,
int  smer,
int *  error 
)

Definition at line 363 of file che_semchem.cc.

Here is the caller graph for this function:

double che_dH ( int  rce)

Definition at line 591 of file che_semchem.cc.

Here is the caller graph for this function:

double che_dI ( int  smer)

Definition at line 329 of file che_semchem.cc.

Here is the caller graph for this function:

double che_dK1_ ( double *  zeta,
int  rce,
int  smer,
int  vnoreni 
)

Definition at line 662 of file che_semchem.cc.

Here is the caller graph for this function:

double che_dK2_ ( double *  zeta,
int  rce,
int  smer,
int  vnoreni 
)

Definition at line 860 of file che_semchem.cc.

Here is the caller graph for this function:

double che_gama_ ( int  i,
double *  zeta,
int *  error 
)

Definition at line 343 of file che_semchem.cc.

Here is the caller graph for this function:

int che_Gauss ( double *  matice,
double *  prstrana,
int *  hprvky,
int  rozmer 
)

Definition at line 84 of file che_semchem.cc.

Here is the caller graph for this function:

double che_hodnota_ ( double *  zeta,
int  rce 
)

Definition at line 955 of file che_semchem.cc.

Here is the caller graph for this function:

void che_hodnoty ( double *  zeta,
double *  hodnota,
double *  skala 
)

Definition at line 977 of file che_semchem.cc.

Here is the caller graph for this function:

double che_I ( double *  zeta)

Definition at line 315 of file che_semchem.cc.

Here is the caller graph for this function:

void che_Jakobi ( double *  zeta,
double *  J,
double *  skala 
)

Definition at line 987 of file che_semchem.cc.

Here is the caller graph for this function:

double che_K1_ ( double *  zeta,
int  rce,
int  vnoreni 
)

Definition at line 418 of file che_semchem.cc.

Here is the caller graph for this function:

double che_K2_ ( double *  zeta,
int  rce,
int  vnoreni 
)

Definition at line 521 of file che_semchem.cc.

Here is the caller graph for this function:

double che_K_ ( int  rce)

Definition at line 605 of file che_semchem.cc.

Here is the caller graph for this function:

void che_kombinuj4_ld ( double  x1,
double *  y1,
double  x2,
double *  y2,
double  x3,
double *  y3,
double  x4,
double *  y4,
double *  z,
int  delka 
)

Definition at line 1069 of file che_semchem.cc.

Here is the caller graph for this function:

void che_kopiruj ( double *  y,
double *  z 
)

Definition at line 1093 of file che_semchem.cc.

Here is the caller graph for this function:

double che_lnKT0 ( int  rce)

Definition at line 576 of file che_semchem.cc.

Here is the caller graph for this function:

double che_m ( int  latka,
double *  zeta 
)

Definition at line 304 of file che_semchem.cc.

Here is the caller graph for this function:

double che_m_ ( int  latka,
double *  zeta 
)

Definition at line 278 of file che_semchem.cc.

Here is the caller graph for this function:

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)

Definition at line 1958 of file che_semchem.cc.

Here is the caller graph for this function:

void che_maticovy_vypocet ( char *  soubor)

Definition at line 1427 of file che_semchem.cc.

Here is the caller graph for this function:

void che_nactenichemie ( void  )

Definition at line 1981 of file che_semchem.cc.

void che_napis_soubor_ld ( FILE *  fw,
double *  vektor,
int  delka 
)

Definition at line 1115 of file che_semchem.cc.

Here is the caller graph for this function:

void che_napis_stav_soubor ( char *  soubor,
double *  zeta,
double *  K,
double *  matice,
double *  prstr 
)

Definition at line 1240 of file che_semchem.cc.

Here is the caller graph for this function:

void che_napismatici_soubor ( char *  soubor,
double *  matice,
double *  prstr 
)

Definition at line 1130 of file che_semchem.cc.

Here is the caller graph for this function:

void che_nasob_ld ( double  x,
double *  y,
double *  z,
int  delka 
)

Definition at line 1057 of file che_semchem.cc.

Here is the caller graph for this function:

double che_norma ( double *  x,
double *  K 
)

Definition at line 1029 of file che_semchem.cc.

Here is the caller graph for this function:

void che_nuluj_ld ( double *  z,
int  delka 
)

Definition at line 1081 of file che_semchem.cc.

Here is the caller graph for this function:

void che_odecti ( double *  x,
double *  y,
double *  z 
)

Definition at line 1045 of file che_semchem.cc.

Here is the caller graph for this function:

int che_odecti_s_korekci_ld ( double *  x,
double *  y,
double *  z,
int  delka 
)

Definition at line 1149 of file che_semchem.cc.

Here is the caller graph for this function:

double che_osklivost ( double *  zeta0,
int *  zapornych,
int *  nulovych,
int *  nejhorsi 
)

Definition at line 1288 of file che_semchem.cc.

Here is the caller graph for this function:

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 
)

Definition at line 1965 of file che_semchem.cc.

Here is the caller graph for this function:

void che_pomala_kinetika ( char *  soubor,
int  poc_kroku 
)

Definition at line 1752 of file che_semchem.cc.

Here is the caller graph for this function:

float che_poradi ( int  typ_reakce,
double  max,
double  K 
)

Definition at line 2040 of file che_semchem.cc.

Here is the caller graph for this function:

double che_poww ( double  A,
int  b,
int *  error 
)

Definition at line 203 of file che_semchem.cc.

Here is the caller graph for this function:

double che_poww_ld ( double  A,
double  b,
int *  error 
)

Definition at line 240 of file che_semchem.cc.

Here is the caller graph for this function:

void che_prepocitej_polohu ( double *  poloha2,
double *  poloha,
double *  posunuti 
)

Definition at line 1705 of file che_semchem.cc.

Here is the caller graph for this function:

void che_presun_poc_p_ ( void  )

Definition at line 1278 of file che_semchem.cc.

Here is the caller graph for this function:

double che_rel_norma ( double *  x,
double *  K 
)

Definition at line 1016 of file che_semchem.cc.

Here is the caller graph for this function:

void che_rovnovahy_se_sorpci ( char *  soubor)

Definition at line 1951 of file che_semchem.cc.

Here is the caller graph for this function:

void che_spocitej_posunuti ( double *  posunuti,
double *  rychlosti 
)

Definition at line 1690 of file che_semchem.cc.

Here is the caller graph for this function:

void che_spocitej_rychlosti ( double *  rychlosti,
double *  poloha,
double  dt 
)

Definition at line 1666 of file che_semchem.cc.

Here is the caller graph for this function:

void che_srovnej ( double *  KK,
double *  skala 
)

Definition at line 1254 of file che_semchem.cc.

Here is the caller graph for this function:

int che_urci_zeta0 ( void  )

Definition at line 1336 of file che_semchem.cc.

Here is the caller graph for this function:

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)

Definition at line 1944 of file che_semchem.cc.

Here is the caller graph for this function:

void che_zgaussproprg ( double *  prstrana,
int *  hprvky,
double *  vysl 
)

Definition at line 1105 of file che_semchem.cc.

Here is the caller graph for this function:

void che_zkrat_latku_o ( int  kterou,
double  o_kolik,
double *  rychlosti 
)

Definition at line 1715 of file che_semchem.cc.

Here is the caller graph for this function:

Variable Documentation

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.