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

#include <postprocessors.h>

Inheritance diagram for LevelsetPostprocessor< dim >:
[legend]

Public Member Functions

 LevelsetPostprocessor (const std::shared_ptr< Shape< dim > > &shape)
virtual void evaluate_vector_field (const DataPostprocessorInputs::Vector< dim > &input_data, std::vector< Vector< double > > &computed_quantities) const override

Private Attributes

std::shared_ptr< Shape< dim > > shape

Detailed Description

template<int dim>
class LevelsetPostprocessor< dim >

Compute level set field for a given shape within a domain.

Definition at line 614 of file postprocessors.h.

Constructor & Destructor Documentation

◆ LevelsetPostprocessor()

template<int dim>
LevelsetPostprocessor< dim >::LevelsetPostprocessor ( const std::shared_ptr< Shape< dim > > & shape)
inline

Constuctor of the level set postprocessor.

Parameters
[in]shapeGeometrical entity.

Definition at line 622 of file postprocessors.h.

References shape.

Member Function Documentation

◆ evaluate_vector_field()

template<int dim>
virtual void LevelsetPostprocessor< dim >::evaluate_vector_field ( const DataPostprocessorInputs::Vector< dim > & input_data,
std::vector< Vector< double > > & computed_quantities ) const
inlineoverridevirtual

Compute signed distance value of evaluation points with respect to the specified shape.

Parameters
[in]input_dataFluid dynamics velocity and pressure information.
[out]computed_quantitiesComputed signed distance value at evaluation points.
Note
input_data contains both velocity and pressure data since fluid dynamics in Lethe is solved in a monolithic way, but here only the positions of evaluation points are used.

Definition at line 641 of file postprocessors.h.

References shape.

Member Data Documentation

◆ shape

template<int dim>
std::shared_ptr<Shape<dim> > LevelsetPostprocessor< dim >::shape
private

Geometrical entity.

Definition at line 661 of file postprocessors.h.


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