#include <Agent.h>
Definition at line 58 of file Agent.h.
NewAttribute |
( |
Agent * |
ag, |
|
|
std::string |
target_window_, |
|
|
std::string |
attr_, |
|
|
char |
loc_, |
|
|
int |
type_, |
|
|
int |
ncomp_, |
|
|
const char * |
unit_ |
|
) |
| |
Definition at line 102 of file Agent.C.
AttributeBase(Agent *ag, std::string target_window_, std::string attr_)
void create |
( |
std::string |
bufname | ) |
|
|
virtual |
Reimplemented from AttributeBase.
Definition at line 108 of file Agent.C.
References AttributeBase::attr, COM_get_attribute(), COM_get_attribute_handle(), COM_new_attribute(), COM_resize_array(), loc, MAN_DEBUG, MPI_COMM_WORLD, ncomp, type, and unit.
118 std::cerr <<
"Rocstar Error: NewAttribute::create(): Could not create " << bufname+
attr <<
" in two different ways " << std::endl;
124 MAN_DEBUG(3, (
"NewAttribute::create: %s%s.\n", bufname.c_str(),
attr.c_str()));
here we put it at the!beginning of the common block The point to point and collective!routines know about but MPI_TYPE_STRUCT as yet does not!MPI_STATUS_IGNORE and MPI_STATUSES_IGNORE are similar objects!Until the underlying MPI library implements the C version of these are declared as arrays of MPI_STATUS_SIZE!The types and are OPTIONAL!Their values are zero if they are not available Note that!using these reduces the portability of MPI_IO INTEGER MPI_BOTTOM INTEGER MPI_DOUBLE_PRECISION INTEGER MPI_LOGICAL INTEGER MPI_2REAL INTEGER MPI_2DOUBLE_COMPLEX INTEGER MPI_LB INTEGER MPI_WTIME_IS_GLOBAL INTEGER MPI_COMM_WORLD
void COM_get_attribute(const std::string wa_str, char *loc, int *type, int *ncomp, std::string *unit)
int COM_get_attribute_handle(const char *waname)
void COM_new_attribute(const char *wa_str, const char loc, const int type, int ncomp, const char *unit)
Registering an attribute type.
void COM_resize_array(const char *wa_str, int pane_id=0, void **addr=NULL, int strd=-1, int cap=0)
Resize an attribute on a specific pane and return the address by setting addr.
The documentation for this class was generated from the following files: