Flow123d  master-f44eb46
Public Member Functions | Private Attributes | List of all members
CrossFunction< Func > Class Template Reference

#include <isotherm.hh>

Public Member Functions

 CrossFunction (const Func &func_, double total_mass, double scale_aqua, double scale_sorbed, double rho_aqua)
 
double operator() (double conc_aqua)
 

Private Attributes

Func func
 
double total_mass_
 
double scale_sorbed_
 
double scale_aqua_
 
double rho_aqua_
 

Detailed Description

template<class Func>
class CrossFunction< Func >

Functor for solved equation in form F(x) ==0. Function func is an isotherm functor object in concentration based coordinated system. We solve the equation in modified system (scaled and rotated) for better numerical stability. The solved equation reads: F(X) -Y =0, where X is total mass , Y

Definition at line 327 of file isotherm.hh.

Constructor & Destructor Documentation

◆ CrossFunction()

template<class Func >
CrossFunction< Func >::CrossFunction ( const Func &  func_,
double  total_mass,
double  scale_aqua,
double  scale_sorbed,
double  rho_aqua 
)
inline

Definition at line 330 of file isotherm.hh.

Member Function Documentation

◆ operator()()

template<class Func >
double CrossFunction< Func >::operator() ( double  conc_aqua)
inline

Definition at line 335 of file isotherm.hh.

Member Data Documentation

◆ func

template<class Func >
Func CrossFunction< Func >::func
private

Definition at line 341 of file isotherm.hh.

◆ rho_aqua_

template<class Func >
double CrossFunction< Func >::rho_aqua_
private

Definition at line 342 of file isotherm.hh.

◆ scale_aqua_

template<class Func >
double CrossFunction< Func >::scale_aqua_
private

Definition at line 342 of file isotherm.hh.

◆ scale_sorbed_

template<class Func >
double CrossFunction< Func >::scale_sorbed_
private

Definition at line 342 of file isotherm.hh.

◆ total_mass_

template<class Func >
double CrossFunction< Func >::total_mass_
private

Definition at line 342 of file isotherm.hh.


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