OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::ContactDefinition Class Reference

This class manages a particular contact definition. More...

#include <contactdefinition.h>

+ Inheritance diagram for oofem::ContactDefinition:
+ Collaboration diagram for oofem::ContactDefinition:

Public Member Functions

 ContactDefinition (ContactManager *cMan)
 Constructor. More...
 
virtual ~ContactDefinition ()
 Destructor. More...
 
 ContactDefinition (const ContactDefinition &src)=delete
 
ContactDefinitionoperator= (const ContactDefinition &src)=delete
 
virtual void createContactDofs ()
 
virtual IRResultType initializeFrom (InputRecord *ir)
 
virtual int instanciateYourself (DataReader &dr)
 
virtual const char * giveClassName () const
 
ContactManagergiveContactManager ()
 
virtual int giveNumberOfConstraintEqToAdd ()
 
virtual void setNumberOfConstraintEqToAdd (const int number)
 
virtual void computeContactForces (FloatArray &answer, TimeStep *tStep, ValueModeType mode, const UnknownNumberingScheme &s, Domain *domain, FloatArray *eNorms)
 
virtual void computeContactTangent (SparseMtrx &answer, TimeStep *tStep, const UnknownNumberingScheme &r_s, const UnknownNumberingScheme &c_s)
 
ContactElementgiveContactElement (const int num)
 
int giveNumbertOfContactElements ()
 
void addContactElement (ContactElement *cEl)
 

Private Attributes

ContactManagercMan
 
std::vector< ContactElement * > masterElementList
 
int numberOfConstraintEq
 

Detailed Description

This class manages a particular contact definition.

This keeps track of the discretization, how the contact constraints are enforced

Author
Jim Brouzoulis

Definition at line 64 of file contactdefinition.h.

Constructor & Destructor Documentation

oofem::ContactDefinition::ContactDefinition ( ContactManager cMan)

Constructor.

oofem::ContactDefinition::~ContactDefinition ( )
virtual

Destructor.

Definition at line 56 of file contactdefinition.C.

oofem::ContactDefinition::ContactDefinition ( const ContactDefinition src)
delete

Member Function Documentation

void oofem::ContactDefinition::addContactElement ( ContactElement cEl)
inline
void oofem::ContactDefinition::computeContactForces ( FloatArray answer,
TimeStep tStep,
ValueModeType  mode,
const UnknownNumberingScheme s,
Domain domain,
FloatArray eNorms 
)
virtual
void oofem::ContactDefinition::computeContactTangent ( SparseMtrx answer,
TimeStep tStep,
const UnknownNumberingScheme r_s,
const UnknownNumberingScheme c_s 
)
virtual
virtual const char* oofem::ContactDefinition::giveClassName ( ) const
inlinevirtual
ContactElement* oofem::ContactDefinition::giveContactElement ( const int  num)
inline

Definition at line 99 of file contactdefinition.h.

Referenced by oofem::Skyline::buildInternalStructure().

ContactManager* oofem::ContactDefinition::giveContactManager ( )
inline
virtual int oofem::ContactDefinition::giveNumberOfConstraintEqToAdd ( )
inlinevirtual

Definition at line 91 of file contactdefinition.h.

Referenced by createContactDofs().

int oofem::ContactDefinition::giveNumbertOfContactElements ( )
inline

Definition at line 100 of file contactdefinition.h.

Referenced by oofem::Skyline::buildInternalStructure().

virtual IRResultType oofem::ContactDefinition::initializeFrom ( InputRecord ir)
inlinevirtual

Reimplemented in oofem::ContactDefinitionNode2NodeL, and oofem::ContactDefinitionNode2Node.

Definition at line 85 of file contactdefinition.h.

References oofem::IRRT_OK.

int oofem::ContactDefinition::instanciateYourself ( DataReader dr)
virtual

Definition at line 62 of file contactdefinition.C.

References masterElementList.

ContactDefinition& oofem::ContactDefinition::operator= ( const ContactDefinition src)
delete
virtual void oofem::ContactDefinition::setNumberOfConstraintEqToAdd ( const int  number)
inlinevirtual

Member Data Documentation

ContactManager* oofem::ContactDefinition::cMan
private

Definition at line 67 of file contactdefinition.h.

Referenced by createContactDofs().

std :: vector< ContactElement *> oofem::ContactDefinition::masterElementList
private
int oofem::ContactDefinition::numberOfConstraintEq
private

Definition at line 70 of file contactdefinition.h.


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

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:34 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011