Skip to content

FECoreMesh

More...

#include <FECoreMesh.h>

Inherited by FEMesh

Public Functions

Name
FECoreMesh()
constructor
virtual ~FECoreMesh()
destructor
virtual void Create(int nodes, int elems, int faces =0, int edges =0) =0
allocate space for mesh
bool IsType(int ntype)
check the type of the mesh
virtual int Elements() const =0
total number of elements
virtual FEElement_ & ElementRef(int n) =0
return reference to element
virtual FEElement * ElementPtr(int n =0) =0
return pointer to element
int Nodes() const
int Edges() const
int Faces() const
FENode & Node(int n)
FEEdge & Edge(int n)
FEFace & Face(int n)
FENode * NodePtr(int n =0)
FEEdge * EdgePtr(int n =0)
FEFace * FacePtr(int n =0)

Protected Attributes

Name
std::vector< FENode > m_Node
FE nodes.
std::vector< FEEdge > m_Edge
FE edges.
std::vector< FEFace > m_Face
FE faces.

Detailed Description

cpp class FECoreMesh;

This class defines a simple mesh structure that provides basic container services for storing mesh data.

Public Functions Documentation

function FECoreMesh

cpp FECoreMesh()

constructor

function ~FECoreMesh

cpp virtual ~FECoreMesh()

destructor

function Create

cpp virtual void Create( int nodes, int elems, int faces =0, int edges =0 ) =0

allocate space for mesh

Reimplemented by: FEMesh::Create

function IsType

cpp bool IsType( int ntype )

check the type of the mesh

function Elements

cpp virtual int Elements() const =0

total number of elements

Reimplemented by: FEMesh::Elements

function ElementRef

cpp virtual FEElement_ & ElementRef( int n ) =0

return reference to element

Reimplemented by: FEMesh::ElementRef

function ElementPtr

cpp virtual FEElement * ElementPtr( int n =0 ) =0

return pointer to element

Reimplemented by: FEMesh::ElementPtr

function Nodes

cpp inline int Nodes() const

function Edges

cpp inline int Edges() const

function Faces

cpp inline int Faces() const

function Node

cpp inline FENode & Node( int n )

function Edge

cpp inline FEEdge & Edge( int n )

function Face

cpp inline FEFace & Face( int n )

function NodePtr

cpp inline FENode * NodePtr( int n =0 )

function EdgePtr

cpp inline FEEdge * EdgePtr( int n =0 )

function FacePtr

cpp inline FEFace * FacePtr( int n =0 )

Protected Attributes Documentation

variable m_Node

cpp std::vector< FENode > m_Node;

FE nodes.

variable m_Edge

cpp std::vector< FEEdge > m_Edge;

FE edges.

variable m_Face

cpp std::vector< FEFace > m_Face;

FE faces.


Updated on 2026-03-31 at 16:02:10 +0000