Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
InterfaceTools::InterfaceReconstructionDataOut< dim > Class Template Reference

#include <interface_tools.h>

Inheritance diagram for InterfaceTools::InterfaceReconstructionDataOut< dim >:
[legend]

Public Member Functions

 InterfaceReconstructionDataOut ()=default
void build_patches (const std::map< types::global_cell_index, std::vector< Point< dim > > > &interface_reconstruction_vertices)

Private Member Functions

const std::vector< DataOutBase::Patch< 0, dim > > & get_patches () const override
std::vector< std::string > get_dataset_names () const override

Private Attributes

std::vector< DataOutBase::Patch< 0, dim > > patches
std::vector< std::string > dataset_names

Detailed Description

template<int dim>
class InterfaceTools::InterfaceReconstructionDataOut< dim >

Interface to build the patches of the interface reconstruction vertices for visualization. It reproduce the same structure as particle visualization.

Template Parameters
dimAn integer that denotes the number of spatial dimensions.

Definition at line 393 of file interface_tools.h.

Constructor & Destructor Documentation

◆ InterfaceReconstructionDataOut()

template<int dim>
InterfaceTools::InterfaceReconstructionDataOut< dim >::InterfaceReconstructionDataOut ( )
default

Default constructor.

Member Function Documentation

◆ build_patches()

template<int dim>
void InterfaceTools::InterfaceReconstructionDataOut< dim >::build_patches ( const std::map< types::global_cell_index, std::vector< Point< dim > > > & interface_reconstruction_vertices)

Build the patches of the interface reconstruction vertices for visualization.

Parameters
[in,out]interface_reconstruction_verticesCell-wise map of the reconstructed surface vertices. The map contains vectors storing the vertices of the reconstructed surface for each intersected volume cell (dim).

Definition at line 444 of file interface_tools.h.

References patches.

◆ get_dataset_names()

template<int dim>
std::vector< std::string > InterfaceTools::InterfaceReconstructionDataOut< dim >::get_dataset_names ( ) const
inlineoverrideprivate

Implementation of the corresponding function of the base class.

Definition at line 429 of file interface_tools.h.

References dataset_names.

◆ get_patches()

template<int dim>
const std::vector< DataOutBase::Patch< 0, dim > > & InterfaceTools::InterfaceReconstructionDataOut< dim >::get_patches ( ) const
inlineoverrideprivate

Implementation of the corresponding function of the base class.

Definition at line 420 of file interface_tools.h.

References patches.

Member Data Documentation

◆ dataset_names

template<int dim>
std::vector<std::string> InterfaceTools::InterfaceReconstructionDataOut< dim >::dataset_names
private

A list of field names for all data components stored in patches.

Definition at line 439 of file interface_tools.h.

◆ patches

template<int dim>
std::vector<DataOutBase::Patch<0, dim> > InterfaceTools::InterfaceReconstructionDataOut< dim >::patches
private

Output information that is filled by build_patches() and written by the write function of the base class.

Definition at line 436 of file interface_tools.h.


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