ViennaGrid - The Vienna Grid Library  2.1.0
Public Member Functions | Data Fields
copy_segmentation_functor< SourceMeshT, SourceSegmentationT, DestinationMeshT, DestinationSegmentationT > Struct Template Reference

Functor for copying a segmentation. For internal use only. More...

#include <segmentation.hpp>

Public Member Functions

 copy_segmentation_functor (SourceMeshT const &src_mesh_, SourceSegmentationT const &src_segmentation_, DestinationMeshT &dst_mesh_, DestinationSegmentationT &dst_segmentation_)
template<typename DestinationElementT >
void operator() (DestinationElementT &dst_element)

Data Fields

DestinationMeshT & dst_mesh
DestinationSegmentationT & dst_segmentation
SourceMeshT const & src_mesh
SourceSegmentationT const & src_segmentation

Detailed Description

template<typename SourceMeshT, typename SourceSegmentationT, typename DestinationMeshT, typename DestinationSegmentationT>
struct viennagrid::detail::copy_segmentation_functor< SourceMeshT, SourceSegmentationT, DestinationMeshT, DestinationSegmentationT >

Functor for copying a segmentation. For internal use only.


Constructor & Destructor Documentation

copy_segmentation_functor ( SourceMeshT const &  src_mesh_,
SourceSegmentationT const &  src_segmentation_,
DestinationMeshT &  dst_mesh_,
DestinationSegmentationT &  dst_segmentation_ 
) [inline]

Member Function Documentation

void operator() ( DestinationElementT &  dst_element) [inline]

Field Documentation

DestinationMeshT& dst_mesh
DestinationSegmentationT& dst_segmentation
SourceMeshT const& src_mesh
SourceSegmentationT const& src_segmentation

The documentation for this struct was generated from the following file: