Flow123d  release_2.1.0-87-gfbc1563
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 310 of file isotherm.hh.

Constructor & Destructor Documentation

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 313 of file isotherm.hh.

Member Function Documentation

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

Definition at line 318 of file isotherm.hh.

Member Data Documentation

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

Definition at line 324 of file isotherm.hh.

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

Definition at line 325 of file isotherm.hh.

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

Definition at line 325 of file isotherm.hh.

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

Definition at line 325 of file isotherm.hh.

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

Definition at line 325 of file isotherm.hh.


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