Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActionG Class Reference
Inheritance diagram for ActionG:
Collaboration diagram for ActionG:

Public Member Functions

 ActionG (int n, char *at[], int i[], void *p=0, char *name=NULL)
 
virtual void declare (Scheduler &sched)
 
- 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 init (double t)
 
virtual void run (double t, double dt, double alpha)
 
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 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 Action
char * action_name
 
char ** attr
 
int * idx
 
int count
 
void * usr_ptr
 
std::vector< int > inout
 

Detailed Description

Definition at line 81 of file test.C.

Constructor & Destructor Documentation

ActionG ( int  n,
char *  at[],
int  i[],
void *  p = 0,
char *  name = NULL 
)
inline

Definition at line 83 of file test.C.

83 : Action(n, at, i, p, name) {}
virtual char * name()
Definition: Action.h:53
blockLoc i
Definition: read.cpp:79
const NT & n
Action(void *p=0, char *name=NULL)
Definition: Action.C:32

Member Function Documentation

virtual void declare ( Scheduler sched)
inlinevirtual

Reimplemented from Action.

Definition at line 84 of file test.C.

References Scheduler::reads().

Referenced by main().

84  {
85  sched.reads(this, "f", 1);
86  }
void reads(Action *, const char *attr, int idx)
Definition: Scheduler.C:49

Here is the call graph for this function:

Here is the caller graph for this function:


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