SIFEL/TRFEL/SRC/hermtrf.cpp File Reference

#include "globalt.h"
#include "stochdrivert.h"
#include "trfelinit.h"
#include "hermtrf.h"

Go to the source code of this file.

Defines

#define EXTERN

Functions

double capcoeff (double phi, double t, long ri, long ci, long im)
 The function returns required capacity coefficient from the material capacity matrix.
void condmat (double phi, double t, double *cm, long ri, long ci, long im)
 The function returns required conductivity coefficient from the material conductivity matrix.
void hermtrf_close ()
void hermtrf_init (int argc, const char *argv[])
 The function initializes the TRFEL from the HERMES code.

Define Documentation

#define EXTERN

Definition at line 1 of file hermtrf.cpp.


Function Documentation

double capcoeff ( double  phi,
double  t,
long  ri,
long  ci,
long  im 
)

The function returns required capacity coefficient from the material capacity matrix.

The function returns required capacity coefficient from the material capacity matrix.

Parameters:
phi - relative humidity at given integration point
t - temperature at given integration point
ri - block row index of transported media
ci - block column index of transported media
im - index of material (default 0 for homogeneous domain)
Returns:
The function returns required capacity coefficient.

Created 04.2011 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz

Definition at line 52 of file hermtrf.cpp.

References intpointst::av, transmat::capcoeff(), transmat::ip, probdesct::ntm, Tm, and Tp.

void condmat ( double  phi,
double  t,
double *  cm,
long  ri,
long  ci,
long  im 
)

The function returns required conductivity coefficient from the material conductivity matrix.

The function returns required conductivity coefficient from the material conductivity matrix.

Parameters:
phi - relative humidity at given integration point
t - temperature at given integration point
cm - required conductivity matrix
ri - block row index of transported media
ci - block column index of transported media
im - index of material (default 0 for homogeneous domain)
Returns:
The function returns required conductivity coefficient.

Created 04.2011 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz

Definition at line 23 of file hermtrf.cpp.

References intpointst::av, transmat::ip, transmat::matcond(), probdesct::ntm, Tm, and Tp.

Referenced by solve_hemivariational_inequalities(), solve_linear_floating_subdomains_old(), solve_load_balancing(), schurcompl::solve_system(), dpfeti::solve_system(), seqschur::solve_system(), and saddpoint::solve_system().

void hermtrf_close (  ) 

The function performs a cleanup of the TRFEL global variables and it closes opened files.

Created 04.2011 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz

Definition at line 116 of file hermtrf.cpp.

References Outt.

void hermtrf_init ( int  argc,
const char *  argv[] 
)

The function initializes the TRFEL from the HERMES code.

The function initializes the TRFEL from the HERMES code. It serves for the separation of codes due to conflicts in the used type names.

Parameters:
argc - number of arguments passed by the command line (it has to be 2 or 3)
argv - array of pinters to strings with command line arguments argv[0] has to be string with the program name argv[1] has to be string with the input file name argv[2] is optional and it should contain keyword specificator (see trfelinit.cpp for more details)
Returns:
The function does not return anything.

Created 04.2011 by Tomas Koudelka, koudelka@cml.fsv.cvut.cz

Definition at line 80 of file hermtrf.cpp.

References Bmat, Cmat, G2d, Jmat, Kmat, Lbat, Lbt, Lht, Lqat, Lqt, Ltat, Ltett, Ltt, Qbat, Qbt, Qht, Qqat, Qqt, Stt, and trfel_init().


Generated by  doxygen 1.6.2