#include <trlineart.h>
Public Member Functions | |
double | approx (vector &areacoord, vector &nodval) |
double | approx_nat (double xi, double eta, vector &nodval) |
void | averc_matrix (long eid, matrix &lm) |
void | averd_matrix (long eid, matrix &lm) |
void | bf_matrix (matrix &n, vector &areacoord) |
void | boundary_flux (vector &v, long lcid, long eid, long leid, long ri, long ci) |
void | capacity_matrix (long eid, long ri, long ci, matrix &cm) |
void | codnum (long *cn, long ri) |
double | compute_error (long eid, vector *rderfull, int mattid, double &e2, double &u2, double &sizel) |
void | conductivity_matrix (long lcid, long eid, long ri, long ci, matrix &km) |
void | convection_vector (vector &v, long lcid, long eid, long leid, long ri, long ci) |
void | edge_integral (long edg, vector &x, vector &y, long intord, vector &gp, vector &w, vector &t, vector &coef, matrix &km) |
void | edgenodeval (long edg, vector &nodval, vector &list) |
double | elem_area (long eid) |
void | give_approx_fun (double &f, vector &areacoord, long i) |
void | grad_matrix (matrix &gm, vector &b, vector &c) |
void | higher_to_lower_level (long eid, long *counter, double *buff) |
void | internal_fluxes (long lcid, long eid, vector &ifl) |
void | intpointgrad (long eid) |
void | intpointother (long eid) |
void | intpointval (long eid) |
void | intpointval_puc (long eid) |
void | ipcoordblock (long eid, long ri, long ci, double **coord) |
void | l_matrix (long lcid, long eid, long ri, long ci, matrix &lm) |
void | l_t_matrix (long lcid, long eid, long ri, long ci, matrix &lm) |
void | nod_others_comp (long lcid, long eid, long ri, long ci) |
void | quantity_source_vector (vector &sv, vector &nodval, long eid, long ri, long ci) |
void | res_boundary_flux (vector &f, long lcid, long eid, long leid) |
void | res_capacity_matrix (long eid, matrix &cm) |
void | res_conductivity_matrix (long eid, long lcid, matrix &km) |
void | res_convection_vector (vector &f, long lcid, long eid, long leid) |
void | res_internal_fluxes (long eid, vector &elemif) |
void | res_l_matrix (long eid, long lcid, matrix &lm) |
void | res_l_t_matrix (long eid, long lcid, matrix &lm) |
void | res_quantity_source_vector (vector &sv, vector &nodval, long lcid, long eid) |
void | res_transmission_vector (vector &f, long lcid, long eid, long leid) |
double | total_integral (long eid, vector &nodval) |
void | transf_coeff (long edg, vector &coeff, vector &list, long eid, long ri, long ci, long ipp, bocontypet *bc) |
void | transf_flux (long edg, vector &coeff, vector &list, vector &trc, vector &trr, long eid, long ri, long ci, long ipp, bocontypet *bc) |
void | transf_val (long edg, vector &nodval, vector &list, vector &trc, vector &trr, long eid, long ri, long ci, long ipp, bocontypet *bc) |
void | transmission_matrix (long lcid, long eid, long ri, long ci, matrix &km) |
void | transmission_vector (vector &v, long lcid, long eid, long leid, long cid) |
trlineart (void) | |
~trlineart (void) | |
Public Attributes | |
long ** | dofe |
number of DOFs on the element | |
long | intordb |
order of integration on boundaries | |
long ** | intordcm |
order of integration of capacity matrix | |
long ** | intordkm |
order of integration of conductivity matrix | |
long | napfun |
number of approximated functions on the element | |
long | ncomp |
number of components of stress and strain tensors | |
long | ndofe |
total number of DOFs on the element | |
long | ned |
number of edges | |
long ** | nip |
number of integration points for conductivity matrix | |
long | nne |
number of nodes on one element | |
long | nned |
number of nodes on one edge | |
long | ntm |
number of transported matter | |
long ** | ordering |
class trlineart defines triangular element with linear approximation functions for transport problems
Definition at line 11 of file trlineart.h.
trlineart | ( | void | ) |
Definition at line 12 of file trlineart.cpp.
References dofe, intordb, intordcm, intordkm, napfun, ncomp, ndofe, ned, nip, nne, nned, nomedium, probdesct::ntm, ntm, onemedium, ordering, print_err(), probdesct::savemode, threemediacoup, probdesct::tmatt, Tp, and twomediacoup.
~trlineart | ( | void | ) |
function approximates function defined by nodal values
areacoord | - vector containing area coordinates | |
nodval | - nodal values |
JK, 25.9.2001
Definition at line 164 of file trlineart.cpp.
Referenced by capacity_matrix(), compute_error(), conductivity_matrix(), edge_integral(), internal_fluxes(), intpointother(), intpointval(), intpointval_puc(), l_matrix(), l_t_matrix(), quantity_source_vector(), and total_integral().
double approx_nat | ( | double | xi, | |
double | eta, | |||
vector & | nodval | |||
) |
function approximates function defined by nodal values
xi,eta | - natural coordinates | |
nodval | - nodal values |
Definition at line 178 of file trlineart.cpp.
Referenced by ipcoordblock().
void averc_matrix | ( | long | eid, | |
matrix & | lm | |||
) |
function assembles average C matrix
eid | - element id | |
lm | - resulting C matrix of one element |
TKr, 16/08/2010
Definition at line 1067 of file trlineart.cpp.
References intpointst::av, transmat::capcoeff(), transtop::elements, transmat::ip, elementt::ipp, ntm, probdesct::savemode, Tm, Tp, and Tt.
Referenced by avercmat().
void averd_matrix | ( | long | eid, | |
matrix & | lm | |||
) |
function assembles average D matrix
eid | - element id | |
lm | - resulting D matrix of one element |
TKr, 16/08/2010
Definition at line 1011 of file trlineart.cpp.
References transtop::elements, elementt::ipp, mat_localize(), transmat::matcond(), ncomp, ntm, probdesct::savemode, Tm, Tp, and Tt.
Referenced by averdmat().
function returns matrix of base function
n | - array of approximation functions | |
areacoord | - area coordinates |
JK, 5.11.2001
Definition at line 496 of file trlineart.cpp.
References fillm().
Referenced by capacity_matrix(), conductivity_matrix(), edge_integral(), and quantity_source_vector().
void boundary_flux | ( | vector & | v, | |
long | lcid, | |||
long | eid, | |||
long | leid, | |||
long | ri, | |||
long | ci | |||
) |
function computes contributions to the boundary flux from transmission vector
{Gamma_3} N^T c_{tr} N dGamma * nodal_external_value
tmv | - vector of boundary fluxes | |
lcid | - load case id | |
eid | - element id | |
leid | - loaded element id | |
ri,ci | - row and column indices |
TKr, 28.2.2004
Definition at line 1647 of file trlineart.cpp.
References addv(), edge_integral(), edgenodeval(), transtop::elements, loadcaset::elemload, fillm(), fillv(), gauss_points(), loadelt::give_bc(), transtop::give_elemnodes(), transtop::give_node_coord2d(), loadelt::give_nodval(), transcrsec::give_thickness(), loadelt::give_trc(), loadelt::give_trr(), intordkm, elementt::ipp, transbclc::lc, mxv(), ned, nne, nned, nodes, nodval(), probdesct::savemode, Tb, Tc, Tp, transf_flux(), and Tt.
Referenced by res_boundary_flux().
void capacity_matrix | ( | long | eid, | |
long | ri, | |||
long | ci, | |||
matrix & | cm | |||
) |
function computes capacity matrix for one medium
eid | - element id | |
ri,ci | - row and column indices | |
cm | - capacity matrix |
JK, 5.11.2001
Definition at line 528 of file trlineart.cpp.
References matrix::a, approx(), bf_matrix(), transmat::capcoeff(), dofe, transtop::elements, fillm(), gauss_points_tr(), transcrsec::give_density(), transtop::give_elemnodes(), transtop::give_node_coord2d(), transcrsec::give_thickness(), intordcm, intordkm, elementt::ipp, matrix::m, matrix::n, nne, nnj(), nodes, probdesct::savemode, Tc, Tm, Tp, and Tt.
Referenced by res_capacity_matrix().
void codnum | ( | long * | cn, | |
long | ri | |||
) |
Definition at line 124 of file trlineart.cpp.
Referenced by res_boundary_flux(), res_capacity_matrix(), res_conductivity_matrix(), res_convection_vector(), res_internal_fluxes(), res_l_matrix(), res_l_t_matrix(), res_quantity_source_vector(), and res_transmission_vector().
double compute_error | ( | long | eid, | |
vector * | rderfull, | |||
int | mattid, | |||
double & | e2, | |||
double & | u2, | |||
double & | sizel | |||
) |
Function 1. computes "e2" - square of "energy" norm of error of solution at element e2 = integral{ (der_fine - der)T * D * (der_fine - der) } der_fine = recovered gradients, values in nodes are defined by "rderfull" and interpolated by base functions over element der = gradiensts obtained by FEM D_inv = inverse stiffness matrix of material 2. computes "u2" - square of energy norm of gradient at element u2 = integral{ gradT * D * grad } grad = gradient obtained by FEM D = matrix of conductivity 3. computes area of element and returns 4. computes "sizel" (characteristic size of element)
eid | - element id | |
e2 | - empty(returned) value; | |
u2 | - empty(returned) value; | |
sizel | - empty(returned) value; | |
rderfull | - 1Darray of gradients in nodes; dimmension is gt->nn x ncomp |
created 3.5.2002, Ladislav Svoboda, termit@cml.fsv.cvut.cz
Definition at line 1972 of file trlineart.cpp.
References vector::a, approx(), transtop::elements, fillv(), gauss_points_tr(), give_der_star(), transtop::give_elemnodes(), transtop::give_node_coord2d(), transcrsec::give_thickness(), transmat::givegrad(), elementt::ipp, transmat::matcond(), ncomp, transtop::nn, nne, nodes, print_err(), probdesct::savemode, subv(), Tc, Tm, Tp, Tt, and vxmxv().
Referenced by adaptivityt::compute_error().
void conductivity_matrix | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci, | |||
matrix & | km | |||
) |
function computes conductivity matrix of one medium
lcid | - load case id | |
eid | - element id | |
km | - conductivity matrix |
JK, 5.11.2001
Definition at line 605 of file trlineart.cpp.
References matrix::a, approx(), bdbj(), bdbjac(), bf_matrix(), dofe, transtop::elements, fillm(), transtop::give_elemnodes(), transtop::give_node_coord2d(), transcrsec::give_thickness(), grad_matrix(), elementt::ipp, transmat::matcond(), transmat::matcond2(), ncomp, nne, nodes, plsb(), plsc(), reallocm(), probdesct::savemode, Tc, Tm, Tp, elementt::transi, transmission_matrix(), and Tt.
Referenced by res_conductivity_matrix().
void convection_vector | ( | vector & | v, | |
long | lcid, | |||
long | eid, | |||
long | leid, | |||
long | ri, | |||
long | ci | |||
) |
function computes nodal fluxes from boundary values
{Gamma_2} N^T N dGamma * nodal_flux_values
v | - array of nodal fluxes | |
lcid | - load case id | |
eid | - element id | |
leid | - id of loaded element | |
ri,ci | - row and column indices |
JK, 19.8.2004
Definition at line 1435 of file trlineart.cpp.
References addv(), edge_integral(), edgenodeval(), transtop::elements, loadcaset::elemload, fillm(), fillv(), gauss_points(), loadelt::give_bc(), transtop::give_elemnodes(), transtop::give_node_coord2d(), loadelt::give_nodval(), transcrsec::give_thickness(), intordkm, elementt::ipp, transbclc::lc, mxv(), ned, nne, nned, nodes, nodval(), probdesct::savemode, Tb, Tc, Tp, and Tt.
Referenced by res_convection_vector().
void edge_integral | ( | long | edg, | |
vector & | x, | |||
vector & | y, | |||
long | intord, | |||
vector & | gp, | |||
vector & | w, | |||
vector & | t, | |||
vector & | coef, | |||
matrix & | km | |||
) |
function integrates N^T c N over edges
edg | - edge id (number of edge) | |
x,y | - coordinates of element nodes | |
intord | - order of numerical integration | |
gp,w | - coordinates and weights of integration points | |
t | - nodal thicknesses | |
coef | - array of nodal values of coefficient | |
km | - output matrix |
JK
Definition at line 1719 of file trlineart.cpp.
References matrix::a, approx(), bf_matrix(), jac1d_2d(), matrix::m, matrix::n, nne, and nnj().
Referenced by boundary_flux(), convection_vector(), transmission_matrix(), and transmission_vector().
function picks up nodal values on required edges
edg | - number of required edge | |
nodval | - array of nodal values | |
list | - array of nodal values defined on all edges |
JK, 19.8.2004
Definition at line 1900 of file trlineart.cpp.
References ivector::a, fillv(), lintriangle_edgnod(), and nned.
Referenced by boundary_flux(), convection_vector(), and transmission_vector().
double elem_area | ( | long | eid | ) |
function assembles area of one element
eid | - element id |
TKr, 07/09/2010
Definition at line 1096 of file trlineart.cpp.
References transtop::give_node_coord2d(), nne, and Tt.
Referenced by avercmat(), and averdmat().
void give_approx_fun | ( | double & | f, | |
vector & | areacoord, | |||
long | i | |||
) |
function returns one approximation function evaluated in required point
f | - value of approximation function | |
areacoord | - area coordinates | |
i | - number of approximation function |
JK, 1.2.2003
Definition at line 514 of file trlineart.cpp.
function assembles gradient of matrix of base functions
gm | - gradient matrix | |
b,c | - array containing node coordinates |
JK, 25.9.2001
Definition at line 582 of file trlineart.cpp.
Referenced by conductivity_matrix(), internal_fluxes(), intpointgrad(), l_matrix(), and l_t_matrix().
void higher_to_lower_level | ( | long | eid, | |
long * | counter, | |||
double * | buff | |||
) |
function selects values and gradients from the global level
eid | - element id | |
counter | - actual position in the array buff | |
buff | - array containing selected components |
JK, 25.3.2011
Definition at line 1923 of file trlineart.cpp.
References intpointst::av, transtop::elements, transmat::givegrad(), transmat::ip, elementt::ipp, ntm, Tm, and Tt.
Referenced by higher_to_lower_level_elem().
void internal_fluxes | ( | long | lcid, | |
long | eid, | |||
vector & | ifl | |||
) |
function computes internal fluxes of 1D problems for one transported matter finite element with linear approximation functions
lcid | - number of load case | |
eid | - number of element | |
ifl | - vector of internal fluxes |
JK, 31.3.2002
Definition at line 844 of file trlineart.cpp.
References addv(), approx(), cmulv(), transmat::computenlfluxes(), dofe, transtop::elements, transtop::give_elemnodes(), transtop::give_node_coord2d(), transcrsec::give_thickness(), transmat::givefluxes(), grad_matrix(), elementt::ipp, mtxv(), ncomp, nne, nodes, plsb(), plsc(), probdesct::savemode, Tc, Tm, Tp, and Tt.
Referenced by res_internal_fluxes().
void intpointgrad | ( | long | eid | ) |
function computes values in integration points from nodal values
eid - element id
JK, 25.9.2001
Definition at line 335 of file trlineart.cpp.
References vector::a, ivector::a, dofe, transtop::elements, elemvalues(), gauss_points_tr(), transtop::give_code_numbers(), transtop::give_node_coord2d(), grad, grad_matrix(), intordcm, intordkm, elementt::ipp, mxv(), ncomp, ndofe, nne, probdesct::ntm, ordering, plsb(), plsc(), reallocv(), probdesct::savemode, transmat::storegrad(), Tm, Tp, and Tt.
Referenced by intpointgradients().
void intpointother | ( | long | eid | ) |
function approximates nodal values of array other to integration points
eid | - element id |
JK, 17.9.2005
Definition at line 418 of file trlineart.cpp.
References vector::a, approx(), transtop::elements, gauss_points_tr(), transtop::give_elemnodes(), intordcm, intordkm, transmat::ip, elementt::ipp, nodet::ncompother, nne, nodalotherval(), transtop::nodes, nodes, probdesct::ntm, intpointst::other, reallocv(), probdesct::savemode, Tm, Tp, and Tt.
Referenced by intpointothers().
void intpointval | ( | long | eid | ) |
function computes values in integration points from nodal values
eid - element id
JK, 25.9.2001
Definition at line 197 of file trlineart.cpp.
References vector::a, ivector::a, approx(), intpointst::av, dofe, transtop::elements, elemvalues(), gauss_points_tr(), transtop::give_code_numbers(), intordcm, intordkm, transmat::ip, elementt::ipp, ndofe, nne, probdesct::ntm, ordering, reallocv(), probdesct::savemode, Tm, Tp, and Tt.
Referenced by intpointvalues().
void intpointval_puc | ( | long | eid | ) |
function computes values in integration points from nodal values for PUC
eid - element id
TKr, 08/09/2010
Definition at line 264 of file trlineart.cpp.
References vector::a, approx(), intpointst::av, dofe, transtop::elements, elemvalues_puc(), gauss_points_tr(), intordcm, intordkm, transmat::ip, elementt::ipp, ndofe, nne, probdesct::ntm, ordering, reallocv(), probdesct::savemode, Tm, Tp, and Tt.
Referenced by intpointvalues_puc().
void ipcoordblock | ( | long | eid, | |
long | ri, | |||
long | ci, | |||
double ** | coord | |||
) |
function returns coordinates of integration points
eid | - element id | |
ri | - row index | |
ci | - column index | |
coord | - array of coordinates |
19.1.2002
Definition at line 142 of file trlineart.cpp.
References vector::a, approx_nat(), gauss_points_tr(), transtop::give_node_coord2d(), intordkm, nne, and Tt.
void l_matrix | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci, | |||
matrix & | lm | |||
) |
function computes L matrix
L = {} D B { d}
lcid | - load case id | |
eid | - element id | |
lm | - L matrix |
TKr, 16/08/2010
Definition at line 676 of file trlineart.cpp.
References approx(), cmulm(), dofe, transtop::elements, fillm(), transtop::give_elemnodes(), transtop::give_node_coord2d(), transcrsec::give_thickness(), grad_matrix(), elementt::ipp, transmat::matcond(), mxm(), ncomp, nne, nodes, plsb(), plsc(), probdesct::savemode, Tc, Tm, Tp, and Tt.
Referenced by res_l_matrix().
void l_t_matrix | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci, | |||
matrix & | lm | |||
) |
function computes L^T (L transposed) matrix
L^T = {} B^T D { d}
lcid | - load case id | |
eid | - element id | |
lm | - L^T matrix |
TKr, 16/08/2010
Definition at line 735 of file trlineart.cpp.
References approx(), cmulm(), dofe, transtop::elements, fillm(), transtop::give_elemnodes(), transtop::give_node_coord2d(), transcrsec::give_thickness(), grad_matrix(), elementt::ipp, transmat::matcond(), mtxm(), ncomp, nne, nodes, plsb(), plsc(), probdesct::savemode, Tc, Tm, Tp, and Tt.
Referenced by res_l_t_matrix().
void nod_others_comp | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci | |||
) |
function computes other values in nodes of element
lcid | - load case id | |
eid | - element id | |
ri | - row index | |
ci | - column index |
10.5.2002
Definition at line 1375 of file trlineart.cpp.
References vector::a, ivector::a, transtop::elements, elemvalues(), transtop::give_code_numbers(), transtop::give_elemnodes(), transmat::givecompother(), transmat::givencompother(), h(), elementt::ipp, ndofe, nne, nod, transtop::nodes, ntm, other, reallocv(), probdesct::savemode, nodet::storeother(), Tm, Tp, and Tt.
function computes source vector of one matter on one element
{Omega} N^T N d Omega . s
sv | - source vector of one matter | |
lcid | - load case id | |
eid | - element id | |
ri,ci | - row and column indices of the block (ri must be equal to ci) |
JK, 4.10.2001
Definition at line 796 of file trlineart.cpp.
References matrix::a, addv(), approx(), bf_matrix(), dofe, fillm(), gauss_points_tr(), transtop::give_elemnodes(), transtop::give_node_coord2d(), transcrsec::give_thickness(), intordcm, mxv(), nne, nnj(), nodes, Tc, and Tt.
Referenced by res_quantity_source_vector().
void res_boundary_flux | ( | vector & | f, | |
long | lcid, | |||
long | eid, | |||
long | leid | |||
) |
function assembles resulting element boundary flux vector
f | - resulting boundary flux vector of one element | |
lcid | - load case id | |
eid | - element id | |
leid | - element id |
TKr, 28.2.2004
Definition at line 1341 of file trlineart.cpp.
References vector::a, boundary_flux(), codnum(), dofe, transtop::elements, locglob(), ntm, reallocv(), elementt::transi, and Tt.
Referenced by elem_transmission_flux().
void res_capacity_matrix | ( | long | eid, | |
matrix & | cm | |||
) |
function assembles resulting element capacity matrix
eid | - element id | |
cm | - resulting capacity matrix of one element |
JK, 6.1.2002
Definition at line 1123 of file trlineart.cpp.
References capacity_matrix(), codnum(), probdesct::diagcap, dofe, mat_localize(), ntm, reallocm(), and Tp.
Referenced by capacmat(), and res_internal_fluxes().
void res_conductivity_matrix | ( | long | eid, | |
long | lcid, | |||
matrix & | km | |||
) |
function assembles resulting element conductivity matrix
eid | - element id | |
lcid | - load case id | |
km | - resulting conductivity matrix of one element |
JK, 6.1.2002
Definition at line 896 of file trlineart.cpp.
References codnum(), conductivity_matrix(), dofe, mat_localize(), ntm, and reallocm().
Referenced by conductmat().
void res_convection_vector | ( | vector & | f, | |
long | lcid, | |||
long | eid, | |||
long | leid | |||
) |
function assembles resulting element convection vector
f | - resulting convection vector of one element | |
lcid | - load case id | |
eid | - element id | |
leid | - element id |
JK, 6.1.2002
Definition at line 1169 of file trlineart.cpp.
References vector::a, cmulv(), codnum(), convection_vector(), dofe, transtop::elements, locglob(), reallocv(), elementt::transi, and Tt.
Referenced by elem_neumann_vector().
void res_internal_fluxes | ( | long | eid, | |
vector & | elemif | |||
) |
function assembles resulting element internal fluxes vector
eid | - element id | |
elemif | - resulting internal fluxes vector of one element |
JK, 6.1.2002
Definition at line 1261 of file trlineart.cpp.
References vector::a, codnum(), dofe, gtopology::give_code_numbers(), Gtt, internal_fluxes(), locglob(), mxv(), ndofe, nodalderivatives(), ntm, reallocm(), reallocv(), res_capacity_matrix(), and subv().
Referenced by internal_fluxes().
void res_l_matrix | ( | long | eid, | |
long | lcid, | |||
matrix & | lm | |||
) |
function assembles resulting element L matrix
L^T = {} B^T D { d}
eid | - element id | |
lcid | - load case id | |
lm | - resulting L matrix of one element |
TKr, 16/08/2010
Definition at line 933 of file trlineart.cpp.
References codnum(), dofe, l_matrix(), mat_localize(), ncomp, ntm, and reallocm().
Referenced by lmat().
void res_l_t_matrix | ( | long | eid, | |
long | lcid, | |||
matrix & | lm | |||
) |
function assembles resulting element L^T (L transposed) matrix
L^T = {} B^T D { d}
eid | - element id | |
lcid | - load case id | |
lm | - resulting L^T matrix of one element |
TKr, 16/08/2010
Definition at line 973 of file trlineart.cpp.
References codnum(), dofe, l_t_matrix(), mat_localize(), ncomp, ntm, and reallocm().
Referenced by ltmat().
function assembles resulting element source vector
sv | - resulting source vector of one element | |
lcid | - load case id | |
eid | - element id |
JK, 6.1.2002
Definition at line 1240 of file trlineart.cpp.
References vector::a, codnum(), dofe, locglob(), quantity_source_vector(), and reallocv().
Referenced by source_vector().
void res_transmission_vector | ( | vector & | f, | |
long | lcid, | |||
long | eid, | |||
long | leid | |||
) |
function assembles resulting element transmission vector
f | - resulting transmission vector of one element | |
lcid | - load case id | |
eid | - element id | |
leid | - element id |
JK, 6.1.2002
Definition at line 1205 of file trlineart.cpp.
References vector::a, codnum(), dofe, transtop::elements, locglob(), vector::n, ntm, nullv(), reallocv(), elementt::transi, transmission_vector(), and Tt.
Referenced by elem_newton_vector().
double total_integral | ( | long | eid, | |
vector & | nodval | |||
) |
function computes element quantity integral
eid | - element id | |
nodval | - vector of quantity nodal values |
f | - element quantity integral |
TKr, 30.1.2004
Definition at line 1297 of file trlineart.cpp.
References approx(), f, gauss_points_tr(), transtop::give_elemnodes(), transtop::give_node_coord2d(), transcrsec::give_thickness(), nne, nodes, Tc, and Tt.
void transf_coeff | ( | long | edg, | |
vector & | coeff, | |||
vector & | list, | |||
long | eid, | |||
long | ri, | |||
long | ci, | |||
long | ipp, | |||
bocontypet * | bc | |||
) |
Definition at line 1814 of file trlineart.cpp.
References ivector::a, fillv(), transtop::give_elemnodes(), lintriangle_edgnod(), nne, nned, nodes, Tm, transmat::transmission_transcoeff(), and Tt.
Referenced by transmission_matrix().
void transf_flux | ( | long | edg, | |
vector & | coeff, | |||
vector & | list, | |||
vector & | trc, | |||
vector & | trr, | |||
long | eid, | |||
long | ri, | |||
long | ci, | |||
long | ipp, | |||
bocontypet * | bc | |||
) |
Definition at line 1780 of file trlineart.cpp.
References ivector::a, fillv(), transtop::give_elemnodes(), lintriangle_edgnod(), nne, nned, nodes, Tm, transmat::transmission_flux(), and Tt.
Referenced by boundary_flux().
void transf_val | ( | long | edg, | |
vector & | nodval, | |||
vector & | list, | |||
vector & | trc, | |||
vector & | trr, | |||
long | eid, | |||
long | ri, | |||
long | ci, | |||
long | ipp, | |||
bocontypet * | bc | |||
) |
edg | - number of required edge | |
nodval | - array of transformed nodal values | |
list | - array of nodal values defined on all edges | |
trc | - | |
trr | - | |
ri,ci | - row and column indices | |
ipp | - integration point number | |
bc | - array defining boundary conditions |
JK, 19.8.2004
Definition at line 1856 of file trlineart.cpp.
References ivector::a, fillv(), transtop::give_elemnodes(), lintriangle_edgnod(), nne, nned, nodes, Tm, transmat::transmission_nodval(), and Tt.
Referenced by transmission_vector().
void transmission_matrix | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci, | |||
matrix & | km | |||
) |
function computes transmission complement to the conductivity matrix for one matter
{Gamma_3} N^T c_{tr} N dGamma
lcid | - load case id | |
eid | - element id | |
ri,ci | - row and column indices | |
km | - conductivity matrix |
JK, 19.8.2004
Definition at line 1508 of file trlineart.cpp.
References vector::a, edge_integral(), loadelt::eid, transtop::elements, loadcaset::elemload, gauss_points(), loadelt::give_bc(), transtop::give_elemnodes(), transtop::give_node_coord2d(), transcrsec::give_thickness(), loadelt::give_trc(), intordkm, elementt::ipp, transbclc::lc, loadcaset::neb, ned, nne, nned, nodes, probdesct::savemode, Tb, Tc, Tp, transf_coeff(), and Tt.
Referenced by conductivity_matrix().
void transmission_vector | ( | vector & | v, | |
long | lcid, | |||
long | eid, | |||
long | leid, | |||
long | cid | |||
) |
function computes contributions to the transmission vector
{Gamma_3} N^T c_{tr} N dGamma * nodal_external_value
tmv | - transmission vector of one matter | |
lcid | - load case id (corresponds to the row index) | |
eid | - element id | |
leid | - loaded element id | |
cid | - component id (corresponds to the column index) |
JK, 5.10.2001 TKr, 30.1.2002 - new added
Definition at line 1575 of file trlineart.cpp.
References addv(), edge_integral(), edgenodeval(), transtop::elements, loadcaset::elemload, fillm(), fillv(), gauss_points(), loadelt::give_bc(), transtop::give_elemnodes(), loadelt::give_external_nodval(), transtop::give_node_coord2d(), transcrsec::give_thickness(), loadelt::give_trc(), loadelt::give_trr(), intordkm, elementt::ipp, transbclc::lc, mxv(), ned, nne, nned, nodes, nodval(), probdesct::savemode, Tb, Tc, Tp, transf_val(), and Tt.
Referenced by res_transmission_vector().
long** dofe |
number of DOFs on the element
Definition at line 71 of file trlineart.h.
Referenced by capacity_matrix(), conductivity_matrix(), internal_fluxes(), intpointgrad(), intpointval(), intpointval_puc(), l_matrix(), l_t_matrix(), quantity_source_vector(), res_boundary_flux(), res_capacity_matrix(), res_conductivity_matrix(), res_convection_vector(), res_internal_fluxes(), res_l_matrix(), res_l_t_matrix(), res_quantity_source_vector(), res_transmission_vector(), trlineart(), and ~trlineart().
long intordb |
order of integration on boundaries
Definition at line 85 of file trlineart.h.
Referenced by trlineart().
long** intordcm |
order of integration of capacity matrix
Definition at line 87 of file trlineart.h.
Referenced by capacity_matrix(), transtop::give_intordcm(), intpointgrad(), intpointother(), intpointval(), intpointval_puc(), quantity_source_vector(), trlineart(), and ~trlineart().
long** intordkm |
order of integration of conductivity matrix
Definition at line 83 of file trlineart.h.
Referenced by boundary_flux(), capacity_matrix(), adaptivityt::check_consistency(), convection_vector(), export_gid_gauss_ptt(), transtop::give_intordkm(), intpointgrad(), intpointother(), intpointval(), intpointval_puc(), ipcoordblock(), transmission_matrix(), transmission_vector(), trlineart(), and ~trlineart().
long napfun |
number of approximated functions on the element
Definition at line 81 of file trlineart.h.
Referenced by trlineart().
long ncomp |
number of components of stress and strain tensors
Definition at line 79 of file trlineart.h.
Referenced by averd_matrix(), adaptivityt::check_consistency(), compute_error(), conductivity_matrix(), transtop::give_ncomp(), internal_fluxes(), intpointgrad(), l_matrix(), l_t_matrix(), res_l_matrix(), res_l_t_matrix(), and trlineart().
long ndofe |
total number of DOFs on the element
Definition at line 69 of file trlineart.h.
Referenced by transtop::give_ndofe(), intpointgrad(), intpointval(), intpointval_puc(), nod_others_comp(), res_internal_fluxes(), and trlineart().
long ned |
number of edges
Definition at line 75 of file trlineart.h.
Referenced by boundary_flux(), convection_vector(), transtop::give_nbobjects(), transtop::give_ned(), transmission_matrix(), transmission_vector(), and trlineart().
long** nip |
number of integration points for conductivity matrix
Definition at line 89 of file trlineart.h.
Referenced by transtop::give_nip(), trlineart(), and ~trlineart().
long nne |
number of nodes on one element
Definition at line 73 of file trlineart.h.
Referenced by boundary_flux(), capacity_matrix(), codnum(), compute_error(), conductivity_matrix(), convection_vector(), edge_integral(), elem_area(), transtop::give_nne(), grad_matrix(), internal_fluxes(), intpointgrad(), intpointother(), intpointval(), intpointval_puc(), ipcoordblock(), l_matrix(), l_t_matrix(), nod_others_comp(), quantity_source_vector(), total_integral(), transf_coeff(), transf_flux(), transf_val(), transmission_matrix(), transmission_vector(), and trlineart().
long nned |
number of nodes on one edge
Definition at line 77 of file trlineart.h.
Referenced by boundary_flux(), convection_vector(), edgenodeval(), transtop::give_nbobjects(), transtop::give_nned(), transf_coeff(), transf_flux(), transf_val(), transmission_matrix(), transmission_vector(), and trlineart().
long ntm |
number of transported matter
Definition at line 67 of file trlineart.h.
Referenced by averc_matrix(), averd_matrix(), higher_to_lower_level(), nod_others_comp(), res_boundary_flux(), res_capacity_matrix(), res_conductivity_matrix(), res_internal_fluxes(), res_l_matrix(), res_l_t_matrix(), res_transmission_vector(), trlineart(), and ~trlineart().
long** ordering |
Definition at line 90 of file trlineart.h.
Referenced by codnum(), intpointgrad(), intpointval(), intpointval_puc(), trlineart(), and ~trlineart().