#include <linhext.h>
Public Member Functions | |
| double | approx (double xi, double eta, double zeta, vector &nodval) |
| void | average_flux (long lcid, long eid, vector &avfl) |
| void | averc_matrix (long eid, matrix &lm) |
| void | averd_matrix (long eid, matrix &lm) |
| void | bf_matrix (matrix &n, double xi, double eta, double zeta) |
| 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) |
| 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) |
| double | elem_volume (long eid) |
| void | grad_matrix (matrix &gm, vector &x, vector &y, vector &z, double xi, double eta, double zeta, double &jac) |
| void | higher_to_lower_level (long eid, long *counter, double *buff) |
| void | internal_fluxes (long lcid, long eid, vector &ifl) |
| void | intpointflux (long eid) |
| void | intpointgrad (long eid) |
| void | intpointother (long eid) |
| void | intpointval (long eid) |
| void | intpointval_puc (long eid) |
| 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) |
| linhext (void) | |
| 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) |
| void | res_volume_rhs_vector (vector &f, long eid, long lcid) |
| void | surface_integral (long surf, vector &x, vector &y, vector &z, long intord, vector &gp, vector &w, vector &coef, matrix &km) |
| void | surfnodeval (long surf, vector &nodval, vector &list) |
| double | total_integral (long eid, vector &nodval) |
| void | transf_coeff (long surf, vector &coeff, vector &list, long eid, long ri, long ci, long ipp, bocontypet *bc) |
| void | transf_flux (long surf, vector &coeff, vector &list, vector &trc, vector &trr, long eid, long ri, long ci, long ipp, bocontypet *bc) |
| void | transf_val (long surf, 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) |
| void | volume_rhs_vector (long lcid, long eid, long ri, long ci, vector &vrhs) |
| ~linhext (void) | |
Public Attributes | |
| long ** | dofe |
| numbers of DOFs for particular problems | |
| long ** | intordcm |
| orders of integration of capacity matrices | |
| long ** | intordkm |
| orders of integration of conductivity matrices | |
| long | napfun |
| number of approximated functions | |
| long | ncomp |
| problem dimension | |
| long | ndofe |
| total number of DOFs on the element | |
| long | ned |
| number of edges | |
| long ** | nip |
| number of integration points | |
| long | nne |
| number of nodes on one element | |
| long | nned |
| number of nodes on one edge | |
| long | nnsurf |
| number of nodes on one surface | |
| long | nsurf |
| number of surfaces | |
| long | ntm |
| number of transported matter | |
| long ** | ordering |
| unknown ordering | |
Definition at line 6 of file linhext.h.
| linhext | ( | void | ) |
Definition at line 12 of file linhext.cpp.
References dofe, intordcm, intordkm, napfun, ncomp, ndofe, ned, nip, nne, nned, nnsurf, nomedium, nsurf, probdesct::ntm, ntm, onemedium, ordering, print_err(), probdesct::savemode, threemediacoup, probdesct::tmatt, Tp, and twomediacoup.
| ~linhext | ( | void | ) |
| double approx | ( | double | xi, | |
| double | eta, | |||
| double | zeta, | |||
| vector & | nodval | |||
| ) |
function approximates function defined by nodal values
| xi,eta,zeta | - coordinates on element | |
| nodval | - vector of nodal values |
JK, 31.3.2002
Definition at line 154 of file linhext.cpp.
References vector::a, bf_lin_hex_3d(), f, nne, and scprd().
Referenced by capacity_matrix(), intpointother(), intpointval(), intpointval_puc(), surface_integral(), and total_integral().
| void average_flux | ( | long | lcid, | |
| long | eid, | |||
| vector & | avfl | |||
| ) |
function computes average of flux of selected medium
| lcid | - load case id, it is id of the medium | |
| eid | - element id | |
| avfl | - vector of average flux |
JK, 12. 8. 2014
Definition at line 441 of file linhext.cpp.
References vector::a, addv(), cmulv(), elem_volume(), transtop::elements, gauss_points(), transtop::give_node_coord3d(), transmat::givefluxes(), grad, intordkm, elementt::ipp, jac_3d(), ncomp, nne, probdesct::ntm, reallocv(), probdesct::savemode, Tm, Tp, and Tt.
Referenced by averageflux().
| void averc_matrix | ( | long | eid, | |
| matrix & | lm | |||
| ) |
function assembles average C matrix
| eid | - element id | |
| lm | - resulting C matrix of one element |
TKr, 05/04/2011
Definition at line 1265 of file linhext.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, 05/04/2011
Definition at line 1205 of file linhext.cpp.
References transtop::elements, elementt::ipp, mat_localize(), transmat::matcond(), ncomp, ntm, probdesct::savemode, Tm, Tp, and Tt.
Referenced by averdmat().
| void bf_matrix | ( | matrix & | n, | |
| double | xi, | |||
| double | eta, | |||
| double | zeta | |||
| ) |
function assembles matrix of base functions
| n | - matrix of base functions | |
| xi,eta,zeta | - natural coordinates |
MK, 26.2.2002
Definition at line 573 of file linhext.cpp.
References matrix::a, bf_lin_hex_3d(), and fillm().
Referenced by capacity_matrix(), conductivity_matrix(), hexahedc::lower_cap_coup_matrix(), hexahedc::lower_cond_coup_matrix(), quantity_source_vector(), surface_integral(), hexahedc::upper_cap_coup_matrix(), hexahedc::upper_cond_coup_matrix(), and hexahedc::upper_cond_coup_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
| v | - 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 1851 of file linhext.cpp.
References vector::a, addv(), transtop::elements, loadcaset::elemload, fillm(), fillv(), gauss_points(), loadelt::give_bc(), transtop::give_node_coord3d(), loadelt::give_nodval(), loadelt::give_trc(), loadelt::give_trr(), intordkm, elementt::ipp, transbclc::lc, mxv(), nne, nodval(), nsurf, probdesct::savemode, surface_integral(), Tb, Tp, transf_coeff(), transf_flux(), and Tt.
Referenced by res_boundary_flux().
| void capacity_matrix | ( | long | eid, | |
| long | ri, | |||
| long | ci, | |||
| matrix & | cm | |||
| ) |
function computes capacity matrix of one transported matter finite element with tri-linear approximation functions
| eid | - number of element | |
| ri,ci | - row and column indices of the computed block in the resulting matrix | |
| cm | - capacity matrix |
MK, 26.2.2002
Definition at line 825 of file linhext.cpp.
References matrix::a, approx(), bf_matrix(), transmat::capcoeff(), dofe, transtop::elements, fillm(), gauss_points(), transcrsec::give_density(), transtop::give_elemnodes(), transtop::give_node_coord3d(), intordcm, intordkm, elementt::ipp, jac_3d(), matrix::m, matrix::n, nne, nnj(), nodes, print_err(), probdesct::savemode, Tc, Tm, Tp, and Tt.
Referenced by res_capacity_matrix().
| void codnum | ( | long * | cn, | |
| long | ri | |||
| ) |
Definition at line 138 of file linhext.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(), hexahedc::res_lower_cap_coup_matrix(), hexahedc::res_lower_cond_coup_matrix(), res_quantity_source_vector(), res_transmission_vector(), hexahedc::res_upper_cap_coup_matrix(), hexahedc::res_upper_cond_coup_matrix(), hexahedc::res_upper_cond_coup_vector(), and res_volume_rhs_vector().
| void conductivity_matrix | ( | long | lcid, | |
| long | eid, | |||
| long | ri, | |||
| long | ci, | |||
| matrix & | km | |||
| ) |
function computes conductivity matrix of one transported meduim
| lcid | - load case id | |
| eid | - element id | |
| ri,ci | - row and column index | |
| km | - conductivity matrix |
JK, 9.3.2002
Definition at line 620 of file linhext.cpp.
References matrix::a, allocm(), bdbj(), bdbjac(), bf_matrix(), dofe, transtop::elements, fillm(), gauss_points(), transtop::give_elemnodes(), transtop::give_node_coord3d(), grad_matrix(), intordkm, elementt::ipp, transmat::matcond(), transmat::matcond2(), ncomp, nne, nodes, print_err(), reallocm(), probdesct::savemode, 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 | - | |
| eid | - element id | |
| leid | - id of loaded element | |
| ri,ci | - row and column indices |
JK, 19.8.2004
Definition at line 1650 of file linhext.cpp.
References vector::a, addv(), transtop::elements, loadcaset::elemload, fillm(), fillv(), gauss_points(), loadelt::give_bc(), transtop::give_node_coord3d(), loadelt::give_nodval(), intordkm, elementt::ipp, transbclc::lc, mxv(), nne, nodval(), nsurf, probdesct::savemode, surface_integral(), surfnodeval(), Tb, Tp, and Tt.
Referenced by res_convection_vector().
| double elem_volume | ( | long | eid | ) |
function assembles volume of one element
| eid | - element id |
TKr, 05/04/2011
Definition at line 1296 of file linhext.cpp.
References dofe, transtop::give_node_coord3d(), grad_matrix(), ncomp, nne, print_err(), Tt, and volume.
Referenced by average_flux(), avercmat(), and averdmat().
| void grad_matrix | ( | matrix & | gm, | |
| vector & | x, | |||
| vector & | y, | |||
| vector & | z, | |||
| double | xi, | |||
| double | eta, | |||
| double | zeta, | |||
| double & | jac | |||
| ) |
function assembles gradient of matrix of base functions
| gm | - gradient matrix | |
| x,y,z | - array containing node coordinates | |
| xi,eta,zeta | - natural coorodinates | |
| jac | - Jacobian |
MK, 27.2.2002
Definition at line 589 of file linhext.cpp.
References vector::a, derivatives_3d(), dx_bf_lin_hex_3d(), dy_bf_lin_hex_3d(), dz_bf_lin_hex_3d(), fillm(), and nne.
Referenced by conductivity_matrix(), elem_volume(), internal_fluxes(), intpointgrad(), l_matrix(), l_t_matrix(), and volume_rhs_vector().
| 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, 23.8.2011
Definition at line 2191 of file linhext.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 3D problems for one transported matter
| lcid | - number of load case | |
| eid | - number of element | |
| ifl | - vector of internal fluxes |
JK, 31.3.2002
Definition at line 932 of file linhext.cpp.
References vector::a, addv(), cmulv(), transmat::computenlfluxes(), dofe, transtop::elements, gauss_points(), transtop::give_elemnodes(), transtop::give_node_coord3d(), transmat::givefluxes(), grad_matrix(), intordkm, elementt::ipp, mtxv(), ncomp, nne, nodes, print_err(), reallocv(), probdesct::savemode, Tm, Tp, and Tt.
Referenced by res_internal_fluxes().
| void intpointflux | ( | long | eid | ) |
function computes fluxes in integration points
| eid | - element id |
JK, 12.8.2014
Definition at line 389 of file linhext.cpp.
References addv(), transtop::elements, transmat::givegrad(), grad, intordkm, elementt::ipp, ll, transmat::matcond(), mxv(), ncomp, probdesct::ntm, probdesct::savemode, transmat::storeflux(), Tm, Tp, and Tt.
Referenced by intpointfluxes().
| void intpointgrad | ( | long | eid | ) |
function computes gradients in integration points
| eid | - element id |
JK, 31.3.2002
Definition at line 313 of file linhext.cpp.
References vector::a, ivector::a, dofe, transtop::elements, elemvalues(), gauss_points(), transtop::give_code_numbers(), transtop::give_node_coord3d(), grad, grad_matrix(), intordcm, intordkm, elementt::ipp, mxv(), ncomp, ndofe, nne, probdesct::ntm, ordering, 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 490 of file linhext.cpp.
References vector::a, approx(), transtop::elements, gauss_points(), 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, 31.3.2002
Definition at line 171 of file linhext.cpp.
References vector::a, ivector::a, approx(), intpointst::av, dofe, transtop::elements, elemvalues(), gauss_points(), 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, 05/04/2011
Definition at line 241 of file linhext.cpp.
References vector::a, ivector::a, approx(), intpointst::av, dofe, transtop::elements, elemvalues_puc(), gauss_points(), 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_puc().
| 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, 05/04/2011
Definition at line 698 of file linhext.cpp.
References cmulm(), dofe, transtop::elements, fillm(), gauss_points(), transtop::give_elemnodes(), transtop::give_node_coord3d(), grad_matrix(), intordkm, elementt::ipp, transmat::matcond(), mxm(), ncomp, nne, nodes, print_err(), reallocm(), probdesct::savemode, 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, 05/04/2011
Definition at line 762 of file linhext.cpp.
References cmulm(), dofe, transtop::elements, fillm(), gauss_points(), transtop::give_elemnodes(), transtop::give_node_coord3d(), grad_matrix(), intordkm, elementt::ipp, transmat::matcond(), mtxm(), ncomp, nne, nodes, print_err(), reallocm(), probdesct::savemode, 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 1587 of file linhext.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.
Referenced by compute_nodeotherst_comp().
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, 9.3.2002
Definition at line 885 of file linhext.cpp.
References matrix::a, addv(), bf_matrix(), dofe, fillm(), gauss_points(), transtop::give_node_coord3d(), intordcm, jac_3d(), mxv(), nne, nnj(), print_err(), 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 1554 of file linhext.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 resultant element capacity matrix
| eid | - element id | |
| cm | - resulting capacity matrix of one element |
JK, 9.3.2002
Definition at line 1329 of file linhext.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, 9.3.2002
Definition at line 994 of file linhext.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 | - loaded element id |
JK, 6.1.2002
Definition at line 1375 of file linhext.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 1464 of file linhext.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, 05/04/2011
Definition at line 1122 of file linhext.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, 05/04/2011
Definition at line 1164 of file linhext.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 1441 of file linhext.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 1409 of file linhext.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().
| void res_volume_rhs_vector | ( | vector & | f, | |
| long | eid, | |||
| long | lcid | |||
| ) |
function assembles resulting element volume right-hand side
| eid | - element id | |
| lcid | - load case id | |
| f | - resulting volume right-hand side vector of one element |
TKr, 12/5/2011
Definition at line 1095 of file linhext.cpp.
References vector::a, codnum(), dofe, locglob(), ntm, reallocv(), and volume_rhs_vector().
Referenced by volume_rhs_vector().
| void surface_integral | ( | long | surf, | |
| vector & | x, | |||
| vector & | y, | |||
| vector & | z, | |||
| long | intord, | |||
| vector & | gp, | |||
| vector & | w, | |||
| vector & | coef, | |||
| matrix & | km | |||
| ) |
function integrates N^T c N over surface
| surf | - surface id (number of surface) | |
| x,y,z | - coordinates of element nodes | |
| intord | - order of numerical integration | |
| gp,w | - coordinates and weights of integration points | |
| coef | - array of nodal values of coefficient | |
| km | - output matrix |
JK
Definition at line 1917 of file linhext.cpp.
References matrix::a, approx(), bf_matrix(), jac2d_3d(), 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 surface
| surf | - number of required surface | |
| nodval | - array of nodal values | |
| list | - array of nodal values defined on all surfaces |
JK, 19.8.2004
Definition at line 2167 of file linhext.cpp.
References ivector::a, fillv(), linhexahedral_surfnod(), and nnsurf.
Referenced by convection_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 1505 of file linhext.cpp.
References vector::a, approx(), f, gauss_points(), transtop::give_elemnodes(), transtop::give_node_coord3d(), jac_3d(), nne, nodes, print_err(), and Tt.
Referenced by elem_total_integral().
| void transf_coeff | ( | long | surf, | |
| vector & | coeff, | |||
| vector & | list, | |||
| long | eid, | |||
| long | ri, | |||
| long | ci, | |||
| long | ipp, | |||
| bocontypet * | bc | |||
| ) |
Definition at line 2081 of file linhext.cpp.
References ivector::a, fillv(), transtop::give_elemnodes(), linhexahedral_surfnod(), nne, nnsurf, nodes, Tm, transmat::transmission_transcoeff(), and Tt.
Referenced by boundary_flux(), transmission_matrix(), and transmission_vector().
| void transf_flux | ( | long | surf, | |
| vector & | coeff, | |||
| vector & | list, | |||
| vector & | trc, | |||
| vector & | trr, | |||
| long | eid, | |||
| long | ri, | |||
| long | ci, | |||
| long | ipp, | |||
| bocontypet * | bc | |||
| ) |
function
| edg | - edge id | |
| coeff | - array of | |
| list | - array of nodal values prescribed on boundary | |
| trc | - array of transmission coefficients | |
| trr | - array of transmission/radiation coefficients | |
| eid | - element id | |
| ri,ci | - row and column indices | |
| ipp | - integration point id | |
| bc | - array describing type of boundary condition |
Definition at line 2047 of file linhext.cpp.
References ivector::a, fillv(), transtop::give_elemnodes(), linhexahedral_surfnod(), nne, nnsurf, nodes, Tm, transmat::transmission_flux(), and Tt.
Referenced by boundary_flux().
| void transf_val | ( | long | surf, | |
| vector & | nodval, | |||
| vector & | list, | |||
| vector & | trc, | |||
| vector & | trr, | |||
| long | eid, | |||
| long | ri, | |||
| long | ci, | |||
| long | ipp, | |||
| bocontypet * | bc | |||
| ) |
| surf | - number of required surface | |
| nodval | - array of transformed nodal values | |
| list | - array of nodal values defined on all surfaces | |
| trc | - | |
| trr | - | |
| ri,ci | - row and column indices | |
| ipp | - integration point number | |
| bc | - array defining boundary conditions |
JK, 19.8.2004
Definition at line 2123 of file linhext.cpp.
References ivector::a, fillv(), transtop::give_elemnodes(), linhexahedral_surfnod(), nne, nnsurf, 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 | - transmission part of conductivity matrix |
JK, 19.8.2004
Definition at line 1720 of file linhext.cpp.
References vector::a, loadelt::eid, transtop::elements, loadcaset::elemload, gauss_points(), loadelt::give_bc(), transtop::give_node_coord3d(), loadelt::give_trc(), intordkm, elementt::ipp, transbclc::lc, loadcaset::neb, nne, nsurf, probdesct::savemode, surface_integral(), Tb, 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 | |
| lcid | - load case id | |
| eid | - element id | |
| leid | - loaded element id | |
| ri,ci | - row and column indices |
JK, 5.10.2001 TKr, 30.1.2004 - new added
Definition at line 1784 of file linhext.cpp.
References vector::a, addv(), transtop::elements, loadcaset::elemload, fillm(), fillv(), gauss_points(), loadelt::give_bc(), loadelt::give_external_nodval(), transtop::give_node_coord3d(), loadelt::give_trc(), loadelt::give_trr(), intordkm, elementt::ipp, transbclc::lc, mxv(), nne, nodval(), nsurf, probdesct::savemode, surface_integral(), Tb, Tp, transf_coeff(), transf_val(), and Tt.
Referenced by res_transmission_vector().
| void volume_rhs_vector | ( | long | lcid, | |
| long | eid, | |||
| long | ri, | |||
| long | ci, | |||
| vector & | vrhs | |||
| ) |
function computes contributions to the right-hand side - volume integral
{Omega} B^T D dOmega
| tmv | - transmission 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) |
TKr, 12/5/2011
Definition at line 1027 of file linhext.cpp.
References vector::a, dofe, transtop::elements, fillm(), gauss_points(), transtop::give_elemnodes(), transtop::give_node_coord3d(), grad_matrix(), intordkm, elementt::ipp, vector::n, ncomp, nne, nnjac(), nodes, print_err(), reallocm(), probdesct::savemode, Tm, Tp, Tt, and transmat::volume_rhs().
Referenced by res_volume_rhs_vector().
| long** dofe |
numbers of DOFs for particular problems
Definition at line 66 of file linhext.h.
Referenced by capacity_matrix(), conductivity_matrix(), elem_volume(), internal_fluxes(), intpointgrad(), intpointval(), intpointval_puc(), l_matrix(), l_t_matrix(), linhext(), 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(), res_volume_rhs_vector(), volume_rhs_vector(), and ~linhext().
| long** intordcm |
orders of integration of capacity matrices
Definition at line 88 of file linhext.h.
Referenced by capacity_matrix(), transtop::give_intordcm(), intpointgrad(), intpointother(), intpointval(), intpointval_puc(), linhext(), quantity_source_vector(), and ~linhext().
| long** intordkm |
orders of integration of conductivity matrices
Definition at line 86 of file linhext.h.
Referenced by average_flux(), boundary_flux(), capacity_matrix(), conductivity_matrix(), convection_vector(), export_gid_gauss_ptt(), transtop::give_intordkm(), internal_fluxes(), intpointflux(), intpointgrad(), intpointother(), intpointval(), intpointval_puc(), l_matrix(), l_t_matrix(), linhext(), transmission_matrix(), transmission_vector(), volume_rhs_vector(), and ~linhext().
| long napfun |
| long ncomp |
problem dimension
Definition at line 80 of file linhext.h.
Referenced by average_flux(), averd_matrix(), conductivity_matrix(), elem_volume(), transtop::give_ncomp(), internal_fluxes(), intpointflux(), intpointgrad(), l_matrix(), l_t_matrix(), linhext(), res_l_matrix(), res_l_t_matrix(), and volume_rhs_vector().
| long ndofe |
total number of DOFs on the element
Definition at line 64 of file linhext.h.
Referenced by transtop::give_ndofe(), hexahedc::hexahedc(), intpointgrad(), intpointval(), intpointval_puc(), linhext(), nod_others_comp(), and res_internal_fluxes().
| long ned |
number of edges
Definition at line 70 of file linhext.h.
Referenced by transtop::give_ned(), and linhext().
| long** nip |
number of integration points
Definition at line 82 of file linhext.h.
Referenced by transtop::give_nip(), linhext(), and ~linhext().
| long nne |
number of nodes on one element
Definition at line 68 of file linhext.h.
Referenced by approx(), average_flux(), boundary_flux(), capacity_matrix(), codnum(), conductivity_matrix(), convection_vector(), elem_volume(), transtop::give_nne(), grad_matrix(), hexahedc::hexahedc(), internal_fluxes(), intpointgrad(), intpointother(), intpointval(), intpointval_puc(), l_matrix(), l_t_matrix(), linhext(), nod_others_comp(), quantity_source_vector(), surface_integral(), total_integral(), transf_coeff(), transf_flux(), transf_val(), transmission_matrix(), transmission_vector(), and volume_rhs_vector().
| long nned |
number of nodes on one edge
Definition at line 72 of file linhext.h.
Referenced by transtop::give_nned(), and linhext().
| long nnsurf |
number of nodes on one surface
Definition at line 76 of file linhext.h.
Referenced by transtop::give_nbobjects(), transtop::give_nnsurf(), linhext(), surfnodeval(), transf_coeff(), transf_flux(), and transf_val().
| long nsurf |
number of surfaces
Definition at line 74 of file linhext.h.
Referenced by boundary_flux(), convection_vector(), transtop::give_nbobjects(), transtop::give_nsurf(), linhext(), transmission_matrix(), and transmission_vector().
| long ntm |
number of transported matter
Definition at line 62 of file linhext.h.
Referenced by averc_matrix(), averd_matrix(), higher_to_lower_level(), linhext(), 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(), res_volume_rhs_vector(), and ~linhext().
| long** ordering |
unknown ordering
Definition at line 84 of file linhext.h.
Referenced by codnum(), intpointgrad(), intpointval(), intpointval_puc(), linhext(), and ~linhext().
1.6.2