mass matrix
This commit is contained in:
parent
99b46ad7ec
commit
02072fde90
3 changed files with 88 additions and 9 deletions
|
|
@ -357,6 +357,16 @@ class FEM_Matrix: public CRS_Matrix
|
|||
// c * rho [ J / (m^3 * K) ]
|
||||
double VolumetricHeatCapacity(const int subdomain);
|
||||
|
||||
/**
|
||||
* Calculates the entries of f.e. mass matrix
|
||||
* for multiple domains with different heat capacities
|
||||
* and load/rhs vector @p f.
|
||||
* No memory is allocated.
|
||||
*
|
||||
* @param[in,out] f (preallocated) rhs/load vector
|
||||
*/
|
||||
void AddMass_mult(std::vector<double> &f);
|
||||
|
||||
/**
|
||||
* Calculates the entries of f.e. stiffness matrix for the Laplace operator
|
||||
* and load/rhs vector @p f.
|
||||
|
|
@ -698,6 +708,16 @@ void CalcElemSpecific(int const ial[3], double const xc[], double const lambda,
|
|||
*/
|
||||
void CalcElem_Masse(int const ial[3], double const xc[], double ske[3][3]);
|
||||
|
||||
/**
|
||||
* Calculates the element mass matrix @p ske.
|
||||
* of one triangular element with linear shape functions
|
||||
* for specific volumetric heat capacity in subdomain.
|
||||
* @param[in] ial node indices of the three element vertices
|
||||
* @param[in] xc vector of node coordinates with x(2*k,2*k+1) as coordinates of node k
|
||||
* @param[out] ske element stiffness matrix
|
||||
*/
|
||||
void CalcElem_MasseSpecific(int const ial[3], double const xc[], double const c, double ske[3][3]);
|
||||
|
||||
/**
|
||||
* Calculates element load vector @p fe of one triangular element with linear shape functions.
|
||||
* @param[in] ial node indices of the three element vertices
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue