elemparticle Class Reference

#include <elemparticle.h>

List of all members.

Public Member Functions

void direction_vector_1d (long eid, long i, long j, vector &s, vector &x, vector &u)
void direction_vector_2d (long eid, long i, long j, vector &s, vector &x, vector &y, vector &u, vector &v)
void direction_vector_3d (long eid, long i, long j, vector &s, vector &x, vector &y, vector &z, vector &u, vector &v, vector &w)
 elemparticle (long cnne, long cdim)
void forces_1d (long ipp, vector &fij, vector &s)
void forces_2d (long ipp, vector &fij, vector &s)
void forces_3d (long ipp, vector &fij, vector &s)
void inter_forces_1d (long eid, vector &f)
void inter_forces_2d (long eid, vector &f)
void inter_forces_3d (long eid, vector &f)
void res_internal_forces (long eid, vector &ifor)
void res_stiffness_matrix (long eid, matrix &sm)
void stiffmat_1d_kii (long ipp, matrix &k, vector &s)
void stiffmat_1d_kij (long ipp, matrix &k, vector &s)
void stiffmat_2d_kii (long ipp, matrix &k, vector &s)
void stiffmat_2d_kij (long ipp, matrix &k, vector &s)
void stiffmat_3d_kii (long ipp, matrix &k, vector &s)
void stiffmat_3d_kij (long ipp, matrix &k, vector &s)
void stiffness_matrix_1d (long eid, matrix &sm)
void stiffness_matrix_2d (long eid, matrix &sm)
void stiffness_matrix_3d (long eid, matrix &sm)
 ~elemparticle (void)

Public Attributes

long dim
 dimension of problem
long nb
 number of blocks
long ndofe
 number of DOFs
long ** nip
 array of numbers of integration points in blocks
long nne
 number of nodes on one element
long tnip
 total number of integration point

Detailed Description

class elemparticle serves for computations with particles it is intended for molecular dynamics functions from this class define particles which influence each other

JK, 19.6.2005

Definition at line 17 of file elemparticle.h.


Constructor & Destructor Documentation

elemparticle ( long  cnne,
long  cdim 
)

Definition at line 12 of file elemparticle.cpp.

References dim, nb, ndofe, nip, nne, and tnip.

~elemparticle ( void   ) 

Definition at line 51 of file elemparticle.cpp.

References nb, and nip.


Member Function Documentation

void direction_vector_1d ( long  eid,
long  i,
long  j,
vector s,
vector x,
vector u 
)

function computes direction vectors

Parameters:
eid - element id
i,j - particle ids
s - direction vector
x - vector of coordinates
u - vector of displacements

JK, 19.6.2005

Definition at line 77 of file elemparticle.cpp.

Referenced by inter_forces_1d(), and stiffness_matrix_1d().

void direction_vector_2d ( long  eid,
long  i,
long  j,
vector s,
vector x,
vector y,
vector u,
vector v 
)

function computes direction vectors

Parameters:
eid - element id
i,j - particle ids
s - direction vector
x,y - vectors of coordinates
u,v - vectors of displacements

JK, 19.6.2005

Definition at line 93 of file elemparticle.cpp.

Referenced by inter_forces_2d(), stiffness_matrix_2d(), and stiffness_matrix_3d().

void direction_vector_3d ( long  eid,
long  i,
long  j,
vector s,
vector x,
vector y,
vector z,
vector u,
vector v,
vector w 
)

function computes direction vectors

Parameters:
eid - element id
i,j - particle ids
s - direction vector
x,y,z - vectors of coordinates
u,v,w - vectors of displacements

JK, 19.6.2005

Definition at line 111 of file elemparticle.cpp.

Referenced by inter_forces_3d().

void forces_1d ( long  ipp,
vector fij,
vector s 
)

Definition at line 579 of file elemparticle.cpp.

References mechmat::give_first_derivative(), Mm, and normv().

Referenced by inter_forces_1d().

void forces_2d ( long  ipp,
vector fij,
vector s 
)

Definition at line 628 of file elemparticle.cpp.

References mechmat::give_first_derivative(), Mm, and normv().

Referenced by inter_forces_2d().

void forces_3d ( long  ipp,
vector fij,
vector s 
)

Definition at line 673 of file elemparticle.cpp.

References mechmat::give_first_derivative(), Mm, and normv().

Referenced by inter_forces_3d().

void inter_forces_1d ( long  eid,
vector f 
)
void inter_forces_2d ( long  eid,
vector f 
)
void inter_forces_3d ( long  eid,
vector f 
)
void res_internal_forces ( long  eid,
vector ifor 
)

Definition at line 719 of file elemparticle.cpp.

References dim, inter_forces_1d(), inter_forces_2d(), and inter_forces_3d().

Referenced by elem_internal_forces().

void res_stiffness_matrix ( long  eid,
matrix sm 
)

Definition at line 557 of file elemparticle.cpp.

References dim, stiffness_matrix_1d(), stiffness_matrix_2d(), and stiffness_matrix_3d().

Referenced by stiffmat().

void stiffmat_1d_kii ( long  ipp,
matrix k,
vector s 
)

function computes stiffness in 1D

Parameters:
ipp - integration point id
k - stiffness matrix (diagonal submatrices)
s - direction vector

JK, 23.6.2005

Definition at line 129 of file elemparticle.cpp.

References f, g, mechmat::give_first_derivative(), mechmat::give_second_derivative(), Mm, and normv().

Referenced by stiffness_matrix_1d().

void stiffmat_1d_kij ( long  ipp,
matrix k,
vector s 
)

function computes stiffness in 1D

Parameters:
ipp - integration point id
k - stiffness matrix (offdiagonal submatrices)
s - direction vector

JK, 23.6.2005

Definition at line 155 of file elemparticle.cpp.

References f, g, mechmat::give_first_derivative(), mechmat::give_second_derivative(), Mm, and normv().

Referenced by stiffness_matrix_1d().

void stiffmat_2d_kii ( long  ipp,
matrix k,
vector s 
)

function computes stiffness in 2D

Parameters:
ipp - integration point id
k - stiffness matrix (diagonal submatrices)
s - direction vector

JK, 26.9.2005

Definition at line 269 of file elemparticle.cpp.

References f, g, mechmat::give_first_derivative(), mechmat::give_second_derivative(), Mm, and normv().

Referenced by stiffness_matrix_2d(), and stiffness_matrix_3d().

void stiffmat_2d_kij ( long  ipp,
matrix k,
vector s 
)

function computes stiffness in 2D

Parameters:
ipp - integration point id
k - stiffness matrix (offdiagonal submatrices)
s - direction vector

JK, 26.9.2005

Definition at line 299 of file elemparticle.cpp.

References f, g, mechmat::give_first_derivative(), mechmat::give_second_derivative(), Mm, and normv().

Referenced by stiffness_matrix_2d(), and stiffness_matrix_3d().

void stiffmat_3d_kii ( long  ipp,
matrix k,
vector s 
)

function computes diagonal stiffness matrix block in 3D

Parameters:
ipp - integration point id
k - stiffness matrix (diagonal submatrices)
s - direction vector

JK, 26.9.2005

Definition at line 423 of file elemparticle.cpp.

References f, g, mechmat::give_first_derivative(), mechmat::give_second_derivative(), Mm, and normv().

void stiffmat_3d_kij ( long  ipp,
matrix k,
vector s 
)

function computes off-diagonal stiffness matrix block in 3D

Parameters:
ipp - integration point id
k - stiffness matrix (offdiagonal submatrices)
s - direction vector

JK, 26.9.2005

Definition at line 459 of file elemparticle.cpp.

References f, g, mechmat::give_first_derivative(), mechmat::give_second_derivative(), Mm, and normv().

void stiffness_matrix_1d ( long  eid,
matrix sm 
)

function computes stiffness matrix of cell of particles

Parameters:
eid - element id
sm - stiffness matrix

JK, 23.6.2005

Definition at line 180 of file elemparticle.cpp.

References direction_vector_1d(), mechtop::elements, fillm(), mechtop::give_elemnodes(), mechtop::give_noddispl_1d(), mechtop::give_node_coord1d(), element::ipp, Mt, nne, nodes, Out, stiffmat_1d_kii(), and stiffmat_1d_kij().

Referenced by res_stiffness_matrix().

void stiffness_matrix_2d ( long  eid,
matrix sm 
)

function computes stiffness matrix of cell of particles

Parameters:
eid - element id
sm - stiffness matrix

JK, 26.9.2005

Definition at line 328 of file elemparticle.cpp.

References direction_vector_2d(), mechtop::elements, fillm(), mechtop::give_elemnodes(), mechtop::give_noddispl_2d(), mechtop::give_node_coord2d(), element::ipp, Mt, nne, nodes, Out, stiffmat_2d_kii(), and stiffmat_2d_kij().

Referenced by res_stiffness_matrix().

void stiffness_matrix_3d ( long  eid,
matrix sm 
)

function computes stiffness matrix of cell of particles in 3D

Parameters:
eid - element id
sm - stiffness matrix

JK, 26.9.2005

Definition at line 494 of file elemparticle.cpp.

References direction_vector_2d(), mechtop::elements, fillm(), mechtop::give_elemnodes(), mechtop::give_noddispl_2d(), mechtop::give_node_coord2d(), element::ipp, Mt, nne, nodes, Out, stiffmat_2d_kii(), and stiffmat_2d_kij().

Referenced by res_stiffness_matrix().


Member Data Documentation

long dim

dimension of problem

Definition at line 52 of file elemparticle.h.

Referenced by elemparticle(), res_internal_forces(), and res_stiffness_matrix().

long nb

number of blocks

Definition at line 58 of file elemparticle.h.

Referenced by elemparticle(), mechtop::give_nb(), mechtop::give_nb_te(), and ~elemparticle().

long ndofe

number of DOFs

Definition at line 56 of file elemparticle.h.

Referenced by elemparticle(), mechtop::give_ncomp(), mechtop::give_ndofe(), and mechtop::give_tncomp().

long** nip

array of numbers of integration points in blocks

Definition at line 63 of file elemparticle.h.

Referenced by elemparticle(), mechtop::give_nip(), and ~elemparticle().

long nne
long tnip

total number of integration point

Definition at line 60 of file elemparticle.h.

Referenced by elemparticle().


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

Generated by  doxygen 1.6.2