#include <sourcet.h>
Public Member Functions | |
long | compare (sourcet &src) |
double | giveval (long eid) |
long | print (FILE *out) |
long | read (XFILE *in) |
long | read_prop (FILE *in, long lc) |
sourcet () | |
~sourcet () | |
Public Attributes | |
gfunct * | gf |
model of source of general quantity described by mathematical function | |
hydrationheat * | hydrh |
model of heat source caused by cement hydration, amount of heat is given by a special function | |
sourcetype | sourtype |
type of quantity source | |
double | v |
model of heat source caused by cement hydration |
class contains model of quantity source for transport problems the class can describe, e.g., source of heat
JK, revised 25.6.2005
Definition at line 16 of file sourcet.h.
~sourcet | ( | ) |
Definition at line 23 of file sourcet.cpp.
long compare | ( | sourcet & | src | ) |
The function compares content of the actual object with the content of src.
src | - compared object |
Returns:
0 | - in the case that objects are identical | |
1 | - in the case that objects differs |
Created by TKo 09.2010
Definition at line 231 of file sourcet.cpp.
References hydrationheat::compare(), gfunct::compare(), gf, hydrh, sourtype, and v.
Referenced by input_elem_sourcet(), and input_nod_sourcet().
double giveval | ( | long | eid | ) |
function returns value of source of quantity at required time
eid | - element id |
JK, revised 25.6.2005
Definition at line 151 of file sourcet.cpp.
References cement_hydration, transmat::cemhydr, concrete_heat, discont_nonlin_nonstat_problem, discont_nonstat_problem, transtop::elements, cemhydmat::get_source(), gfunct::getval(), gf, hydrationheat::give_value(), growing_np_problem, growing_np_problem_nonlin, hydrh, intpointst::idm, transmat::ip, elementt::ipp, matfunction, nonlinear_nonstationary_problem, nonstationary_problem, print_err(), sourtype, stationary_problem, probdesct::time, Tm, Tp, probdesct::tprob, Tt, and v.
Referenced by loadcaset::source_contrib(), and loadcaset::sourcenodalvalues().
long print | ( | FILE * | out | ) |
function prints output data
out | - pointer to output file |
TKr, 3.1.2006
Definition at line 98 of file sourcet.cpp.
References cement_hydration, concrete_heat, discont_nonlin_nonstat_problem, discont_nonstat_problem, gf, growing_np_problem, growing_np_problem_nonlin, hydrh, matfunction, nonlinear_nonstationary_problem, nonstationary_problem, hydrationheat::print(), gfunct::print(), print_err(), sourtype, stationary_problem, Tp, probdesct::tprob, and v.
Referenced by loadcaset::print(), and wr_sources().
long read | ( | XFILE * | in | ) |
function reads input data
in | - pointer to input file |
JK, revised 25.6.2005
Definition at line 37 of file sourcet.cpp.
References cement_hydration, concrete_heat, discont_nonlin_nonstat_problem, discont_nonstat_problem, gf, growing_np_problem, growing_np_problem_nonlin, hydrh, matfunction, nonlinear_nonstationary_problem, nonstationary_problem, print_err(), hydrationheat::read(), gfunct::read(), sourcetype_kwdset(), sourtype, stationary_problem, Tp, probdesct::tprob, v, and xfscanf().
Referenced by input_elem_sourcet(), input_nod_sourcet(), and loadcaset::read().
long read_prop | ( | FILE * | in, | |
long | lc | |||
) |
Definition at line 204 of file sourcet.cpp.
double v |