SIFEL/METR/SRC/elemswitchc.h File Reference

#include "aliasc.h"
#include "matrix.h"

Go to the source code of this file.

Functions

void assemble_coup (long lcid, double *rhs, long n)
void intpointgradientsc (long eid)
void intpointstrainsc (long eid)
void intpointvaluesc (long eid)
void lower_cap_coupl_mat (long eid, long lcid, matrix &vm)
void lower_cond_coupl_mat (long eid, long lcid, matrix &vm)
void upper_cap_coupl_mat (long eid, long lcid, matrix &vm)
void upper_cond_coupl_mat (long eid, long lcid, matrix &vm)
void volume_rhs_vectorc (vector &lv, long lcid, long eid)

Function Documentation

void assemble_coup ( long  lcid,
double *  rhs,
long  n 
)

function assembles vector of coupling right hand side

Parameters:
lcid - load case id
rhs - right hand side

21.3.2004, JK+TKr

Definition at line 262 of file elemswitchc.cpp.

References vector::a, allocv(), Cbar, Chex, coupbar, couphex, coupquad, Cquad, Ct, destrv(), fillv(), mechtop::give_code_numbers(), couptop::give_elem_type(), gtopology::give_ndofe(), Gtm, locglob(), Mt, couptop::ne, nullv(), print_err(), hexahedc::res_upper_cond_coup_vector(), quadrilatc::res_upper_cond_coup_vector(), and barelc::res_upper_cond_coup_vector().

Referenced by right_hand_side().

void intpointgradientsc ( long  eid  ) 

function computes gradients on element int. points on coupling mesh

JK, 28.7.2001

Definition at line 226 of file elemswitchc.cpp.

References Cbar, coupbar, couphex, coupquad, Ct, couptop::give_elem_type(), barelc::intpointgrad(), and print_err().

Referenced by approximationcoup().

void intpointstrainsc ( long  eid  ) 

function computes strains on element int. points on coupling mesh

JK, 28.7.2001

Definition at line 194 of file elemswitchc.cpp.

References Cbar, coupbar, couphex, coupquad, Ct, couptop::give_elem_type(), print_err(), and barelc::res_mainip_strains().

Referenced by approximationcoup().

void intpointvaluesc ( long  eid  ) 

function computes values on element int. points on coupling mesh

JK, 28.7.2001

Definition at line 161 of file elemswitchc.cpp.

References Cbar, coupbar, couphex, coupquad, Ct, couptop::give_elem_type(), barelc::intpointval(), and print_err().

Referenced by approximationcoup().

void lower_cap_coupl_mat ( long  eid,
long  lcid,
matrix vm 
)

function computes coupling matrix of particular elements

Parameters:
eid - element id
lcid - load case id
vm - coupling matrix of one element

JK, 28.7.2001

Definition at line 128 of file elemswitchc.cpp.

References Cbar, Chex, coupbar, couphex, coupquad, Cquad, Ct, couptop::give_elem_type(), print_err(), hexahedc::res_lower_cap_coup_matrix(), quadrilatc::res_lower_cap_coup_matrix(), and barelc::res_lower_cap_coup_matrix().

Referenced by first_order_matrix().

void lower_cond_coupl_mat ( long  eid,
long  lcid,
matrix vm 
)

function computes coupling matrix of particular elements

Parameters:
eid - element id
lcid - load case id
vm - coupling matrix of one element

JK, 28.7.2001

Definition at line 54 of file elemswitchc.cpp.

References Cbar, Chex, coupbar, couphex, coupquad, Cquad, Ct, couptop::give_elem_type(), print_err(), hexahedc::res_lower_cond_coup_matrix(), quadrilatc::res_lower_cond_coup_matrix(), and barelc::res_lower_cond_coup_matrix().

Referenced by zero_order_matrix().

void upper_cap_coupl_mat ( long  eid,
long  lcid,
matrix vm 
)

function computes coupling matrix of particular elements

Parameters:
eid - element id
lcid - load case id
vm - coupling matrix of one element

JK, 28.7.2001

Definition at line 91 of file elemswitchc.cpp.

References Cbar, Chex, coupbar, couphex, coupquad, Cquad, Ct, couptop::give_elem_type(), print_err(), hexahedc::res_upper_cap_coup_matrix(), quadrilatc::res_upper_cap_coup_matrix(), and barelc::res_upper_cap_coup_matrix().

Referenced by first_order_matrix().

void upper_cond_coupl_mat ( long  eid,
long  lcid,
matrix vm 
)

function computes coupling matrix of particular elements

Parameters:
eid - element id
lcid - load case id
vm - coupling matrix of one element

JK, 28.7.2001

Definition at line 17 of file elemswitchc.cpp.

References Cbar, Chex, coupbar, couphex, coupquad, Cquad, Ct, couptop::give_elem_type(), print_err(), hexahedc::res_upper_cond_coup_matrix(), quadrilatc::res_upper_cond_coup_matrix(), and barelc::res_upper_cond_coup_matrix().

Referenced by assemble_init_coup_upper(), and zero_order_matrix().

void volume_rhs_vectorc ( vector lv,
long  lcid,
long  eid 
)

function computes volume integral

Parameters:
lv - vector of nodal values
lcid - load case id
eid - element id

09/03/2011, TKr

Definition at line 316 of file elemswitchc.cpp.

References Cbar, coupbar, couphex, coupquad, Ct, couptop::give_elem_type(), print_err(), and barelc::res_volume_rhs_vector().

Referenced by right_hand_side().


Generated by  doxygen 1.6.2