GooseFEM 1.4.1.dev2+g78f16df
Loading...
Searching...
No Matches
MeshTri3.h File Reference

Generate simple meshes of 3-noded triangular elements in 2d (GooseFEM::Mesh::ElementType::Tri3). More...

#include "Mesh.h"
#include "config.h"

Go to the source code of this file.

Classes

class  GooseFEM::Mesh::Tri3::Regular
 Regular grid of squares, with each square cut into two triangular elements. More...
 

Namespaces

namespace  GooseFEM
 Toolbox to perform finite element computations.
 
namespace  GooseFEM::Mesh
 Generic mesh operations, and simple mesh definitions.
 
namespace  GooseFEM::Mesh::Tri3
 Simple meshes of and mesh operations for triangular elements of type ElementType::Tri3.
 

Functions

array_type::tensor< int, 1 > GooseFEM::Mesh::Tri3::getOrientation (const array_type::tensor< double, 2 > &coor, const array_type::tensor< size_t, 2 > &conn)
 Read the orientation of a mesh of triangular elements of type ElementType::Tri3.
 
array_type::tensor< size_t, 2 > GooseFEM::Mesh::Tri3::setOrientation (const array_type::tensor< double, 2 > &coor, const array_type::tensor< size_t, 2 > &conn, const array_type::tensor< int, 1 > &val, int orientation=-1)
 Set the orientation of a mesh of triangular elements of type ElementType::Tri3.
 
array_type::tensor< size_t, 2 > GooseFEM::Mesh::Tri3::setOrientation (const array_type::tensor< double, 2 > &coor, const array_type::tensor< size_t, 2 > &conn, int orientation=-1)
 Set the orientation of a mesh of triangular elements of type ElementType::Tri3.
 

Detailed Description

Generate simple meshes of 3-noded triangular elements in 2d (GooseFEM::Mesh::ElementType::Tri3).

License: This project is released under the GNU Public License (GPLv3).

Definition in file MeshTri3.h.