ViennaGrid for Python
 All Classes Files Functions Variables
Functions
refine_uniformly.hpp File Reference

Implement uniform refinement of a domain. More...

#include "../domains/linear.hpp"
#include "../domains/triangular.hpp"
#include "../domains/quadrilateral.hpp"
#include "../domains/tetrahedral.hpp"
#include "../segmentations/linear.hpp"
#include "../segmentations/triangular.hpp"
#include "../segmentations/quadrilateral.hpp"
#include "../segmentations/tetrahedral.hpp"
#include <boost/python.hpp>

Go to the source code of this file.

Functions

tuple TriangularCartesian2D_Domain_refine_uniformly (TriangularCartesian2D_Domain domain_in, TriangularCartesian2D_Segmentation segmentation_in)
 Refine all edges of the given triangular cartesian 2D domain and segmentation.
tuple TriangularCartesian3D_Domain_refine_uniformly (TriangularCartesian3D_Domain domain_in, TriangularCartesian3D_Segmentation segmentation_in)
 Refine all edges of the given triangular cartesian 3D domain and segmentation.
tuple TriangularCylindrical3D_Domain_refine_uniformly (TriangularCylindrical3D_Domain domain_in, TriangularCylindrical3D_Segmentation segmentation_in)
 Refine all edges of the given triangular cylindrical domain and segmentation.
tuple TriangularPolar2D_Domain_refine_uniformly (TriangularPolar2D_Domain domain_in, TriangularPolar2D_Segmentation segmentation_in)
 Refine all edges of the given triangular polar domain and segmentation.
tuple TriangularSpherical3D_Domain_refine_uniformly (TriangularSpherical3D_Domain domain_in, TriangularSpherical3D_Segmentation segmentation_in)
 Refine all edges of the given triangular spherical domain and segmentation.
tuple TetrahedralCartesian3D_Domain_refine_uniformly (TetrahedralCartesian3D_Domain domain_in, TetrahedralCartesian3D_Segmentation segmentation_in)
 Refine all edges of the given tetrahedral cartesian 3D domain and segmentation.
tuple TetrahedralCylindrical3D_Domain_refine_uniformly (TetrahedralCylindrical3D_Domain domain_in, TetrahedralCylindrical3D_Segmentation segmentation_in)
 Refine all edges of the given tetrahedral cylindrical domain and segmentation.
tuple TetrahedralSpherical3D_Domain_refine_uniformly (TetrahedralSpherical3D_Domain domain_in, TetrahedralSpherical3D_Segmentation segmentation_in)
 Refine all edges of the given tetrahedral spherical domain and segmentation.

Detailed Description

Implement uniform refinement of a domain.

This module provides the refine_uniformly function for triangular and tetrahedral domains. This function refines all edges of the given domain and segmentation.

Function Documentation

tuple TetrahedralCartesian3D_Domain_refine_uniformly ( TetrahedralCartesian3D_Domain  domain_in,
TetrahedralCartesian3D_Segmentation  segmentation_in 
)

Refine all edges of the given tetrahedral cartesian 3D domain and segmentation.

Parameters
domain_inDomain to be refined.
segmentation_inSegmentation of the domain to be refined.
Returns
Python tuple with two elements:
  1. the refined domain, and
  2. the refined segmentation.
Since
0.1.0
tuple TetrahedralCylindrical3D_Domain_refine_uniformly ( TetrahedralCylindrical3D_Domain  domain_in,
TetrahedralCylindrical3D_Segmentation  segmentation_in 
)

Refine all edges of the given tetrahedral cylindrical domain and segmentation.

Parameters
domain_inDomain to be refined.
segmentation_inSegmentation of the domain to be refined.
Returns
Python tuple with two elements:
  1. the refined domain, and
  2. the refined segmentation.
Since
0.1.0
tuple TetrahedralSpherical3D_Domain_refine_uniformly ( TetrahedralSpherical3D_Domain  domain_in,
TetrahedralSpherical3D_Segmentation  segmentation_in 
)

Refine all edges of the given tetrahedral spherical domain and segmentation.

Parameters
domain_inDomain to be refined.
segmentation_inSegmentation of the domain to be refined.
Returns
Python tuple with two elements:
  1. the refined domain, and
  2. the refined segmentation.
Since
0.1.0
tuple TriangularCartesian2D_Domain_refine_uniformly ( TriangularCartesian2D_Domain  domain_in,
TriangularCartesian2D_Segmentation  segmentation_in 
)

Refine all edges of the given triangular cartesian 2D domain and segmentation.

Parameters
domain_inDomain to be refined.
segmentation_inSegmentation of the domain to be refined.
Returns
Python tuple with two elements:
  1. the refined domain, and
  2. the refined segmentation.
Since
0.1.0
tuple TriangularCartesian3D_Domain_refine_uniformly ( TriangularCartesian3D_Domain  domain_in,
TriangularCartesian3D_Segmentation  segmentation_in 
)

Refine all edges of the given triangular cartesian 3D domain and segmentation.

Parameters
domain_inDomain to be refined.
segmentation_inSegmentation of the domain to be refined.
Returns
Python tuple with two elements:
  1. the refined domain, and
  2. the refined segmentation.
Since
0.1.0
tuple TriangularCylindrical3D_Domain_refine_uniformly ( TriangularCylindrical3D_Domain  domain_in,
TriangularCylindrical3D_Segmentation  segmentation_in 
)

Refine all edges of the given triangular cylindrical domain and segmentation.

Parameters
domain_inDomain to be refined.
segmentation_inSegmentation of the domain to be refined.
Returns
Python tuple with two elements:
  1. the refined domain, and
  2. the refined segmentation.
Since
0.1.0
tuple TriangularPolar2D_Domain_refine_uniformly ( TriangularPolar2D_Domain  domain_in,
TriangularPolar2D_Segmentation  segmentation_in 
)

Refine all edges of the given triangular polar domain and segmentation.

Parameters
domain_inDomain to be refined.
segmentation_inSegmentation of the domain to be refined.
Returns
Python tuple with two elements:
  1. the refined domain, and
  2. the refined segmentation.
Since
0.1.0
tuple TriangularSpherical3D_Domain_refine_uniformly ( TriangularSpherical3D_Domain  domain_in,
TriangularSpherical3D_Segmentation  segmentation_in 
)

Refine all edges of the given triangular spherical domain and segmentation.

Parameters
domain_inDomain to be refined.
segmentation_inSegmentation of the domain to be refined.
Returns
Python tuple with two elements:
  1. the refined domain, and
  2. the refined segmentation.
Since
0.1.0