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

#include <postprocessors.h>

Inheritance diagram for LevelsetGradientPostprocessor< dim >:
[legend]

Public Member Functions

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

Private Attributes

std::shared_ptr< Shape< dim > > shape

Detailed Description

template<int dim>
class LevelsetGradientPostprocessor< dim >

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

Definition at line 669 of file postprocessors.h.

Constructor & Destructor Documentation

◆ LevelsetGradientPostprocessor()

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

Constructor for the level set gradient postprocessor.

Parameters
[in]shapeGeometrical entity.

Definition at line 677 of file postprocessors.h.

References shape.

Member Function Documentation

◆ evaluate_vector_field()

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

Compute signed distance gradient 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 697 of file postprocessors.h.

References shape.

Member Data Documentation

◆ shape

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

Geometrical entity.

Definition at line 719 of file postprocessors.h.


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