OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | List of all members
olb::ConstantRate< T > Class Template Referencefinal

#include <rate.h>

+ Inheritance diagram for olb::ConstantRate< T >:
+ Collaboration diagram for olb::ConstantRate< T >:

Public Member Functions

 ConstantRate ()
 
virtual T compute (std::vector< T > localFieldValues) override
 
- Public Member Functions inherited from olb::Rate< T >
 Rate (std::vector< T > params)
 

Additional Inherited Members

- Protected Attributes inherited from olb::Rate< T >
std::vector< T > _params
 

Detailed Description

template<typename T>
class olb::ConstantRate< T >

Definition at line 46 of file rate.h.

Constructor & Destructor Documentation

◆ ConstantRate()

template<typename T >
olb::ConstantRate< T >::ConstantRate ( )

Definition at line 42 of file rate.hh.

43 : Rate<T>(std::vector<T>{})
44{}

Member Function Documentation

◆ compute()

template<typename T >
T olb::ConstantRate< T >::compute ( std::vector< T > localFieldValues)
overridevirtual

Implements olb::Rate< T >.

Definition at line 47 of file rate.hh.

48{
49 return 1.0;
50}

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