Skip to content

FEElement_

Inherits from FEItem

Inherited by FEElement, FETri3

Public Functions

Name
FEElement_()
constructor
bool is_equal(FEElement_ & e)
int GetType() const
return the element type
bool IsType(int ntype) const
Is the element of this type.
int Nodes() const
number of nodes
int Faces() const
Number of faces (shells have no faces)
int Edges() const
Number of edges (solids have no edges)
int GetFace(int i, int * n)
Get only the nodes of face i (only solids have faces)
FEFace GetFace(int i)
Get the face i (only solids have faces)
FEFace GetShellFace()
Get the face of a shell.
FEEdge GetEdge(int i)
Get the edge.
bool IsExterior()
Is this an exterior element.
bool IsSolid()
bool IsShell()
bool IsBeam()

Protected Functions

Name
void copy(const FEElement_ & el)

Public Attributes

Name
int * m_node
pointer to node data
int * m_nbr
neighbour elements
int * m_face
faces (-1 for interior faces)
double * m_h
element thickness (only used by shells)
vec3d m_fiber
fiber orientation
mat3d m_Q
local material orientation
bool m_Qactive
active local material orientation
double m_a0
cross-sectional area (only used by truss elements)

Protected Attributes

Name
int m_ntype
type of element
int m_nodes
nr of nodes
int m_nfaces
nr of faces ( 0 for shells)
int m_nedges
nr of edges ( 0 for solids)

Additional inherited members

Public Functions inherited from FEItem

Name
FEItem()
bool IsVisible() const
bool IsSelected() const
void Select()
void UnSelect()
void Show()
void Hide()
unsigned int GetFEState() const
void SetFEState(unsigned int state)

Public Attributes inherited from FEItem

Name
int m_ntag
int m_gid
int m_nid

Public Functions Documentation

function FEElement_

FEElement_()

constructor

function is_equal

bool is_equal(
    FEElement_ & e
)

function GetType

inline int GetType() const

return the element type

function IsType

inline bool IsType(
    int ntype
) const

Is the element of this type.

function Nodes

inline int Nodes() const

number of nodes

function Faces

inline int Faces() const

Number of faces (shells have no faces)

function Edges

inline int Edges() const

Number of edges (solids have no edges)

function GetFace

int GetFace(
    int i,
    int * n
)

Get only the nodes of face i (only solids have faces)

function GetFace

FEFace GetFace(
    int i
)

Get the face i (only solids have faces)

function GetShellFace

FEFace GetShellFace()

Get the face of a shell.

function GetEdge

FEEdge GetEdge(
    int i
)

Get the edge.

function IsExterior

bool IsExterior()

Is this an exterior element.

function IsSolid

inline bool IsSolid()

function IsShell

inline bool IsShell()

function IsBeam

inline bool IsBeam()

Protected Functions Documentation

function copy

void copy(
    const FEElement_ & el
)

Public Attributes Documentation

variable m_node

int * m_node;

pointer to node data

variable m_nbr

int * m_nbr;

neighbour elements

variable m_face

int * m_face;

faces (-1 for interior faces)

variable m_h

double * m_h;

element thickness (only used by shells)

variable m_fiber

vec3d m_fiber;

fiber orientation

Todo: maybe I can add an element attribute section

variable m_Q

mat3d m_Q;

local material orientation

variable m_Qactive

bool m_Qactive;

active local material orientation

variable m_a0

double m_a0;

cross-sectional area (only used by truss elements)

Protected Attributes Documentation

variable m_ntype

int m_ntype;

type of element

variable m_nodes

int m_nodes;

nr of nodes

variable m_nfaces

int m_nfaces;

nr of faces ( 0 for shells)

variable m_nedges

int m_nedges;

nr of edges ( 0 for solids)


Updated on 2022-07-23 at 16:40:07 -0600