ViennaGrid - The Vienna Grid Library  2.1.0
Namespaces | Functions
viennagrid/algorithm/surface.hpp File Reference

Computes the surface of different cell types as well as meshs and segments. More...

#include <iostream>
#include <sstream>
#include <string>
#include <stdexcept>
#include "viennagrid/forwards.hpp"
#include "viennagrid/algorithm/volume.hpp"
#include "viennagrid/algorithm/boundary.hpp"

Go to the source code of this file.

Namespaces

namespace  viennagrid
 

The main ViennaGrid namespace. Most user functionality resides directly in this namespace rather than in sub-namespaces.


namespace  viennagrid::detail
 

Namespace for implementation details. Not intended to be used directly by a library user.


Functions

template<typename BoundaryElementTTag , typename MeshT , typename ElementT >
viennagrid::result_of::handle
< MeshT, BoundaryElementTTag >
::type 
largest_boundary_volume (MeshT &mesh_obj, ElementT &element)
 Returns a handle to the boundary element with the largest volume.
template<typename BoundaryElementTTag , typename MeshT , typename ElementT >
viennagrid::result_of::const_handle
< MeshT, BoundaryElementTTag >
::type 
largest_boundary_volume (MeshT const &mesh_obj, ElementT const &element)
 Returns a const handle to the boundary element with the largest volume.
template<typename BoundaryElementTTag , typename MeshT , typename ElementT >
viennagrid::result_of::handle
< MeshT, BoundaryElementTTag >
::type 
smallest_boundary_volume (MeshT &mesh_obj, ElementT &element)
 Returns a handle to the boundary element with the smallest volume.
template<typename BoundaryElementTTag , typename MeshT , typename ElementT >
viennagrid::result_of::const_handle
< MeshT, BoundaryElementTTag >
::type 
smallest_boundary_volume (MeshT const &mesh_obj, ElementT const &element)
 Returns a const handle to the boundary element with the smallest volume.
template<typename PointAccessorT , typename ElementTag , typename WrappedConfigT >
viennagrid::result_of::coord
< typename
PointAccessorT::value_type >
::type 
surface (PointAccessorT const accessor, viennagrid::element< ElementTag, WrappedConfigT > const &element)
 Returns the surface of a n-cell using the provided point accessor to obtain the spatial points from each vertex.
template<typename ElementTag , typename WrappedConfigT >
viennagrid::result_of::coord
< viennagrid::element
< ElementTag, WrappedConfigT >
>::type 
surface (viennagrid::element< ElementTag, WrappedConfigT > const &element)
 Returns the surface of a n-cell using the default point accessor.
template<typename ElementTypeOrTag , typename WrappedConfigT >
viennagrid::result_of::coord
< mesh< WrappedConfigT >
>::type 
surface (mesh< WrappedConfigT > const &d)
 Returns the surface of a mesh with explicit element type/tag.
template<typename WrappedConfigT >
viennagrid::result_of::coord
< mesh< WrappedConfigT >
>::type 
surface (mesh< WrappedConfigT > const &d)
 Returns the surface of a mesh.
template<typename SegmentationT >
viennagrid::result_of::coord
< typename
SegmentationT::mesh_type >
::type 
surface (segment_handle< SegmentationT > const &segment)
 Returns the surface of a segment.
template<typename ElementTypeOrTag , typename MeshT >
viennagrid::result_of::coord
< MeshT >::type 
surface_meshsegment (MeshT const &mesh_obj)
 Implementation for the calculation of the surface of a mesh or segment.

Detailed Description

Computes the surface of different cell types as well as meshs and segments.