Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SetZero Class Reference

#include <basic_actions.h>

Inheritance diagram for SetZero:
Collaboration diagram for SetZero:

Public Member Functions

 SetZero (const std::string at)
 
- Public Member Functions inherited from SetValueDouble
 SetValueDouble (const std::string at, const double val)
 
void init (double t)
 
void run (double t, double dt, double alpha)
 
- 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 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 51 of file basic_actions.h.

Constructor & Destructor Documentation

SetZero ( const std::string  at)

Definition at line 56 of file basic_actions.C.

References Action::action_name.

56  : SetValueDouble( at, 0)
57 { action_name = (char *)"SetZero"; }
char * action_name
Definition: Action.h:36
SetValueDouble(const std::string at, const double val)
Definition: basic_actions.C:38

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