Plugins
ug::NavierStokes::NavierStokesInflowBase< TDomain, TAlgebra > Class Template Referenceabstract

#include <inflow_base.h>

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

Public Member Functions

virtual SmartPtr< IDomainConstraint< TDomain, TAlgebra > > constraint (size_t i)=0
 returns an element disc More...
 
virtual SmartPtr< IElemDisc< TDomain > > elem_disc (size_t i)=0
 returns the element disc More...
 
virtual size_t num_constraint () const =0
 returns the number of constraints More...
 
virtual size_t num_elem_disc () const =0
 returns the number of element discs More...
 
virtual void add (SmartPtr< CplUserData< MathVector< dim >, dim > > user, const char *subsetsBND)=0
 
void add (const std::vector< number > &vVel, const char *subsetsBND)
 
- Public Member Functions inherited from ug::IDiscretizationItem< TDomain, TAlgebra >
virtual ~IDiscretizationItem ()
 

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
 

Member Function Documentation

◆ add() [1/2]

template<typename TDomain , typename TAlgebra >
void ug::NavierStokes::NavierStokesInflowBase< TDomain, TAlgebra >::add ( const std::vector< number > &  vVel,
const char *  subsetsBND 
)

sets the velocity to a given value

References dim, and UG_THROW.

◆ add() [2/2]

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

◆ constraint()

◆ elem_disc()

◆ num_constraint()

◆ num_elem_disc()

Member Data Documentation

◆ dim

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

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