#include <basic_actions.h>
|
| ComputeMeshMotion (FluidAgent *ag, const std::string a_vm, const std::string f_du_alp, double z) |
|
void | init (double t) |
|
void | run (double t, double dt, double alpha) |
|
| 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 () |
|
Definition at line 148 of file basic_actions.h.
Definition at line 296 of file basic_actions.C.
References COM_DOUBLE, fagent, Action::IN, Action::OUT, FluidAgent::propBufAll, Agent::register_new_attribute(), Action::set_attr(), and Action::set_io().
298 Action(0, (
const char**)NULL, NULL, NULL, (
char *)
"ComputeMeshMotion"),
301 int io[] = {
IN,
OUT};
void register_new_attribute(std::string target_window_, std::string attr_, char loc_, int type_, int ncomp_, const char *unit_)
void int int int REAL REAL REAL * z
void set_io(int n, const int *io)
Action(void *p=0, char *name=NULL)
void set_attr(int n, const std::string at[], int *id=NULL)
void run |
( |
double |
t, |
|
|
double |
dt, |
|
|
double |
alpha |
|
) |
| |
|
virtual |
Reimplemented from Action.
Definition at line 322 of file basic_actions.C.
References a_vm_hdl, COM_assertion_msg, COM_call_function(), RocBlas::copy_scalar, f_du_alp_hdl, f_zoom_hdl, MAN_DEBUG, RocBlas::mul_scalar, cimg_library::cimg::time(), and zoom.
323 MAN_DEBUG(3, (
"Rocstar: ComputeMeshMotion::run() with dt:%e alpha:%e.\n", dt, alpha));
325 COM_assertion_msg(alpha>=0.0,
"ERROR: ComputeMeshMotion called with invalid alpha!");
329 double time = alpha * dt;
#define COM_assertion_msg(EX, msg)
void COM_call_function(const int wf, int argc,...)
unsigned long time()
Get the value of a system timer with a millisecond precision.
The documentation for this class was generated from the following files: