All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EqSolver::EqSolverMisc Class Reference

#include <src/Components/EqSolver.h>

Collaboration diagram for EqSolver::EqSolverMisc:

Public Member Functions

 EqSolverMisc (const Equations &funcs, Arg &arg)
 standard constructor More...
 
 ~EqSolverMisc ()
 
const Argargument () const
 
Argargument ()
 
const Equationsequations () const
 
const Jacobijacobi () const
 

Private Member Functions

 EqSolverMisc ()
 
 EqSolverMisc (const EqSolverMisc &)
 
EqSolverMiscoperator= (const EqSolverMisc &)
 

Private Attributes

Arg m_argum
 
const Equationsm_eqs
 
Jacobi m_jac
 

Detailed Description

Definition at line 44 of file EqSolver.h.

Constructor & Destructor Documentation

EqSolver::EqSolverMisc::EqSolverMisc ( const Equations funcs,
EqSolver::Arg arg 
)

standard constructor

Definition at line 36 of file EqSolver.cpp.

38  : m_argum ( arg )
39  , m_eqs ( &funcs )
40  , m_jac ()
41 {
42  const size_t N = funcs.size () ;
43  for( size_t i = 0 ; i < N ; ++i )
44  {
45  Equations last;
46  for( size_t j = 0 ; j < N ; ++j )
47  {
48  Genfun::GENFUNCTION fij = funcs[i]->partial(j);
49  last.push_back( fij.clone() ) ;
50  }
51  m_jac.push_back( last );
52  }
53 }
const Equations * m_eqs
Definition: EqSolver.h:68
int N
Definition: IOTest.py:90
std::vector< const GenFunc * > Equations
Vector of the function "GenFunc" which we solver.
Definition: IEqSolver.h:34
list i
Definition: ana.py:128
EqSolver::EqSolverMisc::~EqSolverMisc ( )

Definition at line 57 of file EqSolver.cpp.

58 {
59  while( !m_jac.empty() )
60  {
61  Equations& last = m_jac.back() ;
62  while( !last.empty() )
63  {
64  delete last.back() ;
65  last.pop_back () ;
66  }
67  m_jac.pop_back();
68  }
69 }
std::vector< const GenFunc * > Equations
Vector of the function "GenFunc" which we solver.
Definition: IEqSolver.h:34
EqSolver::EqSolverMisc::EqSolverMisc ( )
private
EqSolver::EqSolverMisc::EqSolverMisc ( const EqSolverMisc )
private

Member Function Documentation

const Arg& EqSolver::EqSolverMisc::argument ( ) const
inline

Definition at line 55 of file EqSolver.h.

55 { return m_argum ; }
Arg& EqSolver::EqSolverMisc::argument ( )
inline

Definition at line 56 of file EqSolver.h.

56 { return m_argum ; }
const Equations* EqSolver::EqSolverMisc::equations ( ) const
inline

Definition at line 57 of file EqSolver.h.

57 { return m_eqs ; }
const Equations * m_eqs
Definition: EqSolver.h:68
const Jacobi& EqSolver::EqSolverMisc::jacobi ( ) const
inline

Definition at line 58 of file EqSolver.h.

58 { return m_jac ; }
EqSolverMisc& EqSolver::EqSolverMisc::operator= ( const EqSolverMisc )
private

Member Data Documentation

Arg EqSolver::EqSolverMisc::m_argum
private

Definition at line 67 of file EqSolver.h.

const Equations* EqSolver::EqSolverMisc::m_eqs
private

Definition at line 68 of file EqSolver.h.

Jacobi EqSolver::EqSolverMisc::m_jac
private

Definition at line 69 of file EqSolver.h.


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