xc
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
XC::InteractionDiagram Class Reference

@ingroup MATSCCDiagInt More...

#include <InteractionDiagram.h>

Inheritance diagram for XC::InteractionDiagram:
XC::ClosedTriangleMesh XC::MovableObject XC::DistributedBase

Public Member Functions

 InteractionDiagram (void)
 Default constructor.
 
 InteractionDiagram (const Pos3d &org, const Triang3dMesh &mll)
 
 InteractionDiagram (const InteractionDiagram &)
 Copy constructor.
 
InteractionDiagramoperator= (const InteractionDiagram &)
 Assignment operator.
 
virtual InteractionDiagramclon (void) const
 Virtual constructor.
 
const Trihedron * findTrihedronPtr (const Pos3d &p) const
 Search for the trihedron that contains the point being passed as parameter.
 
Pos3d getIntersection (const Pos3d &) const
 Returns the intersection of the ray O->esf_d with the interaction diagram. More...
 
double getCapacityFactor (const Pos3d &) const
 Return the capacity factor for the internal forces triplet being passed as parameters.
 
Vector getCapacityFactor (const GeomObj::list_Pos3d &) const
 
void Print (std::ostream &os) const
 
- Public Member Functions inherited from XC::ClosedTriangleMesh
 ClosedTriangleMesh (void)
 Default constructor.
 
 ClosedTriangleMesh (const Pos3d &org, const Triang3dMesh &mll)
 
 ClosedTriangleMesh (const ClosedTriangleMesh &)
 Copy constructor.
 
ClosedTriangleMeshoperator= (const ClosedTriangleMesh &)
 Assignment operator.
 
virtual double GetMax (short unsigned int i) const
 
virtual double GetMin (short unsigned int i) const
 
virtual Pos3d getCenterOfMass (void) const
 
virtual double getLength (void) const
 
virtual double getArea (void) const
 
virtual double getVolume (void) const
 
virtual double Ix (void) const
 
virtual double Iy (void) const
 
virtual double Iz (void) const
 
short unsigned int Dimension () const
 
size_t GetNumFacetas (void) const
 
TriangleMap getTriangleMap (void) const
 
iterator begin (void)
 
iterator end (void)
 
const_iterator begin () const
 
const_iterator end () const
 
size_t size (void) const
 
const_iterator findTrihedron (const Pos3d &p) const
 Search for the trihedron that contains the point being passed as parameter. More...
 
const Trihedron * findTrihedronPtr (const Pos3d &p) const
 Search for the trihedron that contains the point being passed as parameter. More...
 
int sendSelf (CommParameters &)
 Send the object through the channel being passed as parameter.
 
int recvSelf (const CommParameters &)
 Receives object through the channel being passed as parameter.
 
void write (std::ofstream &)
 Write the matrix in a binary file.
 
void read (std::ifstream &)
 Read the matrix from a binary file.
 
void writeTo (const std::string &)
 
void readFrom (const std::string &)
 Read from file.
 
void Print (std::ostream &os) const
 Print stuff.
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor. More...
 
 MovableObject (int classTag)
 Constructor. More...
 
 MovableObject (const MovableObject &)
 Copy constructor. Doesn't copy the dbTag.
 
MovableObjectoperator= (const MovableObject &)
 Assignment operator. Doesn't copy the dbTag.
 
int getClassTag (void) const
 Return the class identifier.
 
int getDbTag (void) const
 Return the object identifier in the database.
 
int getDbTag (CommParameters &)
 Return the object identifier in the database.
 
void setDbTag (int dbTag)
 Sets the object identifier in the database.
 
void setDbTag (CommParameters &)
 Sets the object identifier in the database if not already set. More...
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 Sets the value param to the parameter argv.
 
virtual int updateParameter (int parameterID, Information &info)
 Updates the parameter identified by parameterID with info.
 
virtual int activateParameter (int parameterID)
 Activates the parameter identified by parameterID.
 
virtual int setVariable (const std::string &variable, Information &)
 Set the value of the variable idenfified by var.
 
virtual int getVariable (const std::string &variable, Information &)
 Return the value of the variable idenfified by var.
 
- Public Member Functions inherited from XC::DistributedBase
 DistributedBase (void)
 Constructor.
 
virtual DbTagDatagetDbTagData (void) const
 Returns a vector to store class dbTags.
 
const int & getDbTagDataPos (const int &i) const
 Returns the data at the i-th position.
 
void setDbTagDataPos (const int &i, const int &v)
 Sets the data at the i-th position.
 
void inicComm (const int &dataSize) const
 Initializes communication.
 

Protected Types

typedef std::set< const Trihedron * > set_ptr_trihedrons
 
- Protected Types inherited from XC::ClosedTriangleMesh
typedef std::vector< Trihedron > v_trihedrons
 
typedef v_trihedrons::iterator iterator
 
typedef v_trihedrons::const_iterator const_iterator
 

Protected Member Functions

void classify_trihedron (const Trihedron &tdro)
 We classify the trihedron by its quadrant.
 
void classify_trihedrons (void)
 We classify the trihedrons by its quadrants.
 
void setPositionsMatrix (const Matrix &)
 Create the trihedrons that define the diagram from the matrix that contains the points that define each trihedron. More...
 
GeomObj::list_Pos3d get_intersection (const Pos3d &p) const
 Return the intersection of the half-line thats links the origin (0,0,0) and p and the interaction diagram. More...
 
- Protected Member Functions inherited from XC::ClosedTriangleMesh
GeomObj::list_Pos3d get_intersection (const Pos3d &p) const
 Radius of the sphere that passes through the nearest vertex. More...
 
void getPositionsMatrix (Matrix &)
 Return a matrix with the coordinates of the points that define each one of the trihedrons. More...
 
int sendData (CommParameters &)
 Sends object members through the channel being passed as parameter.
 
int recvData (const CommParameters &)
 Receives object members through the channel being passed as parameter.
 

Protected Attributes

set_ptr_trihedrons quadrant_trihedrons [8]
 
- Protected Attributes inherited from XC::ClosedTriangleMesh
v_trihedrons trihedrons
 
double tol
 
double rMax
 
double rMin
 Radius of the convex-hull circunscribed sphere.
 

Detailed Description

@ingroup MATSCCDiagInt

Interaction diagram (N,Mx,My) for a cross section.

Member Function Documentation

§ get_intersection()

GeomObj::list_Pos3d XC::InteractionDiagram::get_intersection ( const Pos3d &  p) const
protected

Return the intersection of the half-line thats links the origin (0,0,0) and p and the interaction diagram.

§ getIntersection()

Pos3d XC::InteractionDiagram::getIntersection ( const Pos3d &  esf_d) const

Returns the intersection of the ray O->esf_d with the interaction diagram.

§ setPositionsMatrix()

void XC::InteractionDiagram::setPositionsMatrix ( const Matrix m)
protectedvirtual

Create the trihedrons that define the diagram from the matrix that contains the points that define each trihedron.

Reimplemented from XC::ClosedTriangleMesh.


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