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

#include <symbolic.h>

Collaboration diagram for symbolic:
Collaboration graph
[legend]

Public Member Functions

 symbolic ()
 
 ~symbolic ()
 
void init ()
 
sym regvar (const std::string &name)
 
sym regconst (const std::string &name)
 
sym regvar_indep (const std::string &name)
 
sym var (const std::string &name)
 
void set_value (const char *name, const matrix &value, int parity=0)
 
void set_map (const mapping &map)
 
sym::sym_exprderive (const sym::sym_expr &, const sym::symbol &)
 
matrix get_value (const sym::sym_expr &)
 
sym Dz (const sym &)
 
sym Dt (const sym &)
 
sym Dphi (const sym &)
 
sym det (const sym_tens &)
 
sym_tens inv (const sym_tens &)
 
sym_vec contravariant (const sym_vec &)
 
sym_vec covariant (const sym_vec &)
 
sym_tens contravariant_contravariant (const sym_tens &)
 
sym_tens contravariant_covariant (const sym_tens &)
 
sym_tens covariant_contravariant (const sym_tens &)
 
sym_tens covariant_covariant (const sym_tens &)
 
double perm (int i, int j, int k)
 
sym_vec gradient (const sym &)
 
sym christoffel (int, int, int)
 
sym covderiv (const sym_vec &, int, int)
 
sym_tens gradient (const sym_vec &)
 
sym divergence (const sym_vec &v)
 
sym_vec divergence (const sym_tens &t)
 
sym laplacian (const sym &s)
 Returns the symbolic expression of the laplacian of s. More...
 
sym_vec curl (const sym_vec &v)
 
sym_vec laplacian (const sym_vec &v)
 
sym_tens stress (const sym_vec &v)
 

Static Public Member Functions

static double round_to_tol (double)
 

Public Attributes

sym r
 
sym zeta
 
sym theta
 
sym phi
 
sym sqrt_g
 
sym rz
 
sym rt
 
sym rzz
 
sym rzt
 
sym rtt
 
sym_tens g
 
sym_tens g_
 
sym x [3]
 
const symone
 

Static Public Attributes

static double tol =1e-14
 
static bool expand_products =true
 
static bool trig_simplify =false
 
static bool axisymmetric =true
 
static bool spherical =false
 

Private Member Functions

sym d (const sym &s, int k)
 
sym G (int i, int j, int k)
 
void add (const sym &s, solver *op, int n, std::string type, std::string eq_name, std::string var_name, const matrix &d)
 
void add_bc (const sym &s, solver *op, int n, std::string type, std::string eq_name, std::string var_name, const matrix &d)
 

Private Attributes

std::map< std::string,
sym::symbol
vars
 
std::map< std::string, matrixval
 
std::map< std::string, int > par
 
mapping map
 
sym one_
 
int maxder
 

Friends

class sym
 

Constructor & Destructor Documentation

symbolic::symbolic ( )

Here is the call graph for this function:

symbolic::~symbolic ( )
inline

Member Function Documentation

void symbolic::add ( const sym s,
solver op,
int  n,
std::string  type,
std::string  eq_name,
std::string  var_name,
const matrix d 
)
private

Here is the call graph for this function:

void symbolic::add_bc ( const sym s,
solver op,
int  n,
std::string  type,
std::string  eq_name,
std::string  var_name,
const matrix d 
)
private

Here is the call graph for this function:

sym symbolic::christoffel ( int  i,
int  j,
int  k 
)

Here is the call graph for this function:

sym_vec symbolic::contravariant ( const sym_vec s)

Here is the call graph for this function:

sym_tens symbolic::contravariant_contravariant ( const sym_tens s)
sym_tens symbolic::contravariant_covariant ( const sym_tens s)
sym_vec symbolic::covariant ( const sym_vec s)

Here is the call graph for this function:

sym_tens symbolic::covariant_contravariant ( const sym_tens s)
sym_tens symbolic::covariant_covariant ( const sym_tens s)
sym symbolic::covderiv ( const sym_vec v,
int  i,
int  k 
)

Here is the call graph for this function:

sym_vec symbolic::curl ( const sym_vec v)

Here is the call graph for this function:

sym symbolic::d ( const sym s,
int  k 
)
inlineprivate

Here is the call graph for this function:

sym::sym_expr * symbolic::derive ( const sym::sym_expr f,
const sym::symbol x 
)
sym symbolic::det ( const sym_tens g)
sym symbolic::divergence ( const sym_vec v)

Here is the call graph for this function:

sym_vec symbolic::divergence ( const sym_tens t)

Here is the call graph for this function:

sym symbolic::Dphi ( const sym s)

Here is the call graph for this function:

sym symbolic::Dt ( const sym s)

Here is the call graph for this function:

sym symbolic::Dz ( const sym s)

Here is the call graph for this function:

sym symbolic::G ( int  i,
int  j,
int  k 
)
inlineprivate

Here is the call graph for this function:

matrix symbolic::get_value ( const sym::sym_expr s)

Here is the call graph for this function:

sym_vec symbolic::gradient ( const sym s)

Here is the call graph for this function:

sym_tens symbolic::gradient ( const sym_vec v)

Here is the call graph for this function:

void symbolic::init ( )

Here is the call graph for this function:

sym_tens symbolic::inv ( const sym_tens g)

Here is the call graph for this function:

sym symbolic::laplacian ( const sym s)

Returns the symbolic expression of the laplacian of s.

Here is the call graph for this function:

sym_vec symbolic::laplacian ( const sym_vec v)

Here is the call graph for this function:

double symbolic::perm ( int  i,
int  j,
int  k 
)
sym symbolic::regconst ( const std::string &  name)

Here is the call graph for this function:

sym symbolic::regvar ( const std::string &  name)

Here is the call graph for this function:

sym symbolic::regvar_indep ( const std::string &  name)

Here is the call graph for this function:

double symbolic::round_to_tol ( double  value)
static

Here is the call graph for this function:

void symbolic::set_map ( const mapping map)

Here is the call graph for this function:

void symbolic::set_value ( const char *  name,
const matrix value,
int  parity = 0 
)
sym_tens symbolic::stress ( const sym_vec v)

Here is the call graph for this function:

sym symbolic::var ( const std::string &  name)

Friends And Related Function Documentation

friend class sym
friend

Member Data Documentation

bool symbolic::axisymmetric =true
static
bool symbolic::expand_products =true
static
sym_tens symbolic::g
sym_tens symbolic::g_
mapping symbolic::map
private
int symbolic::maxder
private
const sym& symbolic::one
sym symbolic::one_
private
std::map<std::string,int> symbolic::par
private
sym symbolic::phi
sym symbolic::r
sym symbolic::rt
sym symbolic::rtt
sym symbolic::rz
sym symbolic::rzt
sym symbolic::rzz
bool symbolic::spherical =false
static
sym symbolic::sqrt_g
sym symbolic::theta
double symbolic::tol =1e-14
static
bool symbolic::trig_simplify =false
static
std::map<std::string,matrix> symbolic::val
private
std::map<std::string,sym::symbol> symbolic::vars
private
sym symbolic::x[3]
sym symbolic::zeta

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