#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include "rio.h"
#include "load.h"
#include "elm.h"
#include "node.h"
#include "material.h"
#include "alg.h"
Go to the source code of this file.
Data Structures | |
struct | sItfData |
Functions | |
static void | _INTERFACEGetCoord (sElement *, sCoord[]) |
static double | _INTERFACEArea (sCoord[]) |
static void | _INTERFACEBMatrix (sElement *, double[2][8]) |
static void | _INTERFACEGetDisplacement (sElement *, double *, double[]) |
static void | _INTERFACEGetDisplacement (sElement *elm, double *U, double ue[4]) |
static void | _INTERFACEGetCoord (sElement *elm, sCoord coord[2]) |
static double | _INTERFACEArea (sCoord coord[2]) |
static void | INTERFACENew (int, int, int, int, sElement **, sElement **, sNode *) |
static void | INTERFACEFree (sElement *) |
static void | INTERFACERead (sElement *) |
static int | INTERFACEReadInitStress (sElement *) |
static void | INTERFACEMassMatrix (sElement *, double *) |
static double | INTERFACERigidCoeff (sElement *) |
static void | INTERFACEConnect (sElement *, int *) |
static void | INTERFACENumNodes (sElement *, int *) |
static void | INTERFACEAssVector (sElement *, double *, double *) |
static void | INTERFACEStressStrain (sElement *, double, double *, double *, sTensor *, sTensor *) |
static void | INTERFACEInterForce (sElement *, sTensor *, double *) |
static void | INTERFACEWriteGaussResult (sElement *, FILE *, FILE *) |
static void | INTERFACEWriteGaussVectorResult (sElement *, int, FILE *, FILE *) |
static void | INTERFACEWriteNodalResult (sElement *, FILE *, FILE *) |
static void | INTERFACEWriteStress (sElement *, FILE *, double *, double *) |
static void | INTERFACESetPressure (sElement *, double) |
static void | INTERFACESetInitStress (sElement *, sTensor *) |
static void | INTERFACEViscoForce (sElement *elm, double timeStep, sTensor *stress, double *vforce) |
void | INTERFACEInit (void) |
static double _INTERFACEArea | ( | sCoord | [] | ) | [static] |
Referenced by _INTERFACEBMatrix(), and INTERFACERigidCoeff().
static void _INTERFACEBMatrix | ( | sElement * | elm, | |
double | bm[2][8] | |||
) | [static] |
Definition at line 72 of file intf.c.
References _INTERFACEArea(), _INTERFACEGetCoord(), sCoord::x, and sCoord::y.
Referenced by INTERFACEInterForce(), INTERFACEStressStrain(), and INTERFACEViscoForce().
Definition at line 127 of file intf.c.
References sNode::coord, sElement::data, sItfData::inc, sElement::nodes, sCoord::x, sCoord::y, and sCoord::z.
Referenced by _INTERFACEBMatrix(), INTERFACERigidCoeff(), and INTERFACESetPressure().
static void _INTERFACEGetDisplacement | ( | sElement * | elm, | |
double * | U, | |||
double | ue[4] | |||
) | [static] |
static void _INTERFACEGetDisplacement | ( | sElement * | , | |
double * | , | |||
double | [] | |||
) | [static] |
static void INTERFACEAssVector | ( | sElement * | elm, | |
double * | Gvec, | |||
double * | vec | |||
) | [static] |
Definition at line 397 of file intf.c.
References sElement::data, ElmConnect, and sItfData::NumNodes.
Referenced by INTERFACEInit().
static void INTERFACEConnect | ( | sElement * | elm, | |
int * | conn | |||
) | [static] |
Definition at line 369 of file intf.c.
References sElement::data, sItfData::inc, and NumNodes.
Referenced by INTERFACEInit().
static void INTERFACEFree | ( | sElement * | elm | ) | [static] |
Definition at line 241 of file intf.c.
References sElement::data, and sItfData::iPress.
Referenced by INTERFACEInit().
void INTERFACEInit | ( | void | ) |
Definition at line 512 of file intf.c.
References _INTERFACEBMatrix(), sElement::data, ElmRigidCoeff, sItfData::iPress, sItfData::NumNodes, sTensor::xx, and sTensor::yy.
Referenced by INTERFACEInit().
static void INTERFACEMassMatrix | ( | sElement * | elm, | |
double * | mass | |||
) | [static] |
Definition at line 331 of file intf.c.
Referenced by INTERFACEInit().
static void INTERFACENew | ( | int | label, | |
int | matid, | |||
int | intord, | |||
int | tckid, | |||
sElement ** | elm, | |||
sElement ** | elist, | |||
sNode * | nodes | |||
) | [static] |
Definition at line 198 of file intf.c.
References DSP_NO, sItfData::effdef, INTERFACE, sItfData::iPress, sItfData::matid, NONE, sItfData::NumNodes, sItfData::NumTensComp, and sItfData::tckid.
Referenced by INTERFACEInit().
static void INTERFACENumNodes | ( | sElement * | elm, | |
int * | nnodes | |||
) | [static] |
Definition at line 385 of file intf.c.
References sElement::data, and sItfData::NumNodes.
Referenced by INTERFACEInit().
static void INTERFACERead | ( | sElement * | elm | ) | [static] |
Definition at line 269 of file intf.c.
References sElement::data, sItfData::inc, and nf.
Referenced by INTERFACEInit().
static int INTERFACEReadInitStress | ( | sElement * | elm | ) | [static] |
Definition at line 295 of file intf.c.
References sElement::data, sItfData::istr, and nf.
Referenced by INTERFACEInit().
static double INTERFACERigidCoeff | ( | sElement * | elm | ) | [static] |
Definition at line 348 of file intf.c.
References _INTERFACEArea(), and _INTERFACEGetCoord().
Referenced by INTERFACEInit().
Definition at line 807 of file intf.c.
References sElement::data, sItfData::istr, sTensor::xx, sTensor::xy, and sTensor::yy.
Referenced by INTERFACEInit().
static void INTERFACESetPressure | ( | sElement * | elm, | |
double | pot | |||
) | [static] |
Definition at line 777 of file intf.c.
References _INTERFACEGetCoord(), sElement::data, ElementInitTensor(), sItfData::iPress, sTensor::xx, sCoord::y, and sTensor::yy.
Referenced by INTERFACEInit().
static void INTERFACEStressStrain | ( | sElement * | elm, | |
double | dt, | |||
double * | U, | |||
double * | yield, | |||
sTensor * | stre, | |||
sTensor * | stra | |||
) | [static] |
Definition at line 424 of file intf.c.
References _INTERFACEBMatrix(), _INTERFACEGetDisplacement(), sElement::data, sItfData::effdef, MatConstitutiveMatrix, sItfData::matid, MatList, MatUpdateParameter, MatUpdateStress, sItfData::NumNodes, sTensor::xx, sTensor::xy, and sTensor::yy.
Referenced by INTERFACEInit(), and INTERFACEWriteStress().
static void INTERFACEViscoForce | ( | sElement * | elm, | |
double | timeStep, | |||
sTensor * | stress, | |||
double * | vforce | |||
) | [static] |
Definition at line 826 of file intf.c.
References _INTERFACEBMatrix(), sElement::data, ElmRigidCoeff, MatConstitutiveMatrix, MaterialIsVisco(), sItfData::matid, MatList, MatViscoStrain, sItfData::NumNodes, sTensor::xx, and sTensor::yy.
Referenced by INTERFACEInit().
static void INTERFACEWriteGaussResult | ( | sElement * | elm, | |
FILE * | out, | |||
FILE * | tmp | |||
) | [static] |
Definition at line 657 of file intf.c.
References Config, sConfig::gaussresults, sElement::label, sConfig::numgaussresults, sTensor::xx, sTensor::xy, and sTensor::yy.
Referenced by INTERFACEInit().
static void INTERFACEWriteGaussVectorResult | ( | sElement * | elm, | |
int | version, | |||
FILE * | out, | |||
FILE * | tmp | |||
) | [static] |
Definition at line 733 of file intf.c.
References sElement::label.
Referenced by INTERFACEInit().
static void INTERFACEWriteNodalResult | ( | sElement * | elm, | |
FILE * | out, | |||
FILE * | tmp | |||
) | [static] |
Definition at line 613 of file intf.c.
References sElement::label, sTensor::xx, sTensor::yy, and sTensor::zz.
Referenced by INTERFACEInit().
static void INTERFACEWriteStress | ( | sElement * | elm, | |
FILE * | out, | |||
double * | U, | |||
double * | V | |||
) | [static] |
Definition at line 572 of file intf.c.
References DONE, INTERFACEStressStrain(), sElement::rezone, sTensor::xx, sTensor::xy, sTensor::xz, sTensor::yy, sTensor::yz, and sTensor::zz.
Referenced by INTERFACEInit().