Geomi
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
DiscSyst< T_M, T_Q > Class Template Reference

#include <DiscSyst.hpp>

Inheritance diagram for DiscSyst< T_M, T_Q >:
Inheritance graph
[legend]

Public Member Functions

Syst< T_M, T_Q > const & operator[] (size_t index) const
 
Syst< T_M, T_Q > & operator[] (size_t index)
 
size_t size () const
 
T_M base (const size_t &i) const
 
T_Q pos (const size_t &i) const
 
void base (const size_t &i, const T_M &b)
 
void pos (const size_t &i, const T_Q &p)
 
void baselinspace (const T_M &inf_lim, const T_M &sup_lim, const size_t &n_steps)
 
void baselinstep (T_M inf_lim, T_M step_size, size_t n_steps)
 
int append2csv (const std::string filename, const std::string sep=",")
 
int write2csv (const std::string filename, const std::string sep=",")
 

Static Public Member Functions

static const unsigned int dof ()
 

Protected Member Functions

int __write2csv__ (const std::string filename, std::ios_base::openmode mode, const std::string sep)
 

Protected Attributes

std::vector< Syst< T_M, T_Q > > m_node
 

Friends

std::ostream & operator<< (std::ostream &stream, const DiscSyst< T_M, T_Q > &ds)
 

Detailed Description

template<typename T_M, typename T_Q>
class DiscSyst< T_M, T_Q >

Class for discrete jet space. A discrete jet space consists of an array over the base space of jet space elements.

Template Parameters
Mthe class representing the base space.
Qthe class representing the configuration space.

Member Function Documentation

◆ baselinspace()

template<typename T_M, typename T_Q>
void DiscSyst< T_M, T_Q >::baselinspace ( const T_M &  inf_lim,
const T_M &  sup_lim,
const size_t &  n_steps 
)
inline

Set the base space discretization as a linear interpolation consisting in n_steps steps between inf_lim and sup_lim.

Warning
This completely overwrites the entire data content of *this.

◆ baselinstep()

template<typename T_M, typename T_Q>
void DiscSyst< T_M, T_Q >::baselinstep ( T_M  inf_lim,
T_M  step_size,
size_t  n_steps 
)
inline

Set the base space discretization as a linear interpolation constisting in n_steps steps of length step_size starting at inf_lim.

Warning
This completely overwrites the entire data content of *this.

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