#include <Interpolate.h>
Public Member Functions | |
InterpolateBase (Agent *ag, Agent *bkag, int cond=0) | |
virtual void | init (double t) |
virtual void | run (double t, double dt, double alpha)=0 |
void | backup () |
Public Member Functions inherited from Action | |
Action (void *p=0, char *name=NULL) | |
Action (int n, const char *at[], int *i=NULL, void *p=0, char *name=NULL) | |
Action (int n, const std::string at[], int *i=NULL, void *p=0, char *name=NULL) | |
virtual | ~Action () |
virtual void | declare (Scheduler &) |
virtual void | finalize () |
virtual char * | name () |
void | set_name (const char *name) |
virtual void | print (FILE *f) |
virtual void | print_toposort (FILE *f) |
virtual void | schedule () |
Protected Member Functions | |
void | extrapolate_Linear (double dt, double dt_old, double time_old, int a_old, double time_new, int a_new, double time_out, int a_out, int a_gra=-100) |
Protected Member Functions inherited from Action | |
int | get_attribute_handle (int i) |
int | get_attribute_handle_const (int i) |
int | get_attribute_handle (const std::string str) |
void | set_attr (int n, const std::string at[], int *id=NULL) |
void | set_attr (int n, const char *at[], int *id=NULL) |
void | set_io (int n, const int *io) |
void | set_io (const char *io) |
int | get_io (int i) |
Protected Attributes | |
Agent * | agent |
Agent * | bkagent |
int | attr_hdls [4] |
int | bkup_hdls [3] |
int | conditional |
int | on |
Protected Attributes inherited from Action | |
char * | action_name |
char ** | attr |
int * | idx |
int | count |
void * | usr_ptr |
std::vector< int > | inout |
Additional Inherited Members | |
Protected Types inherited from Action | |
enum | { IN =1, OUT =2, INOUT =3 } |
Definition at line 31 of file Interpolate.h.
InterpolateBase | ( | Agent * | ag, |
Agent * | bkag, | ||
int | cond = 0 |
||
) |
Definition at line 30 of file Interpolate.C.
References attr_hdls, bkagent, bkup_hdls, i, on, and Agent::register_interpolate().
void backup | ( | ) |
Definition at line 71 of file Interpolate.C.
References agent, Action::attr, bkup_hdls, COM_call_function(), RocBlas::copy, RocBlas::copy_scalar, RocBlas::div_scalar, Agent::get_old_dt(), MAN_DEBUG, RocBlas::sub, and v.
|
protected |
Definition at line 94 of file Interpolate.C.
References RocBlas::axpy_scalar, COM_assertion_msg, COM_call_function(), RocBlas::copy, RocBlas::div_scalar, RocBlas::limit1, RocBlas::sub, and cimg_library::cimg::time().
Referenced by Extrapolate_Linear::run(), Extrapolate_Central::run(), Interpolate_Linear::run(), and Interpolate_Central::run().
|
virtual |
Reimplemented from Action.
Reimplemented in Extrapolate_Central, and Extrapolate_Linear.
Definition at line 43 of file Interpolate.C.
References Action::attr, attr_hdls, bkup_hdls, COM_assertion_msg, COM_call_function(), COM_get_attribute_handle(), COM_get_attribute_handle_const(), RocBlas::copy_scalar, Action::get_attribute_handle(), Action::get_attribute_handle_const(), Action::get_io(), i, MAN_DEBUG, Action::name(), and Action::OUT.
Referenced by Extrapolate_Linear::init(), and Extrapolate_Central::init().
|
pure virtual |
Reimplemented from Action.
Implemented in Interpolate_Central, Interpolate_Constant, Interpolate_Linear, Extrapolate_Central, and Extrapolate_Linear.
|
protected |
Definition at line 42 of file Interpolate.h.
Referenced by backup(), Interpolate_Constant::Interpolate_Constant(), Extrapolate_Linear::run(), Extrapolate_Central::run(), Interpolate_Linear::run(), and Interpolate_Central::run().
|
protected |
Definition at line 44 of file Interpolate.h.
Referenced by init(), Extrapolate_Linear::init(), Extrapolate_Central::init(), InterpolateBase(), Extrapolate_Linear::run(), Extrapolate_Central::run(), Interpolate_Linear::run(), Interpolate_Constant::run(), and Interpolate_Central::run().
|
protected |
Definition at line 43 of file Interpolate.h.
Referenced by InterpolateBase().
|
protected |
Definition at line 45 of file Interpolate.h.
Referenced by backup(), init(), and InterpolateBase().
|
protected |
Definition at line 46 of file Interpolate.h.
Referenced by Extrapolate_Linear::init(), and Extrapolate_Central::init().
|
protected |
Definition at line 47 of file Interpolate.h.
Referenced by InterpolateBase().