HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
Public Member Functions | List of all members
HArDCore2D::MeshBuilder Class Reference

The MeshBuilder class provides build tools to create a full mesh with all connectivities. More...

#include <mesh_builder.hpp>

Public Member Functions

 MeshBuilder ()
 
Meshbuild_the_mesh (std::vector< std::vector< double > > vertices, std::vector< std::vector< size_t > > cells)
 construct the connectivity in the mesh More...
 
Meshmesh ()
 getter for the mesh that was built by this builder
 

Detailed Description

The MeshBuilder class provides build tools to create a full mesh with all connectivities.

Constructor & Destructor Documentation

◆ MeshBuilder()

MeshBuilder::MeshBuilder ( )

Constructor for MeshBuilder.

Member Function Documentation

◆ build_the_mesh()

Mesh * MeshBuilder::build_the_mesh ( std::vector< std::vector< double > >  vertices,
std::vector< std::vector< size_t > >  cells 
)

construct the connectivity in the mesh

Build a Mesh from vertices and cells

Parameters
verticesvector containing the coordinates of the vertices ordered using the global ordering. Note that indexes start at 0 in c++
cellsvector containing vectors with the global indexes of vertices making up a cell
Returns
a pointer to the mesh that was build

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