Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ViscousMaterial Class Reference

#include <ViscousMaterial.h>

Inheritance diagram for ViscousMaterial::

UniaxialMaterial Material TaggedObject MovableObject List of all members.

Public Methods

 ViscousMaterial (int tag, double C, double Alpha)
 ViscousMaterial ()
 ~ViscousMaterial ()
int setTrialStrain (double velocity, double strainRate=0.0)
double getStrain (void)
double getStrainRate (void)
double getStress (void)
double getTangent (void)
double getDampTangent (void)
double getSecant (void)
int commitState (void)
int revertToLastCommit (void)
int revertToStart (void)
UniaxialMaterialgetCopy (void)
int sendSelf (int commitTag, Channel &theChannel)
int recvSelf (int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)
void Print (ostream &s, int flag=0)

Constructor & Destructor Documentation

ViscousMaterial::ViscousMaterial ( int tag,
double C,
double Alpha )
 

Definition at line 36 of file ViscousMaterial.cpp.

ViscousMaterial::ViscousMaterial ( )
 

Definition at line 47 of file ViscousMaterial.cpp.

Referenced by getCopy().

ViscousMaterial::~ViscousMaterial ( )
 

Definition at line 54 of file ViscousMaterial.cpp.


Member Function Documentation

void ViscousMaterial::Print ( ostream & s,
int flag = 0 ) [virtual]
 

A pure virtual function. The component is to output itself to the output stream {s}. The integer {flag} can be used to select just what should be output, by default is passed.

Reimplemented from TaggedObject.

Definition at line 185 of file ViscousMaterial.cpp.

int ViscousMaterial::commitState ( void ) [virtual]
 

Reimplemented from UniaxialMaterial.

Definition at line 116 of file ViscousMaterial.cpp.

UniaxialMaterial * ViscousMaterial::getCopy ( void ) [virtual]
 

Reimplemented from UniaxialMaterial.

Definition at line 136 of file ViscousMaterial.cpp.

double ViscousMaterial::getDampTangent ( void ) [virtual]
 

Reimplemented from UniaxialMaterial.

Definition at line 85 of file ViscousMaterial.cpp.

double ViscousMaterial::getSecant ( void ) [virtual]
 

Reimplemented from UniaxialMaterial.

Definition at line 98 of file ViscousMaterial.cpp.

double ViscousMaterial::getStrain ( void ) [virtual]
 

Reimplemented from UniaxialMaterial.

Definition at line 104 of file ViscousMaterial.cpp.

double ViscousMaterial::getStrainRate ( void ) [virtual]
 

Reimplemented from UniaxialMaterial.

Definition at line 110 of file ViscousMaterial.cpp.

double ViscousMaterial::getStress ( void ) [virtual]
 

Reimplemented from UniaxialMaterial.

Definition at line 68 of file ViscousMaterial.cpp.

double ViscousMaterial::getTangent ( void ) [virtual]
 

Reimplemented from UniaxialMaterial.

Definition at line 79 of file ViscousMaterial.cpp.

int ViscousMaterial::recvSelf ( int commitTag,
Channel & theChannel,
FEM_ObjectBroker & theBroker ) [virtual]
 

This is a pure virtual method, one must be written for each instantiable subclass of MovableObject. Each object has to receive the data needed to be able to recreate itself in the new process after it has been sent through {theChannel}. If the object is an aggregation containing other objects, new objects of the correct type can be constructed using {theBroker}. To return if successful or a if not.

Reimplemented from MovableObject.

Definition at line 162 of file ViscousMaterial.cpp.

int ViscousMaterial::revertToLastCommit ( void ) [virtual]
 

Reimplemented from UniaxialMaterial.

Definition at line 122 of file ViscousMaterial.cpp.

int ViscousMaterial::revertToStart ( void ) [virtual]
 

Reimplemented from UniaxialMaterial.

Definition at line 128 of file ViscousMaterial.cpp.

int ViscousMaterial::sendSelf ( int commitTag,
Channel & theChannel ) [virtual]
 

This is a pure virtual method, one must be written for each instantiable subclass of MovableObject. Each object has to send the data needed to be able to reproduce that object in a remote process. The object uses the methods provided by {theChannel} object to send the data to another channel at the remote actor, the address of the channel is set before this method is called. An object of similar type at the remote actor is invoked with a {receiveSelf()} to receive the data. Returns if successful (successful in that the data got to the channel), or a if no data was sent.

Reimplemented from MovableObject.

Definition at line 146 of file ViscousMaterial.cpp.

int ViscousMaterial::setTrialStrain ( double velocity,
double strainRate = 0.0 ) [virtual]
 

Reimplemented from UniaxialMaterial.

Definition at line 60 of file ViscousMaterial.cpp.


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