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

Implement domain refinement. More...

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

Go to the source code of this file.

Functions

tuple TriangularCartesian2D_Domain_refine (TriangularCartesian2D_Domain domain_in, TriangularCartesian2D_Segmentation segmentation_in, object predicate)
 Refine all edges of the given triangular cartesian 2D domain and segmentation which match a given predicate.
tuple TriangularCartesian3D_Domain_refine (TriangularCartesian3D_Domain domain_in, TriangularCartesian3D_Segmentation segmentation_in, object predicate)
 Refine all edges of the given triangular cartesian 3D domain and segmentation which match a given predicate.
tuple TriangularCylindrical3D_Domain_refine (TriangularCylindrical3D_Domain domain_in, TriangularCylindrical3D_Segmentation segmentation_in, object predicate)
 Refine all edges of the given triangular cylindrical domain and segmentation which match a given predicate.
tuple TriangularPolar2D_Domain_refine (TriangularPolar2D_Domain domain_in, TriangularPolar2D_Segmentation segmentation_in, object predicate)
 Refine all edges of the given triangular polar domain and segmentation which match a given predicate.
tuple TriangularSpherical3D_Domain_refine (TriangularSpherical3D_Domain domain_in, TriangularSpherical3D_Segmentation segmentation_in, object predicate)
 Refine all edges of the given triangular spherical domain and segmentation which match a given predicate.
tuple TetrahedralCartesian3D_Domain_refine (TetrahedralCartesian3D_Domain domain_in, TetrahedralCartesian3D_Segmentation segmentation_in, object predicate)
 Refine all edges of the given tetrahedral cartesian 3D domain and segmentation which match a given predicate.
tuple TetrahedralCylindrical3D_Domain_refine (TetrahedralCylindrical3D_Domain domain_in, TetrahedralCylindrical3D_Segmentation segmentation_in, object predicate)
 Refine all edges of the given tetrahedral cylindrical domain and segmentation which match a given predicate.
tuple TetrahedralSpherical3D_Domain_refine (TetrahedralSpherical3D_Domain domain_in, TetrahedralSpherical3D_Segmentation segmentation_in, object predicate)
 Refine all edges of the given tetrahedral spherical domain and segmentation which match a given predicate.

Detailed Description

Implement domain refinement.

This module provides the refine function for triangular and tetrahedral domains. This function refines all edges of the given domain and segmentation which match a given predicate.

Function Documentation

tuple TetrahedralCartesian3D_Domain_refine ( TetrahedralCartesian3D_Domain  domain_in,
TetrahedralCartesian3D_Segmentation  segmentation_in,
object  predicate 
)

Refine all edges of the given tetrahedral cartesian 3D domain and segmentation which match a given predicate.

Parameters
domain_inDomain to be refined.
segmentation_inSegmentation of the domain to be refined.
predicatePredicate to test if an edge should be marked for refinement.
Returns
Python tuple with two elements:
  1. the refined domain, and
  2. the refined segmentation.
Since
0.1.0
tuple TetrahedralCylindrical3D_Domain_refine ( TetrahedralCylindrical3D_Domain  domain_in,
TetrahedralCylindrical3D_Segmentation  segmentation_in,
object  predicate 
)

Refine all edges of the given tetrahedral cylindrical domain and segmentation which match a given predicate.

Parameters
domain_inDomain to be refined.
segmentation_inSegmentation of the domain to be refined.
predicatePredicate to test if an edge should be marked for refinement.
Returns
Python tuple with two elements:
  1. the refined domain, and
  2. the refined segmentation.
Since
0.1.0
tuple TetrahedralSpherical3D_Domain_refine ( TetrahedralSpherical3D_Domain  domain_in,
TetrahedralSpherical3D_Segmentation  segmentation_in,
object  predicate 
)

Refine all edges of the given tetrahedral spherical domain and segmentation which match a given predicate.

Parameters
domain_inDomain to be refined.
segmentation_inSegmentation of the domain to be refined.
predicatePredicate to test if an edge should be marked for refinement.
Returns
Python tuple with two elements:
  1. the refined domain, and
  2. the refined segmentation.
Since
0.1.0
tuple TriangularCartesian2D_Domain_refine ( TriangularCartesian2D_Domain  domain_in,
TriangularCartesian2D_Segmentation  segmentation_in,
object  predicate 
)

Refine all edges of the given triangular cartesian 2D domain and segmentation which match a given predicate.

Parameters
domain_inDomain to be refined.
segmentation_inSegmentation of the domain to be refined.
predicatePredicate to test if an edge should be marked for refinement.
Returns
Python tuple with two elements:
  1. the refined domain, and
  2. the refined segmentation.
Since
0.1.0
tuple TriangularCartesian3D_Domain_refine ( TriangularCartesian3D_Domain  domain_in,
TriangularCartesian3D_Segmentation  segmentation_in,
object  predicate 
)

Refine all edges of the given triangular cartesian 3D domain and segmentation which match a given predicate.

Parameters
domain_inDomain to be refined.
segmentation_inSegmentation of the domain to be refined.
predicatePredicate to test if an edge should be marked for refinement.
Returns
Python tuple with two elements:
  1. the refined domain, and
  2. the refined segmentation.
Since
0.1.0
tuple TriangularCylindrical3D_Domain_refine ( TriangularCylindrical3D_Domain  domain_in,
TriangularCylindrical3D_Segmentation  segmentation_in,
object  predicate 
)

Refine all edges of the given triangular cylindrical domain and segmentation which match a given predicate.

Parameters
domain_inDomain to be refined.
segmentation_inSegmentation of the domain to be refined.
predicatePredicate to test if an edge should be marked for refinement.
Returns
Python tuple with two elements:
  1. the refined domain, and
  2. the refined segmentation.
Since
0.1.0
tuple TriangularPolar2D_Domain_refine ( TriangularPolar2D_Domain  domain_in,
TriangularPolar2D_Segmentation  segmentation_in,
object  predicate 
)

Refine all edges of the given triangular polar domain and segmentation which match a given predicate.

Parameters
domain_inDomain to be refined.
segmentation_inSegmentation of the domain to be refined.
predicatePredicate to test if an edge should be marked for refinement.
Returns
Python tuple with two elements:
  1. the refined domain, and
  2. the refined segmentation.
Since
0.1.0
tuple TriangularSpherical3D_Domain_refine ( TriangularSpherical3D_Domain  domain_in,
TriangularSpherical3D_Segmentation  segmentation_in,
object  predicate 
)

Refine all edges of the given triangular spherical domain and segmentation which match a given predicate.

Parameters
domain_inDomain to be refined.
segmentation_inSegmentation of the domain to be refined.
predicatePredicate to test if an edge should be marked for refinement.
Returns
Python tuple with two elements:
  1. the refined domain, and
  2. the refined segmentation.
Since
0.1.0