Flow123d  JS_before_hm-1819-gb167879ec
Public Member Functions | Public Attributes | List of all members
MeshObject Class Reference

#include <duplicate_nodes.h>

Collaboration diagram for MeshObject:
Collaboration graph
[legend]

Public Member Functions

 MeshObject (unsigned int dim)
 
 ~MeshObject ()
 

Public Attributes

MeshObjectfaces [4]
 (dim-1)-dimensional faces More...
 
unsigned int nodes [4]
 Indices of nodes. More...
 
unsigned int dim_
 Dimension of n-face. More...
 

Detailed Description

Class representing an n-face (node, line, triangle or tetrahedron) in the mesh. Currently, the object stores information about its 1-codimensional faces and nodes.

In the future we should think about complete graph, where every n-dimensional object has information only about its (n-1)-dimensional faces.

Definition at line 34 of file duplicate_nodes.h.

Constructor & Destructor Documentation

◆ MeshObject()

MeshObject::MeshObject ( unsigned int  dim)

Definition at line 31 of file duplicate_nodes.cc.

◆ ~MeshObject()

MeshObject::~MeshObject ( )
inline

Definition at line 38 of file duplicate_nodes.h.

Member Data Documentation

◆ dim_

unsigned int MeshObject::dim_

Dimension of n-face.

Definition at line 47 of file duplicate_nodes.h.

◆ faces

MeshObject* MeshObject::faces[4]

(dim-1)-dimensional faces

Definition at line 41 of file duplicate_nodes.h.

◆ nodes

unsigned int MeshObject::nodes[4]

Indices of nodes.

Definition at line 44 of file duplicate_nodes.h.


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