disc_export_param< T > Class Template Reference

Base class for the export parameters of discretization modules. More...

#include <CoupledDisc.hpp>

Collaboration diagram for disc_export_param< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintParam ()
 Prints the name and parameters of the export parameter.
virtual void compute_value (MultiIndex &index, GridVec< T > &u, T *val)=0
 Computes the value of the parameter at a given point.
virtual bool assemble_deriv (MultiIndex &index, double delta_t, GridVec< T > &u, int n_data, deriv_data *data)=0
 disc_export_param (part_disc< T > *the_disc, int the_value_sz)
 Constructor.
virtual ~disc_export_param ()
 Virtual destructor.

Public Attributes

part_disc< T > * disc
Array< bool > position
int value_sz

Classes

struct  deriv_data
 Auxiliary structure for the assembling of the derivatives. More...

Detailed Description

template<typename T>
class disc_export_param< T >

Base class for the export parameters of discretization modules.


Constructor & Destructor Documentation

template<typename T>
disc_export_param< T >::disc_export_param ( part_disc< T > *  the_disc,
int  the_value_sz 
) [inline]

Constructor.

Parameters:
[in] the_disc The 'own' discretization
[in] the_value_sz The size of the value

template<typename T>
virtual disc_export_param< T >::~disc_export_param (  )  [inline, virtual]

Virtual destructor.


Member Function Documentation

template<typename T>
virtual void disc_export_param< T >::PrintParam (  )  [inline, virtual]

Prints the name and parameters of the export parameter.

template<typename T>
virtual void disc_export_param< T >::compute_value ( MultiIndex index,
GridVec< T > &  u,
T *  val 
) [pure virtual]

Computes the value of the parameter at a given point.

Parameters:
[in] index Index of the grid point
[in] u Guess of the solution
[in] val To save the value in

template<typename T>
virtual bool disc_export_param< T >::assemble_deriv ( MultiIndex index,
double  delta_t,
GridVec< T > &  u,
int  n_data,
deriv_data data 
) [pure virtual]

Computes the derivatives of the parameter w.r.t. the entries of the grid function

Parameters:
[in] index Index of the grid point
[in] delta_t The time step
[in] u The guess to compute the Jacobian at
[in] n_data Number of the matrix blocks to update
[in] data Array of the derivative data records


Member Data Documentation

template<typename T>
part_disc<T>* disc_export_param< T >::disc

The 'own' discretization module

template<typename T>
Array<bool> disc_export_param< T >::position

Position of the parameter's grid points

template<typename T>
int disc_export_param< T >::value_sz

Length of the value (in T-units)


The documentation for this class was generated from the following file:
Generated on Fri Sep 21 12:34:09 2007 for SG2 by  doxygen 1.5.2