#include <stdio.h>#include <stdlib.h>#include <math.h>#include "load.h"#include "elm.h"Include dependency graph for elm.c:

Go to the source code of this file.
Defines | |
| #define | PI 3.141592654 |
Functions | |
| void | T3Init (void) |
| void | Q4Init (void) |
| void | BRICK8Init (void) |
| void | TETR4Init (void) |
| void | INFINITEInit (void) |
| void | INTERFACEInit (void) |
| void | LINE2Init (void) |
| void | DKTInit (void) |
| static int | fn_tp (double *x, double *y) |
| void | ElementInit (void) |
| void | ElementFree (void) |
| void | ElementBuildAdjacence (void) |
| void | PrincipalTensor (sTensor *tensor, sPTensor *ptensor) |
| void | ElementOffPlaneStress (double nu, sTensor *str) |
| void | ElementInitTensor (sTensor *tensor) |
Variables | |
| sElmClass | ElmClass [NumElmTypes] |
| sElement ** | ElmList = 0L |
| int | NumElements = 0 |
| sOrder * | IntOrder = 0L |
| double * | Thickness = 0L |
| int | NumIntOrder = 0 |
| int | NumThickness = 0 |
| int | NumRezones = 0 |
| sRezone * | Rezone = 0L |
| void BRICK8Init | ( | void | ) |
| void DKTInit | ( | void | ) |
| void ElementBuildAdjacence | ( | void | ) |
Definition at line 130 of file elm.c.
References ElmConnect, ElmList, ElmNumNodes, LineForce, NumElements, and NumLineForce.
Referenced by PrescribedValues().
Here is the caller graph for this function:

| void ElementFree | ( | void | ) |
| void ElementInit | ( | void | ) |
Definition at line 78 of file elm.c.
References BRICK8, BRICK8Init(), DKT, DKTInit(), ElmClass, ElmInit, ElmList, INFINITE, INFINITEInit(), _elmclass::init, INTERFACE, INTERFACEInit(), LINE2, LINE2Init(), NumElements, NumElmTypes, Q4, Q4Init(), T3, T3Init(), TETR4, and TETR4Init().
Referenced by _NfiReadElement().
Here is the call graph for this function:

Here is the caller graph for this function:

| void ElementInitTensor | ( | sTensor * | tensor | ) |
Definition at line 341 of file elm.c.
References _tensor::xx, _tensor::xy, _tensor::xz, _tensor::yy, _tensor::yz, and _tensor::zz.
Referenced by INTERFACESetPressure(), LINE2SetPressure(), and T3SetPressure().
Here is the caller graph for this function:

| void ElementOffPlaneStress | ( | double | nu, | |
| sTensor * | str | |||
| ) |
Definition at line 323 of file elm.c.
References _ptensor::dir1, _ptensor::dir3, PrincipalTensor(), and _tensor::zz.
Referenced by LINE2StressStrain(), Q4StressStrain(), and T3StressStrain().
Here is the call graph for this function:

Here is the caller graph for this function:

| static int fn_tp | ( | double * | x, | |
| double * | y | |||
| ) | [static] |
Definition at line 311 of file elm.c.
Referenced by PrincipalTensor().
Here is the caller graph for this function:

| void INFINITEInit | ( | void | ) |
Definition at line 1564 of file inf.c.
References _elmclass::assvector, _elmclass::connect, ElmClass, _elmclass::free, _elmclass::GetDof, _elmclass::gravity, INF_Q4, INF_T3, InfClass, INFINITE, INFINITEAssVector(), INFINITEConnect(), INFINITEFree(), INFINITEInterForce(), INFINITEMassMatrix(), INFINITENew(), INFINITENumNodes(), INFINITERead(), INFINITEReadInitStress(), INFINITERigidCoeff(), INFINITESetInitStress(), INFINITESetPressure(), INFINITEStressStrain(), INFINITEUpdateStress(), INFINITEViscoForce(), INFINITEWriteGaussResult(), INFINITEWriteGaussVectorResult(), INFINITEWriteNodalResult(), INFINITEWriteStress(), INFQ4MappDeriv(), INFQ4MappFunc(), INFQ4ShapeDeriv(), INFT3MappDeriv(), INFT3MappFunc(), INFT3ShapeDeriv(), _elmclass::intforce, _elmclass::jacobian, _elmclass::KMatrix, _elmclass::load, _infclass::mapderiv, _infclass::mapfunc, _elmclass::mass, _elmclass::new, _elmclass::numnodes, _elmclass::percforce, _elmclass::read, _elmclass::readinitstr, _elmclass::rigidcoeff, _elmclass::setinitstress, _elmclass::setpressure, _infclass::shpderiv, _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:

| void INTERFACEInit | ( | void | ) |
Definition at line 906 of file intf.c.
References _elmclass::assvector, _elmclass::connect, ElmClass, _elmclass::free, _elmclass::GetDof, _elmclass::gravity, INTERFACE, INTERFACEAssVector(), INTERFACEConnect(), INTERFACEFree(), INTERFACEInterForce(), INTERFACEMassMatrix(), INTERFACENew(), INTERFACENumNodes(), INTERFACERead(), INTERFACEReadInitStress(), INTERFACERigidCoeff(), INTERFACESetInitStress(), INTERFACESetPressure(), INTERFACEStressStrain(), INTERFACEViscoForce(), INTERFACEWriteGaussResult(), INTERFACEWriteGaussVectorResult(), INTERFACEWriteNodalResult(), INTERFACEWriteStress(), _elmclass::intforce, _elmclass::jacobian, _elmclass::KMatrix, _elmclass::load, _elmclass::mass, _elmclass::new, _elmclass::numnodes, _elmclass::percforce, _elmclass::read, _elmclass::readinitstr, _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:

| void LINE2Init | ( | void | ) |
Definition at line 1356 of file line2.c.
References _elmclass::assvector, _elmclass::connect, ElmClass, _elmclass::free, _elmclass::GetDof, _elmclass::gravity, _elmclass::intforce, _elmclass::jacobian, _elmclass::KMatrix, LINE2, LINE2AssVector(), LINE2Connect(), LINE2Free(), LINE2Gravity(), LINE2InterForce(), LINE2Jacobian(), LINE2MassMatrix(), LINE2New(), LINE2NumNodes(), LINE2PercForces(), LINE2Read(), LINE2ReadInitStress(), LINE2RigidCoeff(), LINE2SetConnect(), LINE2SetInitStress(), LINE2SetPressure(), LINE2StressStrain(), LINE2TimeStep(), LINE2UpdateConnect(), LINE2UpdateStress(), LINE2ViscoForce(), LINE2Volume(), LINE2WriteGaussResult(), LINE2WriteGaussVectorResult(), LINE2WriteNodalResult(), LINE2WriteStress(), _elmclass::load, _elmclass::mass, _elmclass::new, _elmclass::numnodes, _elmclass::percforce, _elmclass::read, _elmclass::readinitstr, _elmclass::rigidcoeff, _elmclass::setconnect, _elmclass::setinitstress, _elmclass::setpressure, _elmclass::strstrain, _elmclass::timestep, _elmclass::updateconnect, _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 164 of file elm.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, fn_tp(), NDof, PI, _tensor::xx, _tensor::xy, _tensor::xz, _tensor::yy, _tensor::yz, ZERO, and _tensor::zz.
Referenced by BRICK8WriteGaussResult(), BRICK8WriteGaussVectorResult(), BRICK8WriteNodalResult(), DKTWriteGaussResult(), DKTWriteGaussVectorResult(), DKTWriteNodalResult(), ElementOffPlaneStress(), INFINITEWriteGaussResult(), INFINITEWriteGaussVectorResult(), INFINITEWriteNodalResult(), LINE2WriteGaussResult(), LINE2WriteGaussVectorResult(), LINE2WriteNodalResult(), LINE2WriteStress(), MaxwellUpdateStress(), Q4WriteGaussResult(), Q4WriteGaussVectorResult(), Q4WriteNodalResult(), T3WriteGaussResult(), T3WriteGaussVectorResult(), T3WriteNodalResult(), TETR4WriteGaussResult(), TETR4WriteGaussVectorResult(), TETR4WriteNodalResult(), and TETR4WriteStress().
Here is the call graph for this function:

Here is the caller graph for this function:

| void Q4Init | ( | void | ) |
Definition at line 1899 of file q4.c.
References _elmclass::assvector, _elmclass::connect, 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, Q4, Q4AssVector(), Q4Connect(), Q4Free(), Q4GetDof(), Q4GetInc(), Q4Gravity(), Q4InterForce(), Q4KMatrix(), Q4Load(), Q4MassMatrix(), Q4New(), Q4NumNodes(), Q4PercForces(), Q4Read(), Q4ReadInitStress(), Q4ReadProfile(), Q4RigidCoeff(), Q4SetInitStress(), Q4SetPressure(), Q4StressStrain(), Q4TimeStep(), Q4UpdateStress(), Q4ViscoForce(), Q4WriteGaussResult(), Q4WriteGaussVectorResult(), Q4WriteNodalResult(), Q4WriteStress(), _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:

| void T3Init | ( | void | ) |
Definition at line 1672 of file t3.c.
References _elmclass::assvector, _elmclass::connect, 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, T3, T3AssVector(), T3Connect(), T3Free(), T3GetDof(), T3GetInc(), T3Gravity(), T3InterForce(), T3Jacobian(), T3KMatrix(), T3Load(), T3MassMatrix(), T3New(), T3NumNodes(), T3PercForces(), T3Read(), T3ReadInitStress(), T3ReadProfile(), T3RigidCoeff(), T3SetInitStress(), T3SetPressure(), T3StressStrain(), T3TimeStep(), T3UpdateStress(), T3ViscoForce(), T3Volume(), T3WriteGaussResult(), T3WriteGaussVectorResult(), T3WriteNodalResult(), T3WriteStress(), _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:

| void TETR4Init | ( | void | ) |
Definition at line 1895 of file tetra4.c.
References _elmclass::assvector, _elmclass::connect, 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, TETR4, TETR4AssVector(), TETR4Connect(), TETR4Free(), TETR4GetDof(), TETR4GetInc(), TETR4Gravity(), TETR4InterForce(), TETR4KMatrix(), TETR4Load(), TETR4MassMatrix(), TETR4New(), TETR4NumNodes(), TETR4PercForces(), TETR4Read(), TETR4ReadInitStress(), TETR4RigidCoeff(), TETR4SetInitStress(), TETR4SetPressure(), TETR4StressStrain(), TETR4TimeStep(), TETR4UpdateStress(), TETR4ViscoForce(), TETR4WriteGaussResult(), TETR4WriteGaussVectorResult(), TETR4WriteNodalResult(), TETR4WriteStress(), TETRA4ReadProfile(), _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 27 of file elm.c.
Referenced by BRICK8Init(), DKTInit(), ElementInit(), INFINITEInit(), INTERFACEInit(), LINE2Init(), Q4Init(), T3Init(), TETR4Init(), and UIStart().
Definition at line 28 of file elm.c.
Referenced by _NfiReadElementBRICK8(), _NfiReadElementDKT(), _NfiReadElementINFINITE(), _NfiReadElementINTERFACE(), _NfiReadElementLINE2(), _NfiReadElementProfileBRICK8(), _NfiReadElementProfileQ4(), _NfiReadElementProfileT3(), _NfiReadElementProfileTETRA4(), _NfiReadElementQ4(), _NfiReadElementT3(), _NfiReadElementTETR4(), _NfiReadLoadCaseDomainInitStressUni(), _NfiWriteResultStep(), _TimeIncrement(), BuildAVector(), BuildNodeList(), DoRezone(), ElementBuildAdjacence(), ElementFree(), ElementInit(), HybridAnalysis(), HybridPrintResult(), ImpBFGSAnalysis(), ImpBFGSPrintResult(), ImpLinearAnalysis(), ImpLinearPrintResult(), ImpNRMAnalysis(), ImpNRMPrintResult(), LoadCaseAnalysis(), LoadStepAnalysis(), MassVector(), PercolationForces(), PrescribedValues(), RezoneAnalysis(), StandardAnalysis(), StandardPrintResult(), StandardVEAnalysis(), StandardVEFlacAnalysis(), StandardVEFlacPrintResult(), StandardVEViscoForces(), UIStart(), and UpdatePrescribedValues().
| int NumElements = 0 |
Definition at line 29 of file elm.c.
Referenced by _NfiReadElement(), _NfiReadLoadCaseDomainInitStressUni(), _NfiWriteResultStep(), _TimeIncrement(), BuildAVector(), BuildNodeList(), ElementBuildAdjacence(), ElementFree(), ElementInit(), HybridAnalysis(), HybridPrintResult(), ImpBFGSAnalysis(), ImpBFGSPrintResult(), ImpLinearAnalysis(), ImpLinearPrintResult(), ImpNRMAnalysis(), ImpNRMPrintResult(), LoadCaseAnalysis(), LoadStepAnalysis(), PrescribedValues(), RezoneAnalysis(), StandardAnalysis(), StandardPrintResult(), StandardVEAnalysis(), StandardVEFlacAnalysis(), StandardVEFlacPrintResult(), StandardVEViscoForces(), UIStart(), and UpdatePrescribedValues().
| int NumIntOrder = 0 |
| int NumRezones = 0 |
Definition at line 42 of file elm.c.
Referenced by _NfiReadRezone(), NfiWriteResults(), and RezoneAnalysis().
| int NumThickness = 0 |
Definition at line 43 of file elm.c.
Referenced by _NfiReadRezone(), _NfiReadRezoneCaseElement(), and DoRezone().
| double* Thickness = 0L |
1.5.1