Tile a rectilinear region with a simplicial mesh. More...
#include "../iss/tile.h"
#include "SimpMeshRed.h"
#include <iostream>
#include <cassert>
#include <cmath>
Go to the source code of this file.
Functions | |
template<int N, int M, typename T , template< class > class Vertex, template< class > class Cell, template< class, class > class Container> | |
BEGIN_NAMESPACE_GEOM void | tile (const BBox< N, T > &domain, const T length, SimpMeshRed< N, M, T, Vertex, Cell, Container > *mesh) |
Tile the rectilinear region. | |
template<int N, int M, typename T , template< class > class Vertex, template< class > class Cell, template< class, class > class Container, class LSF > | |
void | tile (const BBox< N, T > &domain, const T length, const LSF &f, SimpMeshRed< N, M, T, Vertex, Cell, Container > *mesh) |
Tile the object. |
Tile a rectilinear region with a simplicial mesh.
void tile | ( | const BBox< N, T > & | domain, | |
const T | length, | |||
const LSF & | f, | |||
SimpMeshRed< N, M, T, Vertex, Cell, Container > * | mesh | |||
) | [inline] |
Tile the object.
domain | is the rectilinear domain to tile. | |
length | is the maximum tetrahedron edge length. | |
f | is the level set description of the object. | |
mesh | is the indexed simplex set. |
In 2-D, tile the rectangular region with equilateral triangles. In 3-D, tile with a body-centered cubic lattice.
The template parameters can be deduced from the arguments.
References SimpMeshRed< _N, _M, T, _Node, _Cell, Container >::build(), and IndSimpSet< _N, _M, _A, T, V, IS >::tile().
BEGIN_NAMESPACE_GEOM void tile | ( | const BBox< N, T > & | domain, | |
const T | length, | |||
SimpMeshRed< N, M, T, Vertex, Cell, Container > * | mesh | |||
) | [inline] |
Tile the rectilinear region.
domain | is the rectilinear domain to tile. | |
length | is the maximum tetrahedron edge length. | |
mesh | is the indexed simplex set. |
In 2-D, tile the rectangular region with equilateral triangles. In 3-D, tile with a body-centered cubic lattice.
CONTINUE: draw a picture of the 2-D mesh and 3-D block.
The template parameters can be deduced from the arguments.
References SimpMeshRed< _N, _M, T, _Node, _Cell, Container >::build(), and IndSimpSet< _N, _M, _A, T, V, IS >::tile().