ESTER
Evolution STEllaire en Rotation
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Private Attributes | Friends | List of all members
sym Class Reference

#include <symbolic.h>

Collaboration diagram for sym:
Collaboration graph
[legend]

Classes

class  sym_add
 
class  sym_cos
 
class  sym_deriv
 
class  sym_exp
 
class  sym_expr
 
class  sym_log
 
class  sym_num
 
class  sym_prod
 
class  sym_sin
 
class  symbol
 

Public Member Functions

 sym ()
 
 sym (const sym &)
 
 sym (const double &)
 
 sym (const int &)
 
 sym (const rational &q)
 
 ~sym ()
 
symboliccheck_context () const
 
symboliccheck_context (const sym &s) const
 
symboliccheck_context (const sym_vec &s) const
 
symboliccheck_context (const sym_tens &s) const
 
symoperator= (const sym &)
 
symoperator= (double n)
 
symoperator+= (const sym &s)
 
symoperator-= (const sym &s)
 
symoperator*= (const sym &s)
 
symoperator/= (const sym &s)
 
symoperator+= (double n)
 
symoperator-= (double n)
 
symoperator*= (double n)
 
symoperator/= (double n)
 
bool operator== (const sym &s) const
 
bool operator!= (const sym &s) const
 
bool operator== (double n) const
 
bool operator!= (double n) const
 
matrix eval () const
 
void add (solver *op, std::string eq_name, std::string var_name) const
 
void add (solver *op, std::string eq_name, std::string var_name, const matrix &d) const
 
void add_ex (solver *op, int n, std::string eq_name, std::string var_name) const
 
void add_ex (solver *op, int n, std::string eq_name, std::string var_name, const matrix &d) const
 
void bc_top1_add (solver *op, int n, std::string eq_name, std::string var_name) const
 
void bc_top2_add (solver *op, int n, std::string eq_name, std::string var_name) const
 
void bc_bot1_add (solver *op, int n, std::string eq_name, std::string var_name) const
 
void bc_bot2_add (solver *op, int n, std::string eq_name, std::string var_name) const
 
void bc_top1_add (solver *op, int n, std::string eq_name, std::string var_name, const matrix &d) const
 
void bc_top2_add (solver *op, int n, std::string eq_name, std::string var_name, const matrix &d) const
 
void bc_bot1_add (solver *op, int n, std::string eq_name, std::string var_name, const matrix &d) const
 
void bc_bot2_add (solver *op, int n, std::string eq_name, std::string var_name, const matrix &d) const
 

Private Attributes

symboliccontext
 
sym_exprexpr
 

Friends

class symbolic
 
class sym_vec
 
class sym_tens
 
sym operator+ (const sym &, const sym &)
 
sym operator* (const sym &, const sym &)
 
sym pow (const sym &, const rational &)
 
sym sin (const sym &)
 
sym cos (const sym &)
 
sym exp (const sym &)
 
sym log (const sym &)
 
sym diff (const sym &, const sym &)
 
sym jacobian (const sym &, const sym &)
 
bool sort_pair_d (const std::pair< sym_expr *, double > &, const std::pair< sym_expr *, double > &)
 
bool sort_pair_r (const std::pair< sym_expr *, rational > &, const std::pair< sym_expr *, rational > &)
 
std::ostream & operator<< (std::ostream &os, const sym::sym_expr &)
 
std::ostream & operator<< (std::ostream &os, const sym &)
 
sym trig_simplify (const sym &)
 

Constructor & Destructor Documentation

sym::sym ( )
sym::sym ( const sym s)

Here is the call graph for this function:

sym::sym ( const double &  q)
explicit
sym::sym ( const int &  q)
explicit
sym::sym ( const rational q)

Here is the call graph for this function:

sym::~sym ( )

Member Function Documentation

void sym::add ( solver op,
std::string  eq_name,
std::string  var_name 
) const

Here is the call graph for this function:

void sym::add ( solver op,
std::string  eq_name,
std::string  var_name,
const matrix d 
) const
void sym::add_ex ( solver op,
int  n,
std::string  eq_name,
std::string  var_name 
) const

Here is the call graph for this function:

void sym::add_ex ( solver op,
int  n,
std::string  eq_name,
std::string  var_name,
const matrix d 
) const
void sym::bc_bot1_add ( solver op,
int  n,
std::string  eq_name,
std::string  var_name 
) const

Here is the call graph for this function:

void sym::bc_bot1_add ( solver op,
int  n,
std::string  eq_name,
std::string  var_name,
const matrix d 
) const
void sym::bc_bot2_add ( solver op,
int  n,
std::string  eq_name,
std::string  var_name 
) const

Here is the call graph for this function:

void sym::bc_bot2_add ( solver op,
int  n,
std::string  eq_name,
std::string  var_name,
const matrix d 
) const
void sym::bc_top1_add ( solver op,
int  n,
std::string  eq_name,
std::string  var_name 
) const

Here is the call graph for this function:

void sym::bc_top1_add ( solver op,
int  n,
std::string  eq_name,
std::string  var_name,
const matrix d 
) const
void sym::bc_top2_add ( solver op,
int  n,
std::string  eq_name,
std::string  var_name 
) const

Here is the call graph for this function:

void sym::bc_top2_add ( solver op,
int  n,
std::string  eq_name,
std::string  var_name,
const matrix d 
) const
symbolic * sym::check_context ( ) const
symbolic * sym::check_context ( const sym s) const

Here is the call graph for this function:

symbolic * sym::check_context ( const sym_vec s) const

Here is the call graph for this function:

symbolic * sym::check_context ( const sym_tens s) const

Here is the call graph for this function:

matrix sym::eval ( ) const
bool sym::operator!= ( const sym s) const
inline
bool sym::operator!= ( double  n) const
inline

Here is the call graph for this function:

sym& sym::operator*= ( const sym s)
inline
sym& sym::operator*= ( double  n)
inline

Here is the call graph for this function:

sym& sym::operator+= ( const sym s)
inline
sym& sym::operator+= ( double  n)
inline

Here is the call graph for this function:

sym& sym::operator-= ( const sym s)
inline

Here is the call graph for this function:

sym& sym::operator-= ( double  n)
inline

Here is the call graph for this function:

sym& sym::operator/= ( const sym s)
inline
sym& sym::operator/= ( double  n)
inline

Here is the call graph for this function:

sym & sym::operator= ( const sym s)

Here is the call graph for this function:

sym& sym::operator= ( double  n)
inline

Here is the call graph for this function:

bool sym::operator== ( const sym s) const
bool sym::operator== ( double  n) const
inline

Here is the call graph for this function:

Friends And Related Function Documentation

sym cos ( const sym s)
friend
sym diff ( const sym f,
const sym x 
)
friend
sym exp ( const sym s)
friend
sym jacobian ( const sym f,
const sym a 
)
friend
sym log ( const sym s)
friend
sym operator* ( const sym s1,
const sym s2 
)
friend
sym operator+ ( const sym s1,
const sym s2 
)
friend
std::ostream& operator<< ( std::ostream &  os,
const sym::sym_expr s 
)
friend
std::ostream& operator<< ( std::ostream &  os,
const sym  
)
friend
sym pow ( const sym s,
const rational q 
)
friend
sym sin ( const sym s)
friend
bool sort_pair_d ( const std::pair< sym_expr *, double > &  ,
const std::pair< sym_expr *, double > &   
)
friend
bool sort_pair_r ( const std::pair< sym_expr *, rational > &  ,
const std::pair< sym_expr *, rational > &   
)
friend
friend class sym_tens
friend
friend class sym_vec
friend
friend class symbolic
friend
sym trig_simplify ( const sym s)
friend

Member Data Documentation

symbolic* sym::context
private
sym_expr* sym::expr
private

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