Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

CFEOMesh Class Reference

#include <hyp.fem.mesh.h>

Inheritance diagram for CFEOMesh::

IFEOMesh List of all members.

Common Functions

See the Hyperion Pattern.

 CFEOMesh (hyp_ker::IUnknown *)
virtual ~CFEOMesh ()
virtual hyp_DECLARE_IUNKNOWN
hyp_ker::com_result 
NondelegatingQueryInterface (const hyp_ker::hypIID &, void **)
hyp_ker::com_result Init (void)
void FinalRelease (void)
hyp_ker::com_result CreateInstance (hyp_ker::IUnknown *,hyp_ker::CUnknown **)

IFEOMesh Interface

virtual void SetDefaultMaterial (IFEOMaterial *)
virtual const IFEOMaterialGetDefaultMaterial () const
virtual void ConstructGlobalMatrix ()
virtual IMatrixK () const
virtual void ConstructBoundaryMatrix ()
virtual void InverseBoundaryMatrix ()
virtual void ConstructVisibleMatrix ()
virtual void InitMasks ()
virtual void SetRenderMask (const t_mask_array &)
virtual t_mask_array RenderMask ()
virtual t_real_array Displacement ()
virtual t_real_array GetGlobalDisplacement ()
virtual void SetRealTimeMask (const t_mask_array &)
virtual t_mask_array RealTimeMask ()
virtual t_real_array RealTimeForce ()
virtual t_real_array GetGlobalRealTimeForce ()
virtual void SetGlobalRealTimeForce (const t_real_array &)
virtual void ClearRealTimeForce ()
virtual void PreRender ()
virtual void Render ()
virtual void PostRender ()
virtual IGeometricBaseCreateElement (const t_label &, const t_label_enum &)
virtual IContainerKeyGetContainerOfElements ()
virtual t_size GetNumberOfElements ()
virtual IGeometricBaseGetElement (const t_label &)
virtual void SetForce (const t_label &, const t_real &, const t_real &, const t_real &)
virtual void SetForce (const t_real &, const t_real &, const t_real &, bool, bool, bool, const t_real &, const t_real &, const t_real &)
virtual void FixDOF (const t_real &, const t_real &, const t_real &, bool, bool, bool, bool, bool, bool)
virtual void ClearAllData ()
virtual bool IsSideFixed (const t_label &, const t_size &)

Detailed Description

This is the default implementation of the interface IFEOMesh.
CLSID
Here are the Class Indetifiers (CLSID) supported by the class:
Supported Interfaces
Here is the interfaces which are supported by the component.

    hyp_ker::com_result CFEOMesh::NondelegatingQueryInterface(const hyp_ker::hypIID& iid,void** ppv)
    {
            if(iid==IID_hypIFEOMesh) {
                    return FinishQI(static_cast<IFEOMesh*>(this),ppv);
            } else if(iid==IID_hypIGeometricBase 
                    || iid==IID_hypIGeometricObject
                    || iid==IID_hypIContainer
                    || iid==IID_hypIContainerKey
                    || iid==IID_hypIContainerIterator/*
                    || iid==IID_hypID3DRMMeshObject*/) {
                    return m_spUnknownGeometricObject->QueryInterface(iid,ppv);
            } else {
                    return CUnknown::NondelegatingQueryInterface(iid,ppv);
            }
    }
    //DOXYTAG
Implementation Details


Member Function Documentation

void CFEOMesh::ClearAllData   [virtual]
 

Removes all the components attached to the mesh. According to implementation, it is:

  • vertices
  • sides
  • elements
  • library of materials
  • etc.

Reimplemented from IFEOMesh.

void CFEOMesh::ClearRealTimeForce   [virtual]
 

Clears the force vector.

Reimplemented from IFEOMesh.

void CFEOMesh::ConstructBoundaryMatrix   [virtual]
 

Constructs the boundary matrix:

Reimplemented from IFEOMesh.

void CFEOMesh::ConstructGlobalMatrix   [virtual]
 

Constructs the global matrix.

Reimplemented from IFEOMesh.

void CFEOMesh::ConstructVisibleMatrix   [virtual]
 

Constructs the visible matrix.

Reimplemented from IFEOMesh.

IGeometricBase * CFEOMesh::CreateElement const t_label &   Label,
const t_label_enum &   LabelEnum
[virtual]
 

Creates an element and attach to the mesh. The created element attaches the vertices which are been given in parameters.

Parameters:
Label   Element label
LabelEnum   Enumeration of Vertex Label attached to the mesh
Invariant:
The vertices must support the interface IFEOBoundaryConditions. Moreover the elements must be attached to the mesh.

Reimplemented from IFEOMesh.

t_real_array CFEOMesh::Displacement   [virtual]
 

Gets the displacement vector.

Reimplemented from IFEOMesh.

void CFEOMesh::FixDOF const t_real &   X,
const t_real &   Y,
const t_real &   Z,
bool   FilterX,
bool   FilterY,
bool   FilterZ,
bool   DOFX,
bool   DOFY,
bool   DOFZ
[virtual]
 

Fixs the DOF of all the nodes matching the filter.

Todo:
define a doxygen command to copy and paste
Parameters:
DOFX   if true, the matched node is fixed along the X-axe
DOFY   if true, the matched node is fixed along the Y-axe
DOFZ   if true, the matched node is fixed along the Z-axe

Reimplemented from IFEOMesh.

IContainerKey * CFEOMesh::GetContainerOfElements   [virtual]
 

Gets the container of elements.

Reimplemented from IFEOMesh.

const IFEOMaterial * CFEOMesh::GetDefaultMaterial   const [virtual]
 

Gets the default material.

Reimplemented from IFEOMesh.

IGeometricBase * CFEOMesh::GetElement const t_label &   Label [virtual]
 

Gets the element associated to the mesh.

Parameters:
Label   Element label

Reimplemented from IFEOMesh.

t_real_array CFEOMesh::GetGlobalDisplacement   [virtual]
 

Gets the global displacement vector.

Reimplemented from IFEOMesh.

t_real_array CFEOMesh::GetGlobalRealTimeForce   [virtual]
 

Gets the global force vector.

Reimplemented from IFEOMesh.

t_size CFEOMesh::GetNumberOfElements   [virtual]
 

Gets the number of elements associated to the mesh.

Reimplemented from IFEOMesh.

void CFEOMesh::InitMasks   [virtual]
 

Inits the masks.

Reimplemented from IFEOMesh.

void CFEOMesh::InverseBoundaryMatrix   [virtual]
 

Inverses the boundary matrix.

Reimplemented from IFEOMesh.

bool CFEOMesh::IsSideFixed const t_label &   SideLabel,
const t_size &   CoordinateLabel
[virtual]
 

Checks if a side is fixed in a particualr direction.

Parameters:
SideLabel   Side label
CoordinateLabel   Coordinate label

Reimplemented from IFEOMesh.

IMatrix * CFEOMesh::K   const [virtual]
 

Gets the matrix associated to the mesh.

Reimplemented from IFEOMesh.

void CFEOMesh::PostRender   [virtual]
 

Excecutes the post-render step.

Reimplemented from IFEOMesh.

void CFEOMesh::PreRender   [virtual]
 

Starts the pre-render step.

Reimplemented from IFEOMesh.

t_real_array CFEOMesh::RealTimeForce   [virtual]
 

Gets the force vector.

Reimplemented from IFEOMesh.

t_mask_array CFEOMesh::RealTimeMask   [virtual]
 

Gets the real time mask.

Reimplemented from IFEOMesh.

void CFEOMesh::Render   [virtual]
 

Excecutes the render step.

Reimplemented from IFEOMesh.

t_mask_array CFEOMesh::RenderMask   [virtual]
 

Gets the render mask.

Reimplemented from IFEOMesh.

void CFEOMesh::SetDefaultMaterial IFEOMaterial *   pObject [virtual]
 

Sets the default material associated to the mesh.

Parameters:
pObject   Default material
Invariant:
This handy function can be coupled to the CreateElement function. The implementation can associated the default material to any new created element.

Reimplemented from IFEOMesh.

void CFEOMesh::SetForce const t_real &   X,
const t_real &   Y,
const t_real &   Z,
bool   FilterX,
bool   FilterY,
bool   FilterZ,
const t_real &   FX,
const t_real &   FY,
const t_real &   FZ
[virtual]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Sets a ponctual force localized on the nodes matching the filter.

Parameters:
X   If FilterX is true, the node which its coordinate along the X-axe is equal to X matches to the filter
Y   If FilterY is true, the node which its coordinate along the Y-axe is equal to Y matches to the filter
Z   If FilterZ is true, the node which its coordinate along the Z-axe is equal to Z matches to the filter
FilterX   Filter component
FilterY   Filter component
FilterZ   Filter component

Reimplemented from IFEOMesh.

void CFEOMesh::SetForce const t_label &   Label,
const t_real &   FX,
const t_real &   FY,
const t_real &   FZ
[virtual]
 

Sets a ponctual forces localized on a node.

Parameters:
Label   Node Label
FX   Value of the vector along the X-axe
FY   Value of the vector along the Y-axe
FZ   Value of the vector along the Z-axe

Reimplemented from IFEOMesh.

void CFEOMesh::SetGlobalRealTimeForce const t_real_array &   Array [virtual]
 

Sets the global force vector.

Parameters:
Array   Global force vector

Reimplemented from IFEOMesh.

void CFEOMesh::SetRealTimeMask const t_mask_array &   Mask [virtual]
 

Sets the real time mask.

Parameters:
Mask   Real-time mask

Reimplemented from IFEOMesh.

void CFEOMesh::SetRenderMask const t_mask_array &   Mask [virtual]
 

Sets the render mask.

Parameters:
Mask   Render mask

Reimplemented from IFEOMesh.


The documentation for this class was generated from the following files:
Top of Page
written by Pierre Rebours © 2000-2001. Terms of Use.