MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::spde::LevelSetTransformer Class Reference

Level Set Transformer, 1 for u(x) >= threshold, 0 otherwise. More...

#include <transformation.hpp>

Inheritance diagram for mfem::spde::LevelSetTransformer:
[legend]
Collaboration diagram for mfem::spde::LevelSetTransformer:
[legend]

Public Member Functions

 LevelSetTransformer ()=default
 
 LevelSetTransformer (real_t threshold)
 
 ~LevelSetTransformer () override=default
 
void Transform (ParGridFunction &x) const override
 Applies a level set to the GridFunction.
 
- Public Member Functions inherited from mfem::spde::GFTransformer
 GFTransformer ()=default
 
virtual ~GFTransformer ()=default
 

Detailed Description

Level Set Transformer, 1 for u(x) >= threshold, 0 otherwise.

Definition at line 84 of file transformation.hpp.

Constructor & Destructor Documentation

◆ LevelSetTransformer() [1/2]

mfem::spde::LevelSetTransformer::LevelSetTransformer ( )
default

◆ LevelSetTransformer() [2/2]

mfem::spde::LevelSetTransformer::LevelSetTransformer ( real_t threshold)
inlineexplicit

Definition at line 88 of file transformation.hpp.

◆ ~LevelSetTransformer()

mfem::spde::LevelSetTransformer::~LevelSetTransformer ( )
overridedefault

Member Function Documentation

◆ Transform()

void mfem::spde::LevelSetTransformer::Transform ( ParGridFunction & x) const
overridevirtual

Applies a level set to the GridFunction.

Implements mfem::spde::GFTransformer.

Definition at line 58 of file transformation.cpp.


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