OOFEM 3.0
Loading...
Searching...
No Matches
oofem::EmptyCS Class Reference

#include <emptycs.h>

Inheritance diagram for oofem::EmptyCS:
Collaboration diagram for oofem::EmptyCS:

Public Member Functions

 EmptyCS (int n, Domain *d)
MaterialgiveMaterial (IntegrationPoint *ip) const override
 hidden by virtual oofem::Material* TransportCrossSection::giveMaterial() const
int packUnknowns (DataStream &buff, TimeStep *tStep, GaussPoint *ip) override
int unpackAndUpdateUnknowns (DataStream &buff, TimeStep *tStep, GaussPoint *ip) override
int estimatePackSize (DataStream &buff, GaussPoint *ip) override
const char * giveClassName () const override
const char * giveInputRecordName () const override
Public Member Functions inherited from oofem::CrossSection
 CrossSection (int n, Domain *d)
virtual ~CrossSection ()
 Destructor.
int giveSetNumber () const
virtual bool hasProperty (CrossSectionProperty a)
virtual double give (CrossSectionProperty a, GaussPoint *gp) const
virtual double give (CrossSectionProperty a, const FloatArray &coords, Element *elem, bool local=true) const
virtual double give (int aProperty, GaussPoint *gp) const
virtual bool isCharacteristicMtrxSymmetric (MatResponseMode rMode) const
void printYourself () override
 Prints receiver state on stdout. Useful for debugging.
virtual int setupIntegrationPoints (IntegrationRule &irule, int npoints, Element *element)
virtual int setupIntegrationPoints (IntegrationRule &irule, int npointsXY, int npointsZ, Element *element)
virtual int testCrossSectionExtension (CrossSectExtension ext)
virtual int giveIPValue (FloatArray &answer, GaussPoint *ip, InternalStateType type, TimeStep *tStep)
virtual double predictRelativeComputationalCost (GaussPoint *ip)
virtual double giveRelativeSelfComputationalCost ()
virtual double predictRelativeRedistributionCost (GaussPoint *gp)
void initializeFrom (InputRecord &ir) override
void giveInputRecord (DynamicInputRecord &input) override
virtual void saveIPContext (DataStream &stream, ContextMode mode, GaussPoint *gp)
virtual void restoreIPContext (DataStream &stream, ContextMode mode, GaussPoint *gp)
void saveContext (DataStream &stream, ContextMode mode) override
void restoreContext (DataStream &stream, ContextMode mode) override
Public Member Functions inherited from oofem::FEMComponent
 FEMComponent (int n, Domain *d)
virtual ~FEMComponent ()=default
 Virtual destructor.
DomaingiveDomain () const
virtual void setDomain (Domain *d)
int giveNumber () const
void setNumber (int num)
virtual void updateLocalNumbering (EntityRenumberingFunctor &f)
virtual void initializeFrom (InputRecord &ir, int priority)
virtual void initializeFinish ()
virtual void postInitialize ()
 Performs post initialization steps. Called after all components are created and initialized.
virtual int checkConsistency ()
virtual void printOutputAt (FILE *file, TimeStep *tStep)
virtual InterfacegiveInterface (InterfaceType t)
std::string errorInfo (const char *func) const
 Returns string for prepending output (used by error reporting macros).

Additional Inherited Members

Protected Attributes inherited from oofem::CrossSection
Dictionary propertyDictionary
int setNumber
Protected Attributes inherited from oofem::FEMComponent
int number
 Component number.
Domaindomain
 Link to domain object, useful for communicating with other FEM components.

Detailed Description

Empty cross section model which doesn't have any material models.

Definition at line 46 of file emptycs.h.

Constructor & Destructor Documentation

◆ EmptyCS()

oofem::EmptyCS::EmptyCS ( int n,
Domain * d )

Constructor. Creates cross section with number n belonging to domain d.

Parameters
nCross section number.
dDomain for cross section.

Definition at line 41 of file emptycs.C.

References oofem::CrossSection::CrossSection().

Member Function Documentation

◆ estimatePackSize()

int oofem::EmptyCS::estimatePackSize ( DataStream & buff,
GaussPoint * ip )
inlineoverridevirtual

Estimates the necessary pack size to hold all packed data of receiver. The corresponding material model service is invoked. The nature of packed data is typically material model dependent.

Parameters
buffCommunication buffer.
ipIntegration point.
Returns
Estimate of pack size.

Implements oofem::CrossSection.

Definition at line 59 of file emptycs.h.

◆ giveClassName()

const char * oofem::EmptyCS::giveClassName ( ) const
inlineoverridevirtual
Returns
Class name of the receiver.

Implements oofem::FEMComponent.

Definition at line 61 of file emptycs.h.

◆ giveInputRecordName()

const char * oofem::EmptyCS::giveInputRecordName ( ) const
inlineoverridevirtual
Returns
Input record name of the receiver.

Implements oofem::FEMComponent.

Definition at line 62 of file emptycs.h.

References _IFT_EmptyCS_Name.

◆ giveMaterial()

Material * oofem::EmptyCS::giveMaterial ( IntegrationPoint * ip) const
overridevirtual

hidden by virtual oofem::Material* TransportCrossSection::giveMaterial() const

Returns the material associated with the GP. Default implementation uses gp->giveMaterial() for backwards compatibility, but it should be overloaded in each specialized cross-section.

Implements oofem::CrossSection.

Definition at line 43 of file emptycs.C.

◆ packUnknowns()

int oofem::EmptyCS::packUnknowns ( DataStream & buff,
TimeStep * tStep,
GaussPoint * ip )
inlineoverridevirtual

Pack all necessary data of integration point (according to element parallel_mode) into given communication buffer. The corresponding material model service for particular integration point is invoked. The nature of packed data is material model dependent. Typically, for material of "local" response (response depends only on integration point local state) no data are exchanged. For "nonlocal" constitutive models the send/receive of local values which undergo averaging is performed between local and corresponding remote elements.

Parameters
buffCommunication buffer.
tStepSolution step.
ipIntegration point.
Returns
Nonzero if successful.

Implements oofem::CrossSection.

Definition at line 57 of file emptycs.h.

◆ unpackAndUpdateUnknowns()

int oofem::EmptyCS::unpackAndUpdateUnknowns ( DataStream & buff,
TimeStep * tStep,
GaussPoint * ip )
inlineoverridevirtual

Unpack and updates all necessary data of given integration point (according to element parallel_mode) into given communication buffer.

See also
packUnknowns service.
Parameters
buffCommunication buffer.
tStepSolution step.
ipIntegration point.
Returns
Nonzero if successful.

Implements oofem::CrossSection.

Definition at line 58 of file emptycs.h.


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

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011