Flow123d  release_3.0.0-1193-g9220a69
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

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

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

Definition at line 335 of file isotherm.hh.

Member Data Documentation

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

Definition at line 341 of file isotherm.hh.

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

Definition at line 342 of file isotherm.hh.

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

Definition at line 342 of file isotherm.hh.

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

Definition at line 342 of file isotherm.hh.

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: