#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>#include "rio.h"#include "load.h"#include "elm.h"#include "node.h"#include "material.h"#include "alg.h"Include dependency graph for dkt.c:

Go to the source code of this file.
Data Structures | |
| struct | _dktelm |
Typedefs | |
| typedef _dktelm | sDKTData |
Functions | |
| static void | _DKTGetCoord (sElement *, sCoord[]) |
| static double | _DKTArea (sCoord[]) |
| static double | _DKTMinHeight (sCoord[]) |
| static void | _DKTGetDisplacement (sElement *, double *, double[]) |
| static void | _DKTBMatrix (sElement *, double[6][9]) |
| static void | _DKTDerivShp (double, double, double, sDerivRST[]) |
| static void | _DKTGetCoord (sElement *elm, sCoord coord[3]) |
| static double | _DKTArea (sCoord coord[3]) |
| static double | _DKTMinHeight (sCoord coord[3]) |
| static void | _DKTGetDisplacement (sElement *elm, double *U, double ue[9]) |
| static void | _DKTDerivShp (double r, double s, double t, sDerivRST dshp[3]) |
| static void | DKTNew (int, int, int, int, sElement **, sElement **, sNode *) |
| static void | DKTFree (sElement *) |
| static void | DKTRead (sElement *) |
| static void | DKTMassMatrix (sElement *, double *) |
| static double | DKTRigidCoeff (sElement *) |
| static void | DKTConnect (sElement *, int *) |
| static void | DKTNumNodes (sElement *, int *) |
| static void | DKTGravity (sElement *, double *, double *, double *) |
| static void | DKTAssVector (sElement *, double *, double *) |
| static void | DKTStressStrain (sElement *, double, double *, double *, sTensor *, sTensor *) |
| static void | DKTTimeStep (sElement *, double *) |
| static void | DKTInterForce (sElement *, sTensor *, double *) |
| static void | DKTWriteStress (sElement *, FILE *, double *, double *) |
| static void | DKTWriteNodalResult (sElement *, FILE *, FILE *) |
| static void | DKTWriteGaussResult (sElement *, FILE *, FILE *) |
| static void | DKTWriteGaussVectorResult (sElement *, int, FILE *, FILE *) |
| static void | DKTSetInitStress (sElement *, sTensor *) |
| static void | DKTVolume (sElement *, double *) |
| static void | DKTKMatrix (sElement *, double[24][24]) |
| static void | DKTGetDof (sElement *, int[24], int *) |
| static int | DKTReadInitStress (sElement *elm) |
| static void | DKTGetInc (sElement *elm, int inc[8], int *index) |
| void | DKTInit (void) |
Variables | |
| static double | _GPoint = 0.3333333 |
| static double _DKTArea | ( | sCoord | coord[3] | ) | [static] |
| static double _DKTArea | ( | sCoord | [] | ) | [static] |
Referenced by _DKTBMatrix(), _DKTMinHeight(), DKTGravity(), DKTKMatrix(), DKTMassMatrix(), DKTRigidCoeff(), and DKTVolume().
Here is the caller graph for this function:

| static void _DKTBMatrix | ( | sElement * | , | |
| double | [6][9] | |||
| ) | [static] |
Definition at line 209 of file dkt.c.
References _DKTArea(), _DKTDerivShp(), _DKTGetCoord(), _GPoint, _derivrst::r, _coord::x, _coord::y, and _coord::z.
Referenced by DKTInterForce(), DKTKMatrix(), and DKTStressStrain().
Here is the call graph for this function:

Here is the caller graph for this function:

| static void _DKTDerivShp | ( | double | r, | |
| double | s, | |||
| double | t, | |||
| sDerivRST | dshp[3] | |||
| ) | [static] |
| static void _DKTDerivShp | ( | double | , | |
| double | , | |||
| double | , | |||
| sDerivRST | [] | |||
| ) | [static] |
Definition at line 68 of file dkt.c.
References _node::coord, _element::data, _dktelm::inc, _element::nodes, _coord::x, _coord::y, and _coord::z.
Referenced by _DKTBMatrix(), DKTGravity(), DKTKMatrix(), DKTMassMatrix(), DKTRigidCoeff(), DKTTimeStep(), and DKTVolume().
Here is the caller graph for this function:

| static void _DKTGetDisplacement | ( | sElement * | elm, | |
| double * | U, | |||
| double | ue[9] | |||
| ) | [static] |
| static void _DKTGetDisplacement | ( | sElement * | , | |
| double * | , | |||
| double | [] | |||
| ) | [static] |
| static double _DKTMinHeight | ( | sCoord | coord[3] | ) | [static] |
Definition at line 121 of file dkt.c.
References _DKTArea().
Here is the call graph for this function:

| static double _DKTMinHeight | ( | sCoord | [] | ) | [static] |
| static void DKTAssVector | ( | sElement * | , | |
| double * | , | |||
| double * | ||||
| ) | [static] |
Definition at line 570 of file dkt.c.
References _element::data, ElmConnect, and _dktelm::NumNodes.
Referenced by DKTInit().
Here is the caller graph for this function:

| static void DKTConnect | ( | sElement * | , | |
| int * | ||||
| ) | [static] |
Definition at line 504 of file dkt.c.
References _element::data, _dktelm::inc, and NumNodes.
Referenced by DKTInit().
Here is the caller graph for this function:

| static void DKTFree | ( | sElement * | ) | [static] |
Definition at line 356 of file dkt.c.
References _element::data, and _dktelm::iPress.
Referenced by DKTInit().
Here is the caller graph for this function:

| static void DKTGetDof | ( | sElement * | , | |
| int | [24], | |||
| int * | ||||
| ) | [static] |
Definition at line 1201 of file dkt.c.
References _element::data, _dktelm::inc, and NumNodes.
Referenced by DKTInit().
Here is the caller graph for this function:

| static void DKTGetInc | ( | sElement * | elm, | |
| int | inc[8], | |||
| int * | index | |||
| ) | [static] |
Definition at line 1222 of file dkt.c.
References _element::data, _dktelm::inc, and NumNodes.
Referenced by DKTInit().
Here is the caller graph for this function:

| static void DKTGravity | ( | sElement * | , | |
| double * | , | |||
| double * | , | |||
| double * | ||||
| ) | [static] |
Definition at line 532 of file dkt.c.
References _DKTArea(), _DKTGetCoord(), _element::data, GravForce, MatDensity, _dktelm::matid, and MatList.
Referenced by DKTInit().
Here is the call graph for this function:

Here is the caller graph for this function:

| void DKTInit | ( | void | ) |
Definition at line 1247 of file dkt.c.
References _elmclass::assvector, _elmclass::connect, DKT, DKTAssVector(), DKTConnect(), DKTFree(), DKTGetDof(), DKTGetInc(), DKTGravity(), DKTInterForce(), DKTKMatrix(), DKTMassMatrix(), DKTNew(), DKTNumNodes(), DKTRead(), DKTReadInitStress(), DKTRigidCoeff(), DKTSetInitStress(), DKTStressStrain(), DKTTimeStep(), DKTVolume(), DKTWriteGaussResult(), DKTWriteGaussVectorResult(), DKTWriteNodalResult(), DKTWriteStress(), ElmClass, _elmclass::free, _elmclass::GetDof, _elmclass::GetInc, _elmclass::gravity, _elmclass::intforce, _elmclass::jacobian, _elmclass::KMatrix, _elmclass::load, _elmclass::mass, _elmclass::new, _elmclass::numnodes, _elmclass::percforce, _elmclass::read, _elmclass::readinitstr, _elmclass::readprofile, _elmclass::rigidcoeff, _elmclass::setinitstress, _elmclass::setpressure, _elmclass::strstrain, _elmclass::timestep, _elmclass::updatestress, _elmclass::viscoforce, _elmclass::volume, _elmclass::writegauresult, _elmclass::writegauvecresult, _elmclass::writendlresult, and _elmclass::writestr.
Referenced by ElementInit().
Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 738 of file dkt.c.
References _DKTBMatrix(), _element::data, ElmRigidCoeff, _dktelm::istr, _dktelm::NumNodes, _tensor::xx, _tensor::xy, _tensor::xz, _tensor::yy, _tensor::yz, and _tensor::zz.
Referenced by DKTInit().
Here is the call graph for this function:

Here is the caller graph for this function:

| static void DKTKMatrix | ( | sElement * | , | |
| double | [24][24] | |||
| ) | [static] |
Definition at line 1132 of file dkt.c.
References _DKTArea(), _DKTBMatrix(), _DKTGetCoord(), _element::data, MatConstitutiveMatrix, _dktelm::matid, and MatList.
Referenced by DKTInit().
Here is the call graph for this function:

Here is the caller graph for this function:

| static void DKTMassMatrix | ( | sElement * | , | |
| double * | ||||
| ) | [static] |
Definition at line 445 of file dkt.c.
References _DKTArea(), _DKTGetCoord(), _element::data, MatDensity, _dktelm::matid, and MatList.
Referenced by DKTInit().
Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 309 of file dkt.c.
References DKT, DSP_NO, _dktelm::effdef, _dktelm::iPress, _dktelm::istr, _dktelm::matid, NONE, _dktelm::NumNodes, _dktelm::NumTensComp, and _dktelm::tckid.
Referenced by DKTInit().
Here is the caller graph for this function:

| static void DKTNumNodes | ( | sElement * | , | |
| int * | ||||
| ) | [static] |
Definition at line 520 of file dkt.c.
References _element::data, and _dktelm::NumNodes.
Referenced by DKTInit().
Here is the caller graph for this function:

| static void DKTRead | ( | sElement * | ) | [static] |
Definition at line 384 of file dkt.c.
References _element::data, _dktelm::inc, and nf.
Referenced by DKTInit().
Here is the caller graph for this function:

| static int DKTReadInitStress | ( | sElement * | elm | ) | [static] |
Definition at line 409 of file dkt.c.
References _element::data, _dktelm::istr, and nf.
Referenced by DKTInit().
Here is the caller graph for this function:

| static double DKTRigidCoeff | ( | sElement * | ) | [static] |
Definition at line 483 of file dkt.c.
References _DKTArea(), and _DKTGetCoord().
Referenced by DKTInit().
Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1099 of file dkt.c.
References _element::data, _dktelm::istr, _tensor::xx, _tensor::xy, and _tensor::yy.
Referenced by DKTInit().
Here is the caller graph for this function:

| static void DKTStressStrain | ( | sElement * | , | |
| double | , | |||
| double * | , | |||
| double * | , | |||
| sTensor * | , | |||
| sTensor * | ||||
| ) | [static] |
Definition at line 598 of file dkt.c.
References _DKTBMatrix(), _DKTGetDisplacement(), _element::data, _dktelm::effdef, _dktelm::istr, MatConstitutiveMatrix, _dktelm::matid, MatList, MatNuParameter, MatUpdateParameter, MatUpdateStress, and _dktelm::NumNodes.
Referenced by DKTInit(), and DKTWriteStress().
Here is the call graph for this function:

Here is the caller graph for this function:

| static void DKTTimeStep | ( | sElement * | , | |
| double * | ||||
| ) | [static] |
Definition at line 700 of file dkt.c.
References _DKTGetCoord(), _DKTMinHeight(), _element::data, KELVIN, _dktelm::matid, MatList, MatTimeStep, and _material::type.
Referenced by DKTInit().
Here is the call graph for this function:

Here is the caller graph for this function:

| static void DKTVolume | ( | sElement * | , | |
| double * | ||||
| ) | [static] |
Definition at line 1118 of file dkt.c.
References _DKTArea(), and _DKTGetCoord().
Referenced by DKTInit().
Here is the call graph for this function:

Here is the caller graph for this function:

| static void DKTWriteGaussResult | ( | sElement * | , | |
| FILE * | , | |||
| FILE * | ||||
| ) | [static] |
Definition at line 897 of file dkt.c.
References Config, _element::data, _ptensor::dir1, _ptensor::dir2, _ptensor::dir3, _config::gaussresults, _element::label, _dktelm::matid, MatList, _config::numgaussresults, PrincipalTensor(), _tensor::xx, _tensor::xy, _tensor::xz, _tensor::yy, _tensor::yz, and _tensor::zz.
Referenced by DKTInit().
Here is the call graph for this function:

Here is the caller graph for this function:

| static void DKTWriteGaussVectorResult | ( | sElement * | , | |
| int | , | |||
| FILE * | , | |||
| FILE * | ||||
| ) | [static] |
Definition at line 1006 of file dkt.c.
References _ptensor::cos1x, _ptensor::cos1y, _ptensor::cos1z, _ptensor::cos2x, _ptensor::cos2y, _ptensor::cos2z, _ptensor::cos3x, _ptensor::cos3y, _ptensor::cos3z, _ptensor::dir1, _ptensor::dir2, _ptensor::dir3, _element::label, and PrincipalTensor().
Referenced by DKTInit().
Here is the call graph for this function:

Here is the caller graph for this function:

| static void DKTWriteNodalResult | ( | sElement * | , | |
| FILE * | , | |||
| FILE * | ||||
| ) | [static] |
Definition at line 843 of file dkt.c.
References _ptensor::dir1, _ptensor::dir2, _ptensor::dir3, _element::label, PrincipalTensor(), _tensor::xx, _tensor::xy, _tensor::yy, and _tensor::zz.
Referenced by DKTInit().
Here is the call graph for this function:

Here is the caller graph for this function:

| static void DKTWriteStress | ( | sElement * | , | |
| FILE * | , | |||
| double * | , | |||
| double * | ||||
| ) | [static] |
Definition at line 796 of file dkt.c.
References DKTStressStrain(), DONE, _element::rezone, _tensor::xx, _tensor::xy, _tensor::xz, _tensor::yy, _tensor::yz, and _tensor::zz.
Referenced by DKTInit().
Here is the call graph for this function:

Here is the caller graph for this function:

1.5.1