OpenLB 1.7
No Matches
Public Types | Public Member Functions | List of all members
olb::interaction::ShanChen94 Struct Reference

#include <interactionPotential.h>

+ Collaboration diagram for olb::interaction::ShanChen94:

Public Types

using parameters = meta::list<>

Public Member Functions

template<typename V , typename PARAMETERS >
compute (V rho, PARAMETERS &params) any_platform

Detailed Description

Definition at line 85 of file interactionPotential.h.

Member Typedef Documentation

◆ parameters

Definition at line 86 of file interactionPotential.h.

Member Function Documentation

◆ compute()

template<typename V , typename PARAMETERS >
V olb::interaction::ShanChen94::compute ( V rho,
PARAMETERS & params )

Definition at line 89 of file interactionPotential.h.

89 {
90 return 4 * util::exp(-200 / rho);
91 };
ADf< T, DIM > exp(const ADf< T, DIM > &a)
Definition aDiff.h:455

References olb::util::exp().

+ Here is the call graph for this function:

The documentation for this struct was generated from the following file: