LILAC
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
stable_spectral_pde_1d_tmpl< T > Class Template Reference

This class represents the spectral integration of a PDE. More...

#include <stable_spectral_pde_1d_tmpl.hpp>

Inheritance diagram for stable_spectral_pde_1d_tmpl< T >:
Inheritance graph
[legend]
Collaboration diagram for stable_spectral_pde_1d_tmpl< T >:
Collaboration graph
[legend]

Public Member Functions

virtual std::vector< std::stringdependencies () const
virtual void postprocess (input &invals)
virtual std::string type () const
virtual ~stable_spectral_pde_1d_tmpl ()
- Public Member Functions inherited from stable_ode_tmpl< T >
double score ()
const std::type_info & vtype () const
virtual ~stable_ode_tmpl ()
- Public Member Functions inherited from stable_ode
virtual ~stable_ode ()
- Public Member Functions inherited from stable
double simulate ()
virtual ~stable ()
- Public Member Functions inherited from vartype
bool compare (const vartype *in) const
bool compare (const vartype &in) const
bool compare (const std::type_info &tinf)
template<typename T >
bool compare () const
template<typename T >
bool compare (const T &in) const
std::string vname () const
virtual const std::type_info & vtype_internal () const
bool compare_internal (const vartype *in) const
bool compare_internal (const vartype &in) const
bool compare_internal (const std::type_info &tinf)
template<typename T >
bool compare_internal () const
template<typename T >
bool compare_internal (const T &in) const
std::string vname_internal () const
virtual ~vartype ()

Protected Member Functions

virtual void pre_fft_operations ()
 Applies operations prior to the fft and integration.
virtual void post_fft_operations ()
 Applies operations after the fft but before the integrations.
virtual void pre_ifft_operations ()
 Applies operations after the integration but prior to the ifft.
virtual void post_ifft_operations ()
 Applies operations after the integration and ifft()
- Protected Member Functions inherited from stable_ode_tmpl< T >
virtual void pre_integration_operations ()
 This applies operations before the integration occurs.
virtual void post_integration_operations ()
 This applies operations ofter the integration occurs.
virtual void iterate_system ()
virtual double get_change ()

Protected Attributes

double * t
double * help
size_t nts
size_t num_pulses
- Protected Attributes inherited from stable_ode_tmpl< T >
double tcur
T *restr ucur
T *restr *restr ulast
double int_len
 This is the length of integration for each step.
double t0
 This is the starting time.
integratorinter
 This defines the integrator being used.
- Protected Attributes inherited from stable_ode
std::shared_ptr< stable_odeactual
integratorinter
 This defines the integrator being used.
- Protected Attributes inherited from stable
int max_iterations
 Maximum number of times the system is iterated before assuming an unstable state.
double change_threshold
 The threshold of change between two iterations for which the system will be considered stable.
int num_gone
int round
int bad_res
std::shared_ptr< writercur_writer
- Protected Attributes inherited from simulation
controllercont
 The controller.
objectiveobj
 The objective function.
writercur_writer
- Protected Attributes inherited from item_dim
mempool memp
std::set< item_dim * > children
item_dimparent
size_t dimension
- Protected Attributes inherited from item
std::string _name
std::string _write_name
char has_write_name

Private Member Functions

virtual void pre_integration_operations ()
virtual void post_integration_operations ()

Additional Inherited Members

- Static Public Member Functions inherited from item
static std::shared_ptr< itemcreate (std::string name, engineimp *rval)
- Public Attributes inherited from simulation
std::string out_f_name

Detailed Description

template<class T>
class stable_spectral_pde_1d_tmpl< T >

This class represents the spectral integration of a PDE.

This class will represent the integration of a 1d spectral ODE. I'm not sure how to properly generalize it to multiple variables, so I'll just leave it blank for now

Definition at line 28 of file stable_spectral_pde_1d_tmpl.hpp.

Constructor & Destructor Documentation

template<class T >
stable_spectral_pde_1d_tmpl< T >::~stable_spectral_pde_1d_tmpl ( )
virtual

Definition at line 124 of file stable_spectral_pde_1d_tmpl.hpp.

Member Function Documentation

template<class T >
std::vector< std::string > stable_spectral_pde_1d_tmpl< T >::dependencies ( ) const
virtual

Reimplemented from stable_ode.

Reimplemented in jones_optical.

Definition at line 59 of file stable_spectral_pde_1d_tmpl.hpp.

Here is the call graph for this function:

template<class T >
void stable_spectral_pde_1d_tmpl< T >::post_fft_operations ( )
protectedvirtual

Applies operations after the fft but before the integrations.

Definition at line 115 of file stable_spectral_pde_1d_tmpl.hpp.

template<class T >
void stable_spectral_pde_1d_tmpl< T >::post_ifft_operations ( )
protectedvirtual

Applies operations after the integration and ifft()

Reimplemented in jones_optical.

Definition at line 121 of file stable_spectral_pde_1d_tmpl.hpp.

template<class T >
void stable_spectral_pde_1d_tmpl< T >::post_integration_operations ( )
privatevirtual

Definition at line 103 of file stable_spectral_pde_1d_tmpl.hpp.

Here is the call graph for this function:

template<class T >
void stable_spectral_pde_1d_tmpl< T >::postprocess ( input invals)
virtual

Reimplemented from stable_ode_tmpl< T >.

Reimplemented in jones_optical.

Definition at line 65 of file stable_spectral_pde_1d_tmpl.hpp.

Here is the call graph for this function:

template<class T >
void stable_spectral_pde_1d_tmpl< T >::pre_fft_operations ( )
protectedvirtual

Applies operations prior to the fft and integration.

Reimplemented in jones_optical.

Definition at line 112 of file stable_spectral_pde_1d_tmpl.hpp.

template<class T >
void stable_spectral_pde_1d_tmpl< T >::pre_ifft_operations ( )
protectedvirtual

Applies operations after the integration but prior to the ifft.

Definition at line 118 of file stable_spectral_pde_1d_tmpl.hpp.

template<class T >
void stable_spectral_pde_1d_tmpl< T >::pre_integration_operations ( )
privatevirtual

Definition at line 90 of file stable_spectral_pde_1d_tmpl.hpp.

Here is the call graph for this function:

template<class T >
std::string stable_spectral_pde_1d_tmpl< T >::type ( ) const
virtual

Reimplemented from stable_ode_tmpl< T >.

Reimplemented in jones_optical.

Definition at line 54 of file stable_spectral_pde_1d_tmpl.hpp.

Member Data Documentation

template<class T>
double* stable_spectral_pde_1d_tmpl< T >::help
protected

Definition at line 34 of file stable_spectral_pde_1d_tmpl.hpp.

template<class T>
size_t stable_spectral_pde_1d_tmpl< T >::nts
protected

Definition at line 35 of file stable_spectral_pde_1d_tmpl.hpp.

template<class T>
size_t stable_spectral_pde_1d_tmpl< T >::num_pulses
protected

Definition at line 36 of file stable_spectral_pde_1d_tmpl.hpp.

template<class T>
double* stable_spectral_pde_1d_tmpl< T >::t
protected

Definition at line 33 of file stable_spectral_pde_1d_tmpl.hpp.


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