Plugins
Loading...
Searching...
No Matches
ug::LevelSet::LevelSetAnalytic< TGridFunction > Class Template Reference

#include <ls_analytic.h>

Public Member Functions

number analytic_solution (number, MathVector< dim >)
 
number analytic_source (number, MathVector< dim >)
 
bool analytic_velocity (MathVector< dim > &, number, MathVector< dim >)
 
bool fill_v_vec (TGridFunction &vel, int component)
 
number get_time ()
 
bool init_function (TGridFunction &u)
 
 LevelSetAnalytic ()
 class constructor
 
void set_time (number t)
 

Private Types

typedef TGridFunction::algebra_type algebra_type
 algebra type
 
typedef TGridFunction::domain_type domain_type
 domain type
 

Private Attributes

number m_time
 

Static Private Attributes

static const int dim = domain_type::dim
 world dimension
 

Detailed Description

template<typename TGridFunction>
class ug::LevelSet::LevelSetAnalytic< TGridFunction >

Analytic functions for computations with the Level-Set-Method

Member Typedef Documentation

◆ algebra_type

template<typename TGridFunction >
typedef TGridFunction::algebra_type ug::LevelSet::LevelSetAnalytic< TGridFunction >::algebra_type
private

algebra type

◆ domain_type

template<typename TGridFunction >
typedef TGridFunction::domain_type ug::LevelSet::LevelSetAnalytic< TGridFunction >::domain_type
private

domain type

Constructor & Destructor Documentation

◆ LevelSetAnalytic()

template<typename TGridFunction >
ug::LevelSet::LevelSetAnalytic< TGridFunction >::LevelSetAnalytic ( )
inline

class constructor

Member Function Documentation

◆ analytic_solution()

template<typename TGridFunction >
number ug::LevelSet::LevelSetAnalytic< TGridFunction >::analytic_solution ( number  t,
MathVector< dim x 
)

◆ analytic_source()

template<typename TGridFunction >
number ug::LevelSet::LevelSetAnalytic< TGridFunction >::analytic_source ( number  t,
MathVector< dim x 
)

◆ analytic_velocity()

template<typename TGridFunction >
bool ug::LevelSet::LevelSetAnalytic< TGridFunction >::analytic_velocity ( MathVector< dim > &  v,
number  t,
MathVector< dim x 
)

◆ fill_v_vec()

template<typename TGridFunction >
bool ug::LevelSet::LevelSetAnalytic< TGridFunction >::fill_v_vec ( TGridFunction &  vel,
int  component 
)

References ug::DoFRef(), and UG_THROW.

◆ get_time()

template<typename TGridFunction >
number ug::LevelSet::LevelSetAnalytic< TGridFunction >::get_time ( )
inline

◆ init_function()

template<typename TGridFunction >
bool ug::LevelSet::LevelSetAnalytic< TGridFunction >::init_function ( TGridFunction &  u)

References ug::DoFRef(), and num_subsets().

◆ set_time()

template<typename TGridFunction >
void ug::LevelSet::LevelSetAnalytic< TGridFunction >::set_time ( number  t)
inline

Member Data Documentation

◆ dim

template<typename TGridFunction >
const int ug::LevelSet::LevelSetAnalytic< TGridFunction >::dim = domain_type::dim
staticprivate

world dimension

◆ m_time


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