#include <Interpolate.h>
Public Member Functions | |
Interpolate_Linear (Agent *ag, Agent *bkag, const std::string attr, const std::string alpsuf="_alp") | |
void | run (double t, double dt, double alpha) |
Public Member Functions inherited from InterpolateBase | |
InterpolateBase (Agent *ag, Agent *bkag, int cond=0) | |
virtual void | init (double t) |
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 () |
Additional Inherited Members | |
Protected Types inherited from Action | |
enum | { IN =1, OUT =2, INOUT =3 } |
Protected Member Functions inherited from InterpolateBase | |
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 inherited from InterpolateBase | |
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 |
Definition at line 64 of file Interpolate.h.
Interpolate_Linear | ( | Agent * | ag, |
Agent * | bkag, | ||
const std::string | attr, | ||
const std::string | alpsuf = "_alp" |
||
) |
Definition at line 268 of file Interpolate.C.
References Action::action_name, Action::attr, Action::IN, Action::OUT, Action::set_attr(), and Action::set_io().
|
virtual |
Implements InterpolateBase.
Definition at line 285 of file Interpolate.C.
References InterpolateBase::agent, Action::attr, InterpolateBase::attr_hdls, COM_assertion_msg, COM_call_function(), RocBlas::copy, InterpolateBase::extrapolate_Linear(), Agent::get_coupling(), Agent::get_old_dt(), Coupling::get_rocmancontrol_param(), MAN_DEBUG, Coupling::new_start(), and RocmanControl_parameters::order.