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

#include <basic_actions.h>

Inheritance diagram for Reset_du_alp:
Collaboration diagram for Reset_du_alp:

Public Member Functions

 Reset_du_alp (FluidAgent *fag)
 
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 ()
 

Private Attributes

FluidAgentfagent
 
int du_alp_hdl
 

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 304 of file basic_actions.h.

Constructor & Destructor Documentation

Definition at line 1020 of file basic_actions.C.

References Action::set_attr(), and Action::set_io().

1020  :
1021  Action( 0, (const char**)NULL, NULL, NULL, (char *)"Reset_du_alp"), fagent(fag)
1022 {
1023  // Define I/O of the arguments.
1024  set_io( 0, NULL);
1025  set_attr(0, (const char**)NULL);
1026 }
void set_io(int n, const int *io)
Definition: Action.h:70
FluidAgent * fagent
Action(void *p=0, char *name=NULL)
Definition: Action.C:32
void set_attr(int n, const std::string at[], int *id=NULL)
Definition: Action.C:66

Here is the call graph for this function:

Member Function Documentation

void init ( double  t)
virtual

Reimplemented from Action.

Definition at line 1029 of file basic_actions.C.

References COM_get_attribute_handle(), du_alp_hdl, fagent, and Agent::get_surface_window().

1029  {
1031 }
int COM_get_attribute_handle(const char *waname)
Definition: roccom_c++.h:412
std::string get_surface_window() const
Definition: Agent.h:217
FluidAgent * fagent

Here is the call graph for this function:

void run ( double  t,
double  dt,
double  alpha 
)
virtual

Reimplemented from Action.

Definition at line 1033 of file basic_actions.C.

References COM_call_function(), RocBlas::copy_scalar, du_alp_hdl, and MAN_DEBUG.

1033  {
1034  MAN_DEBUG(3, ("Rocstar: Reset_du_alp::run().\n"));
1035  double zero = 0.0;
1037 }
static int copy_scalar
Definition: RocBlas.h:43
void COM_call_function(const int wf, int argc,...)
Definition: roccom_c.C:48
#define MAN_DEBUG(l, x)
Definition: rocman.h:98

Here is the call graph for this function:

Member Data Documentation

int du_alp_hdl
private

Definition at line 311 of file basic_actions.h.

Referenced by init(), and run().

FluidAgent* fagent
private

Definition at line 310 of file basic_actions.h.

Referenced by init().


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