linbart Class Reference

#include <jk_linbart.h>

List of all members.

Public Member Functions

double approx (double xi, vector &nodval)
double approx (double xi, vector &nodval)
void bf_matrix (matrix &n, double xi)
void bf_matrix (matrix &n, double xi)
void boundary_flux (vector &tmv, long lcid, long eid, long leid, long ri, long ci)
void boundary_flux (vector &tmv, long lcid, long eid, long leid, long ri, long ci)
void capacity_matrix (long eid, long ri, long ci, matrix &cm)
void capacity_matrix (long eid, long ri, long ci, matrix &cm)
void codnum (long *cn, long ri)
void codnum (long *cn, long ri)
void conductivity_matrix (long lcid, long eid, long ri, long ci, matrix &km)
void conductivity_matrix (long lcid, long eid, long ri, long ci, matrix &km)
void convection_vector (vector &f, long lcid, long eid, long leid, long ri, long ci)
void convection_vector (vector &f, long lcid, long eid, long leid, long ri, long ci)
void grad_matrix (matrix &gm, vector &x, double xi, double &jac)
void grad_matrix (matrix &gm, vector &x, double xi, double &jac)
void internal_fluxes (long lcid, long eid, vector &ifl)
void internal_fluxes (long lcid, long eid, vector &ifl)
void intpointflux (long eid)
void intpointgrad (long eid)
void intpointgrad (long eid)
void intpointother (long eid)
void intpointval (long eid, vector &nodval, vector &ipval)
void intpointval (long eid)
void intpointval (long eid)
 linbart (void)
 linbart (void)
void nod_fluxes_ip (long eid)
void nod_grads_ip (long eid)
void nod_others (long lcid, long eid, long ri, long ci)
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 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_boundary_flux (vector &f, long lcid, long eid, long leid)
void res_capacity_matrix (long eid, matrix &cm)
void res_capacity_matrix (long eid, matrix &cm)
void res_conductivity_matrix (long eid, long lcid, matrix &km)
void res_conductivity_matrix (long eid, long lcid, matrix &km)
void res_convection_vector (vector &f, long lcid, long eid, long leid)
void res_convection_vector (vector &f, long lcid, long eid, long leid)
void res_internal_fluxes (long eid, vector &elemif)
void res_internal_fluxes (long eid, vector &elemif)
void res_quantity_source_vector (vector &sv, vector &nodval, long lcid, long eid)
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_transmission_vector (vector &f, long lcid, long eid, long leid)
void res_volume_rhs_vector (vector &f, long eid, long lcid)
double total_integral (long eid, vector &nodval)
double total_integral (long eid, vector &nodval)
double total_integral_ip (long eid, long varid)
void transmission_matrix (long lcid, long eid, long ri, long ci, matrix &km)
void transmission_matrix (long lcid, long eid, long ri, long ci, matrix &km)
void transmission_vector (vector &tmv, long lcid, long eid, long leid, long cid)
void transmission_vector (vector &tmv, long lcid, long eid, long leid, long ri, long ci)
void transq_nodval (long eid, vector &nodval, nonmechquant nmq)
void transq_nodval_comp (long eid, vector &nodval, long ncne, long nq, nonmechquant *qt)
void volume_rhs_vector (long lcid, long eid, long ri, long ci, vector &vrhs)
 ~linbart (void)
 ~linbart (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 nen
 number of end nodes
long ** nip
 number of integration points
long nne
 number of nodes on one element
long nned
 number of nodes on one edge
long ntm
 number of transported matters
long ** ordering
 unknown ordering

Detailed Description

class linbart defines onedimensional element with linear approximation functions

Definition at line 10 of file jk_linbart.h.


Constructor & Destructor Documentation

linbart ( void   ) 
~linbart ( void   ) 

Definition at line 98 of file jk_linbart.cpp.

References dofe, intordcm, intordkm, nip, ntm, and ordering.

linbart ( void   ) 
~linbart ( void   ) 

Member Function Documentation

double approx ( double  xi,
vector nodval 
)
double approx ( double  xi,
vector nodval 
)

function approximates function defined by nodal values

Parameters:
xi - natural coordinate on element
nodval - vector of nodal values

JK, 31.3.2002

Definition at line 132 of file jk_linbart.cpp.

References vector::a, bf_lin_1d(), f, nne, and scprd().

Referenced by intpointother(), intpointval(), barelc::intpointval(), barelc::lower_internal_fluxes(), total_integral(), total_integral_ip(), transmission_vector(), and volume_rhs_vector().

void bf_matrix ( matrix n,
double  xi 
)
void bf_matrix ( matrix n,
double  xi 
)

function assembles matrix of base functions

Parameters:
n - matrix of base functions
xi - natural coordinate

JK, 31.3.2002

function assembles matrix of base functions

Parameters:
n - matrix of base functions
xi - natural coordinate

JK, 31.3.2002

Definition at line 282 of file jk_linbart.cpp.

References matrix::a, bf_lin_1d(), and fillm().

Referenced by boundary_flux(), capacity_matrix(), conductivity_matrix(), convection_vector(), barelc::lower_cap_coup_matrix(), barelc::lower_cond_coup_matrix(), quantity_source_vector(), transmission_matrix(), transmission_vector(), barelc::upper_cap_coup_matrix(), barelc::upper_cond_coup_matrix(), and barelc::upper_cond_coup_vector().

void boundary_flux ( vector tmv,
long  lcid,
long  eid,
long  leid,
long  ri,
long  ci 
)
void boundary_flux ( vector tmv,
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

Parameters:
tmv - vector of boundary fluxes
lcid - load case id
eid - element id
leid - element id
ri,ci - row and column indeces of the computed block in the resulting matrix

TKr, 28.2.2004

function computes contributions to the boundary flux from transmission vector

{Gamma_3} N^T c_{tr} N dGamma * nodal_external_value

Parameters:
tmv - vector of boundary fluxes
lcid - load case id
eid - element id
leid - element id
ri,ci - row and column indices of the computed block in the resulting matrix

TKr, 28.2.2004

Definition at line 1024 of file jk_linbart.cpp.

References matrix::a, addv(), loadelt::bc, bf_matrix(), dofe, transtop::elements, loadcaset::elemload, fillm(), transcrsec::give_area(), transtop::give_elemnodes(), transtop::give_node_coord1d(), elementt::ipp, transbclc::lc, mxv(), nne, nnj(), nodes, nodval(), probdesct::savemode, Tb, Tc, Tm, Tp, transmat::transmission_flux(), and Tt.

Referenced by res_boundary_flux().

void capacity_matrix ( long  eid,
long  ri,
long  ci,
matrix cm 
)
void capacity_matrix ( long  eid,
long  ri,
long  ci,
matrix cm 
)

function computes capacity matrix of 1D problems for one transported matter finite element with bilinear approximation functions

Parameters:
eid - number of element
ri,ci - row and column indeces of the computed block in the resulting matrix
cm - capacity matrix

JK, 31.3.2002

function computes capacity matrix of 1D problems for one transported matter finite element with bilinear approximation functions

Parameters:
eid - number of element
ri,ci - row and column indices of the computed block in the resulting matrix
cm - capacity matrix

JK, 31.3.2002

Definition at line 393 of file jk_linbart.cpp.

References matrix::a, vector::a, bf_matrix(), transmat::capcoeff(), dofe, transtop::elements, fillm(), gauss_points(), transcrsec::give_area(), transcrsec::give_densitye(), transtop::give_elemnodes(), transtop::give_node_coord1d(), intordcm, intordkm, elementt::ipp, jac_1d(), 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 
)
void codnum ( long *  cn,
long  ri 
)
void conductivity_matrix ( long  lcid,
long  eid,
long  ri,
long  ci,
matrix km 
)
void conductivity_matrix ( long  lcid,
long  eid,
long  ri,
long  ci,
matrix km 
)

function computes conductivity matrix of 1D problems for one transported matter finite element with linear approximation functions

Parameters:
lcid - number of load case
eid - number of element
ri,ci - row and column indeces of the computed block in the resulting matrix
km - conductivity matrix

JK, 31.3.2002

function computes conductivity matrix of 1D problems for one transported matter finite element with linear approximation functions

Parameters:
lcid - number of load case
eid - number of element
ri,ci - row and column indices of the computed block in the resulting matrix
km - conductivity matrix

JK, 31.3.2002

Definition at line 320 of file jk_linbart.cpp.

References matrix::a, vector::a, allocm(), bdbj(), bdbjac(), bf_matrix(), destrm(), dofe, transtop::elements, fillm(), gauss_points(), transcrsec::give_area(), transtop::give_elemnodes(), transtop::give_node_coord1d(), grad_matrix(), intordkm, elementt::ipp, transmat::matcond(), transmat::matcond2(), ncomp, nne, nodes, probdesct::savemode, Tc, threemediacoup, Tm, probdesct::tmatt, Tp, elementt::transi, transmission_matrix(), and Tt.

Referenced by res_conductivity_matrix().

void convection_vector ( vector f,
long  lcid,
long  eid,
long  leid,
long  ri,
long  ci 
)
void convection_vector ( vector f,
long  lcid,
long  eid,
long  leid,
long  ri,
long  ci 
)

function computes contribution to the convection vector

{Gamma_2} N^T N dGamma * nodal_flux_values

Parameters:
f - convection 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, 8.10.2001

function computes contribution to the convection vector

{Gamma_2} N^T N dGamma * nodal_flux_values

Parameters:
f - convection vector of one matter
lcid - load case id
eid - element id
leid - loaded element id
ri,ci - row and column indices of the block (ri must be equal to ci)

JK, 8.10.2001

Definition at line 670 of file jk_linbart.cpp.

References matrix::a, addv(), loadelt::bc, bf_matrix(), dofe, loadcaset::elemload, fillm(), transcrsec::give_area(), transtop::give_elemnodes(), transtop::give_node_coord1d(), transbclc::lc, mxv(), nne, nnj(), nodes, nodval(), Tb, Tc, and Tt.

Referenced by res_convection_vector().

void grad_matrix ( matrix gm,
vector x,
double  xi,
double &  jac 
)
void grad_matrix ( matrix gm,
vector x,
double  xi,
double &  jac 
)

function assembles gradient of matrix of base functions

Parameters:
gm - gradient matrix
x - array containing node coordinates
xi - natural coordinate

JK, 31.3.2002

function assembles gradient of matrix of base functions

Parameters:
gm - gradient matrix
x - array containing node coordinates
xi - natural coordinate
jac - jacobian

JK, 31.3.2002

Definition at line 297 of file jk_linbart.cpp.

References vector::a, derivatives_1d(), dx_bf_lin_1d(), and nne.

Referenced by conductivity_matrix(), internal_fluxes(), intpointgrad(), barelc::intpointgrad(), barelc::lower_internal_fluxes(), and volume_rhs_vector().

void internal_fluxes ( long  lcid,
long  eid,
vector ifl 
)
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

Parameters:
lcid - number of load case
eid - number of element
ifl - vector of internal fluxes

JK, 31.3.2002

Definition at line 725 of file jk_linbart.cpp.

References addv(), cmulv(), transmat::computenlfluxes(), dofe, transtop::elements, gauss_points(), transcrsec::give_area(), transtop::give_node_coord1d(), transmat::givefluxes(), grad_matrix(), intordkm, elementt::ipp, mtxv(), ncomp, nne, probdesct::savemode, Tc, Tm, Tp, and Tt.

Referenced by res_internal_fluxes().

void intpointflux ( long  eid  ) 

function computes correct fluxes at integration points on element

Parameters:
eid - element id

TKr, 01/02/2010

Definition at line 1552 of file linbart.cpp.

References transmat::computenlfluxes(), transtop::elements, probdesct::fluxcomp, elementt::ipp, probdesct::ntm, probdesct::savemode, Tm, Tp, and Tt.

Referenced by intpointfluxes(), and nod_fluxes_ip().

void intpointgrad ( long  eid  ) 
void intpointgrad ( long  eid  ) 

function computes values in integration points from nodal values

Parameters:
eid - element id

JK, 31.3.2003

Definition at line 214 of file jk_linbart.cpp.

References vector::a, ivector::a, allocv(), destrv(), dofe, transtop::elements, gauss_points(), transtop::give_code_numbers(), transtop::give_node_coord2d(), grad, grad_matrix(), intordcm, intordkm, elementt::ipp, mxv(), ncomp, ndofe, nne, nodalvalues(), probdesct::ntm, ordering, 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

Parameters:
eid - element id

JK, 17.9.2005

Definition at line 404 of file linbart.cpp.

References vector::a, approx(), transtop::elements, gauss_points(), transtop::give_elemnodes(), intordcm, 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,
vector nodval,
vector ipval 
)

function computes values in integration points from nodal values this function is used for arbitrary variable, not only for variables used as unknowns in the problem

Parameters:
eid - element id
nodval - nodal values
ipval - value at integration points
Return values:
Function returns approximated values at integration points in the vector ipval.

12/06/2012 TKr according to JK

Definition at line 279 of file linbart.cpp.

References vector::a, approx(), transtop::elements, gauss_points(), intordcm, intordkm, elementt::ipp, probdesct::ntm, reallocv(), probdesct::savemode, Tp, and Tt.

void intpointval ( long  eid  ) 
void intpointval ( long  eid  ) 

function computes values in integration points from nodal values

Parameters:
eid - element id

JK, 31.3.2003

Definition at line 151 of file jk_linbart.cpp.

References vector::a, ivector::a, allocv(), approx(), intpointst::av, destrv(), dofe, transtop::elements, gauss_points(), transtop::give_code_numbers(), intordcm, intordkm, transmat::ip, elementt::ipp, ndofe, nne, nodalvalues(), probdesct::ntm, ntm, ordering, probdesct::savemode, Tm, Tp, and Tt.

Referenced by elem_intpointvalt(), and intpointvalues().

void nod_fluxes_ip ( long  eid  ) 

function computes fluxes in nodes of element

Parameters:
eid - element id

TKr, 01/02/2010

Definition at line 1628 of file linbart.cpp.

References transtop::elements, flux, transtop::give_elemnodes(), transmat::givefluxes(), intpointflux(), elementt::ipp, ncomp, nne, nod, transtop::nodes, nodip_bar(), probdesct::ntm, nodet::storeflux(), Tm, Tp, and Tt.

Referenced by compute_nodefluxes().

void nod_grads_ip ( long  eid  ) 

function computes gradients in nodes of element

Parameters:
eid - element id

TKr, 01/02/2010

Definition at line 1593 of file linbart.cpp.

References transtop::elements, transtop::give_elemnodes(), transmat::givegrad(), grad, elementt::ipp, ncomp, nne, nod, transtop::nodes, nodip_bar(), probdesct::ntm, nodet::storegrad(), Tm, Tp, and Tt.

Referenced by compute_nodegrads().

void nod_others ( long  lcid,
long  eid,
long  ri,
long  ci 
)

function computes other values in nodes of element

Parameters:
lcid - load case id
eid - element id
ri - row index
ci - column index

10.5.2002

Definition at line 1159 of file jk_linbart.cpp.

References vector::a, ivector::a, allocv(), destrv(), transtop::elements, transtop::give_code_numbers(), transtop::give_elemnodes(), transmat::givecompother(), transmat::givencompother(), h(), elementt::ipp, ndofe, nne, nod, nodalvalues(), transtop::nodes, ntm, other, probdesct::savemode, nodet::storeother(), Tm, Tp, and Tt.

void nod_others_comp ( long  lcid,
long  eid,
long  ri,
long  ci 
)

function computes other values directly in nodes of element

Parameters:
lcid - load case id
eid - element id
ri - row index
ci - column index

TKr, 03/02/2010

Definition at line 1669 of file linbart.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, other, reallocv(), probdesct::savemode, nodet::storeother(), Tm, Tp, and Tt.

Referenced by compute_nodeotherst_comp().

void quantity_source_vector ( vector sv,
vector nodval,
long  eid,
long  ri,
long  ci 
)
void quantity_source_vector ( vector sv,
vector nodval,
long  eid,
long  ri,
long  ci 
)

function computes source vector of one matter on one element

{Omega} N^T N d Omega . s

Parameters:
sv - source vector of one matter
nodval - array of nodal values
eid - element id
sourl - type of source definition (node/element)
ri,ci - row and column indices of the block (ri must be equal to ci)

JK, 31.3.2002

function computes source vector of one matter on one element

{Omega} N^T N d Omega . s

Parameters:
sv - source vector of one matter
nodval - array of nodal values
eid - element id
ri,ci - row and column indices of the block (ri must be equal to ci)

JK, 31.3.2002

Definition at line 443 of file jk_linbart.cpp.

References matrix::a, addv(), bf_matrix(), dofe, fillm(), gauss_points(), transcrsec::give_area(), transtop::give_node_coord1d(), intordcm, jac_1d(), mxv(), nne, nnj(), Tc, and Tt.

Referenced by res_quantity_source_vector().

void res_boundary_flux ( vector f,
long  lcid,
long  eid,
long  leid 
)
void res_boundary_flux ( vector f,
long  lcid,
long  eid,
long  leid 
)

function assembles resulting element boundary flux vector

Parameters:
f - resulting boundary flux vector of one element
lcid - load case id
eid - element id
leid - element id

TKr, 28.2.2004

function assembles resulting element boundary flux vector

Parameters:
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 1115 of file jk_linbart.cpp.

References vector::a, allocv(), boundary_flux(), codnum(), destrv(), dofe, transtop::elements, locglob(), ntm, elementt::transi, and Tt.

Referenced by elem_transmission_flux().

void res_capacity_matrix ( long  eid,
matrix cm 
)
void res_capacity_matrix ( long  eid,
matrix cm 
)

function assembles resulting element capacity matrix

Parameters:
eid - element id
cm - resulting capacity matrix of one element

JK, 6.1.2002

function assembles resulting element capacity matrix

Parameters:
eid - element id
cm - resulting capacity matrix of one element

JK, 6.1.2002

Definition at line 797 of file jk_linbart.cpp.

References allocm(), capacity_matrix(), codnum(), destrm(), probdesct::diagcap, dofe, mat_localize(), ntm, and Tp.

Referenced by capacmat(), and res_internal_fluxes().

void res_conductivity_matrix ( long  eid,
long  lcid,
matrix km 
)
void res_conductivity_matrix ( long  eid,
long  lcid,
matrix km 
)

function assembles resulting element conductivity matrix

Parameters:
eid - element id
lcid - load case id
km - resulting conductivity matrix of one element

JK, 6.1.2002

function assembles resulting element conductivity matrix

Parameters:
eid - element id
lcid - load case id
km - resulting conductivity matrix of one element

JK, 6.1.2002

Definition at line 769 of file jk_linbart.cpp.

References allocm(), codnum(), conductivity_matrix(), destrm(), dofe, mat_localize(), and ntm.

Referenced by conductmat().

void res_convection_vector ( vector f,
long  lcid,
long  eid,
long  leid 
)
void res_convection_vector ( vector f,
long  lcid,
long  eid,
long  leid 
)

function assembles resulting element convection vector

Parameters:
f - resulting convection vector of one element
lcid - load case id
eid - element id
leid - element id

JK, 6.1.2002

function assembles resulting element convection vector

Parameters:
f - resulting convection vector of one element
lcid - load case id
eid - element id
leid - element id

JK, 6.1.2002

Definition at line 843 of file jk_linbart.cpp.

References vector::a, allocv(), cmulv(), codnum(), convection_vector(), destrv(), dofe, and locglob().

Referenced by elem_neumann_vector().

void res_internal_fluxes ( long  eid,
vector elemif 
)
void res_internal_fluxes ( long  eid,
vector elemif 
)

function assembles resulting element internal fluxes vector

Parameters:
eid - element id
elemif - resulting internal fluxes vector of one element

JK, 6.1.2002

Definition at line 938 of file jk_linbart.cpp.

References vector::a, allocm(), allocv(), codnum(), destrm(), destrv(), dofe, gtopology::give_code_numbers(), Gtt, internal_fluxes(), locglob(), mxv(), ndofe, nodalderivatives(), ntm, res_capacity_matrix(), and subv().

Referenced by internal_fluxes().

void res_quantity_source_vector ( vector sv,
vector nodval,
long  lcid,
long  eid 
)
void res_quantity_source_vector ( vector sv,
vector nodval,
long  lcid,
long  eid 
)

function assembles resulting element source vector

Parameters:
sv - resulting source vector of one element
lcid - load case id
eid - element id

JK, 6.1.2002

function assembles resulting element source vector

Parameters:
sv - resulting source vector of one element
lcid - load case id
eid - element id

JK, 6.1.2002

Definition at line 914 of file jk_linbart.cpp.

References vector::a, allocv(), codnum(), destrv(), dofe, locglob(), and quantity_source_vector().

Referenced by source_vector().

void res_transmission_vector ( vector f,
long  lcid,
long  eid,
long  leid 
)
void res_transmission_vector ( vector f,
long  lcid,
long  eid,
long  leid 
)

function assembles resulting element transmission vector

Parameters:
f - resulting transmission vector of one element
lcid - load case id
eid - element id
leid - element id

JK, 6.1.2002

function assembles resulting element transmission vector

Parameters:
f - resulting transmission vector of one element
lcid - load case id
eid - element id
leid - loaded element id

JK, 6.1.2002

Definition at line 870 of file jk_linbart.cpp.

References vector::a, allocv(), codnum(), destrv(), dofe, transtop::elements, locglob(), ntm, 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

Parameters:
eid - element id
lcid - load case id
f - resulting volume right-hand side vector of one element

TKr, 16.5.2007

Definition at line 1093 of file linbart.cpp.

References vector::a, codnum(), locglob(), reallocv(), and volume_rhs_vector().

Referenced by volume_rhs_vector().

double total_integral ( long  eid,
vector nodval 
)

function computes element quantity integral the quantity is stored in nodes

double total_integral ( long  eid,
vector nodval 
)

function computes element quantity integral

Parameters:
eid - element id
nodval - vector of quantity nodal values
Return values:
f - element quantity integral

TKr, 30.1.2004

function computes element quantity integral the quantity is stored in nodes

Parameters:
eid - element id
nodval - vector of quantity nodal values
Return values:
f - element quantity integral

TKr, 30.1.2004

Definition at line 981 of file jk_linbart.cpp.

References vector::a, approx(), f, gauss_points(), transcrsec::give_area(), transtop::give_elemnodes(), transtop::give_node_coord1d(), jac_1d(), nne, nodes, Tc, and Tt.

Referenced by elem_total_integral().

double total_integral_ip ( long  eid,
long  varid 
)

function computes element quantity integral the quantity is stored in integration points

function computes element quantity integral the quantity is stored in integration points

Parameters:
eid - element id
varid - id of variable required
Return values:
f - element quantity integral

JK, 3. 10. 2013

Definition at line 1377 of file linbart.cpp.

References vector::a, approx(), transtop::elements, intpointst::eqother, gauss_points(), transcrsec::give_area(), transtop::give_elemnodes(), transtop::give_node_coord1d(), transmat::ip, elementt::ipp, jac_1d(), nne, nodes, probdesct::savemode, Tc, Tm, Tp, and Tt.

Referenced by elem_total_integral_ip().

void transmission_matrix ( long  lcid,
long  eid,
long  ri,
long  ci,
matrix km 
)
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

Parameters:
lcid - number of load case
eid - number of element
ri,ci - row and column indeces
km - part of the conductivity matrix

JK, 31.3.2002 TKr, 30.1.2004 - new added

function computes transmission complement to the conductivity matrix for one matter

{Gamma_3} N^T c_{tr} N dGamma

Parameters:
lcid - number of load case
eid - number of element
ri,ci - row and column indices
km - part of the conductivity matrix

JK, 31.3.2002 TKr, 30.1.2004 - new added

Definition at line 486 of file jk_linbart.cpp.

References matrix::a, loadelt::bc, bf_matrix(), dofe, loadelt::eid, transtop::elements, loadcaset::elemload, transcrsec::give_area(), transtop::give_elemnodes(), transtop::give_node_coord1d(), elementt::ipp, transbclc::lc, matrix::m, matrix::n, loadcaset::neb, nne, nnj(), nodes, probdesct::savemode, Tb, Tc, Tm, Tp, transmat::transmission_transcoeff(), and Tt.

Referenced by conductivity_matrix().

void transmission_vector ( vector tmv,
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

Parameters:
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 787 of file linbart.cpp.

References matrix::a, addv(), approx(), bf_matrix(), transtop::elements, loadcaset::elemload, fillm(), transcrsec::give_area(), loadelt::give_bc(), transtop::give_elemnodes(), loadelt::give_external_nodval(), transtop::give_node_coord1d(), loadelt::give_trc(), loadelt::give_trr(), elementt::ipp, transbclc::lc, mxv(), nne, nnj(), nodes, nodval(), probdesct::savemode, Tb, Tc, Tm, Tp, transmat::transmission_nodval(), and Tt.

void transmission_vector ( vector tmv,
long  lcid,
long  eid,
long  leid,
long  ri,
long  ci 
)

function computes contributions to the transmission vector

{Gamma_3} N^T c_{tr} N dGamma * nodal_external_value

Parameters:
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)

JK, 5.10.2001 TKr, 30.1.2002 - new added

Definition at line 573 of file jk_linbart.cpp.

References matrix::a, addv(), loadelt::bc, bf_matrix(), dofe, transtop::elements, loadcaset::elemload, fillm(), transcrsec::give_area(), transtop::give_elemnodes(), transtop::give_node_coord1d(), elementt::ipp, transbclc::lc, mxv(), nne, nnj(), nodes, nodval(), probdesct::savemode, Tb, Tc, Tm, Tp, transmat::transmission_nodval(), and Tt.

Referenced by res_transmission_vector().

void transq_nodval ( long  eid,
vector nodval,
nonmechquant  nmq 
)

Function returns transport (non-mechanical) quantities at nodes of element. The values of selected quantity is copied from the closest integration points to element nodes.

Parameters:
eid - element id
nodval - vector of nodal values
ntq - type of non-mechanical quantity
Returns:
The function does not return anything.

12/06/2012 TKr Modified by TKo, 10.10.2013

Definition at line 1718 of file linbart.cpp.

References transtop::elements, transmat::givetransq(), elementt::ipp, nne, nodip_bar(), Tm, and Tt.

Referenced by elem_transq_nodval().

void transq_nodval_comp ( long  eid,
vector nodval,
long  ncne,
long  nq,
nonmechquant qt 
)

Function computes transport (non-mechanical) quantities in nodes of element.

Parameters:
eid - element id
nodval - vector of nodal values of all required quantities, i.e., nodal value of i-th quantity in j-th node is given by nodval[i*ncnv+j] where ncnv is the number of calculated nodes on eid-th element.
ncne - number of computed nodes on element (only first ncne of nodes is calculated)
nq - number of required transport quantities
qt - array of types of required non-mechanical, i.e. transport quantities
Returns:
The function does not return anything.

Modified by TKo, 10.12.2013

Definition at line 1752 of file linbart.cpp.

References intpointst::av, intpointst::copy(), transtop::elements, intpointst::eqother, transtop::give_elemnodes(), transmat::givetransq(), transmat::ip, elementt::ipp, transmat::mat_aux_values(), intpointst::ncompeqother, intpointst::ncompother, nne, nodalval(), nodip_bar(), intpointst::other, transmat::storeeqother(), transmat::storeother(), Tm, and Tt.

Referenced by elem_transq_nodval_comp().

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

Parameters:
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, 16.5.2007

Definition at line 1030 of file linbart.cpp.

References vector::a, approx(), transtop::elements, fillm(), gauss_points(), transcrsec::give_area(), transtop::give_elemnodes(), transtop::give_node_coord1d(), grad_matrix(), elementt::ipp, vector::n, ncomp, nne, nnjac(), nodes, reallocm(), probdesct::savemode, Tc, Tm, Tp, Tt, and transmat::volume_rhs().

Referenced by res_volume_rhs_vector().


Member Data Documentation

long ** dofe
long ** intordcm

orders of integration of capacity matrices

Definition at line 64 of file jk_linbart.h.

Referenced by capacity_matrix(), transtop::give_intordcm(), intpointgrad(), intpointother(), intpointval(), linbart(), quantity_source_vector(), and ~linbart().

long ** intordkm

orders of integration of conductivity matrices

Definition at line 62 of file jk_linbart.h.

Referenced by capacity_matrix(), conductivity_matrix(), transtop::give_intordkm(), internal_fluxes(), intpointgrad(), intpointval(), linbart(), and ~linbart().

long napfun

number of approximated functions

Definition at line 54 of file jk_linbart.h.

Referenced by linbart().

long ncomp
long ndofe

total number of DOFs on the element

Definition at line 44 of file jk_linbart.h.

Referenced by barelc::barelc(), transtop::give_ndofe(), intpointgrad(), intpointval(), linbart(), nod_others(), nod_others_comp(), and res_internal_fluxes().

long ned

number of edges

Definition at line 50 of file jk_linbart.h.

Referenced by transtop::give_ned(), and linbart().

long nen

number of end nodes

Definition at line 69 of file linbart.h.

Referenced by transtop::give_nbobjects().

long ** nip

number of integration points

Definition at line 58 of file jk_linbart.h.

Referenced by transtop::give_nip(), linbart(), and ~linbart().

long nne
long nned

number of nodes on one edge

Definition at line 52 of file jk_linbart.h.

Referenced by transtop::give_nned(), and linbart().

long ntm
long ** ordering

unknown ordering

Definition at line 60 of file jk_linbart.h.

Referenced by codnum(), intpointgrad(), intpointval(), linbart(), and ~linbart().


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2