Plugins
ug::NavierStokes::NavierStokesInflowFV1< TDomain, TAlgebra > Class Template Reference

#include <inflow_fv1.h>

+ Inheritance diagram for ug::NavierStokes::NavierStokesInflowFV1< TDomain, TAlgebra >:

Public Member Functions

void add (SmartPtr< CplUserData< MathVector< dim >, dim > > user, const char *subsetsBND)
 sets the velocity to a given value More...
 
virtual SmartPtr< IDomainConstraint< TDomain, TAlgebra > > constraint (size_t i)
 returns an element disc More...
 
virtual SmartPtr< IElemDisc< TDomain > > elem_disc (size_t i)
 returns the element disc More...
 
 NavierStokesInflowFV1 (SmartPtr< NavierStokesFV1< TDomain > > spMaster)
 Constructor. More...
 
virtual size_t num_constraint () const
 returns the number of constraints More...
 
virtual size_t num_elem_disc () const
 returns the number of element discs More...
 
- Public Member Functions inherited from ug::NavierStokes::NavierStokesInflowBase< TDomain, TAlgebra >
void add (const std::vector< number > &vVel, const char *subsetsBND)
 
- Public Member Functions inherited from ug::IDiscretizationItem< TDomain, TAlgebra >
virtual ~IDiscretizationItem ()
 

Protected Attributes

SmartPtr< DirichletBoundary< TDomain, TAlgebra > > m_spDirichletConstraint
 dirichlet disc for velocity components More...
 
SmartPtr< NavierStokesFV1< TDomain > > m_spMaster
 The master discretization: More...
 
SmartPtr< NeumannBoundaryBase< TDomain > > m_spNeumannDisc
 neumann disc for pressure equation More...
 

Static Private Attributes

static const int dim = TDomain::dim
 

Additional Inherited Members

- Public Types inherited from ug::IDiscretizationItem< TDomain, TAlgebra >
typedef TAlgebra algebra_type
 
typedef TDomain domain_type
 

Constructor & Destructor Documentation

◆ NavierStokesInflowFV1()

template<typename TDomain , typename TAlgebra >
ug::NavierStokes::NavierStokesInflowFV1< TDomain, TAlgebra >::NavierStokesInflowFV1 ( SmartPtr< NavierStokesFV1< TDomain > >  spMaster)

Member Function Documentation

◆ add()

template<typename TDomain , typename TAlgebra >
void ug::NavierStokes::NavierStokesInflowFV1< TDomain, TAlgebra >::add ( SmartPtr< CplUserData< MathVector< dim >, dim > >  user,
const char *  subsetsBND 
)
virtual

sets the velocity to a given value

Implements ug::NavierStokes::NavierStokesInflowBase< TDomain, TAlgebra >.

References dim, s, and UG_THROW.

◆ constraint()

template<typename TDomain , typename TAlgebra >
virtual SmartPtr<IDomainConstraint<TDomain, TAlgebra> > ug::NavierStokes::NavierStokesInflowFV1< TDomain, TAlgebra >::constraint ( size_t  i)
inlinevirtual

◆ elem_disc()

template<typename TDomain , typename TAlgebra >
virtual SmartPtr<IElemDisc<TDomain> > ug::NavierStokes::NavierStokesInflowFV1< TDomain, TAlgebra >::elem_disc ( size_t  i)
inlinevirtual

◆ num_constraint()

template<typename TDomain , typename TAlgebra >
virtual size_t ug::NavierStokes::NavierStokesInflowFV1< TDomain, TAlgebra >::num_constraint ( ) const
inlinevirtual

returns the number of constraints

Implements ug::NavierStokes::NavierStokesInflowBase< TDomain, TAlgebra >.

◆ num_elem_disc()

template<typename TDomain , typename TAlgebra >
virtual size_t ug::NavierStokes::NavierStokesInflowFV1< TDomain, TAlgebra >::num_elem_disc ( ) const
inlinevirtual

returns the number of element discs

Implements ug::NavierStokes::NavierStokesInflowBase< TDomain, TAlgebra >.

Member Data Documentation

◆ dim

template<typename TDomain , typename TAlgebra >
const int ug::NavierStokes::NavierStokesInflowFV1< TDomain, TAlgebra >::dim = TDomain::dim
staticprivate

◆ m_spDirichletConstraint

template<typename TDomain , typename TAlgebra >
SmartPtr<DirichletBoundary<TDomain,TAlgebra> > ug::NavierStokes::NavierStokesInflowFV1< TDomain, TAlgebra >::m_spDirichletConstraint
protected

dirichlet disc for velocity components

Referenced by ug::NavierStokes::NavierStokesInflowFV1< TDomain, TAlgebra >::constraint().

◆ m_spMaster

template<typename TDomain , typename TAlgebra >
SmartPtr< NavierStokesFV1<TDomain> > ug::NavierStokes::NavierStokesInflowFV1< TDomain, TAlgebra >::m_spMaster
protected

◆ m_spNeumannDisc

template<typename TDomain , typename TAlgebra >
SmartPtr<NeumannBoundaryBase<TDomain> > ug::NavierStokes::NavierStokesInflowFV1< TDomain, TAlgebra >::m_spNeumannDisc
protected

neumann disc for pressure equation

Referenced by ug::NavierStokes::NavierStokesInflowFV1< TDomain, TAlgebra >::elem_disc().


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