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

Private Member Functions

 Pane_friend (Pane &)
 

Additional Inherited Members

- Public Types inherited from Pane
enum  OP_Init {
  OP_SET =1, OP_SET_CONST, OP_ALLOC, OP_RESIZE,
  OP_DEALLOC
}
 
enum  Inherit_Modes { INHERIT_USE =0, INHERIT_CLONE, INHERIT_COPY }
 
typedef std::vector< Attribute * > Attr_set
 Vector of attributs. More...
 
typedef std::vector
< Connectivity * > 
Cnct_set
 Vector of connectivities. More...
 
typedef unsigned int Size
 Unsighed int. More...
 
- Public Member Functions inherited from Pane
 Pane (Window *w, int i)
 Create a pane in window w with ID i. More...
 
 Pane (Pane *p, int i)
 Create a pane by copying from attribute descriptions from another pane. More...
 
virtual ~Pane ()
 Default destructor. More...
 
void init_done () throw (COM_exception)
 Finalize the initialization of a pane. More...
 
const Window * window () const
 Obtain a constant pointer to its owner window object. More...
 
Window * window ()
 Obtain a pointer to its owner window object. More...
 
int id () const
 Get the ID of the pane. More...
 
int dimension () const
 Dimension of the pane. More...
 
bool is_unstructured () const
 Is mesh of the pane unstructured? More...
 
bool is_mixed () const
 Does the pane contain more than one type of elements? More...
 
bool is_structured () const
 Is mesh of the pane structured? More...
 
Size size_of_nodes () const
 Get the total number of nodes in the pane (including ghost nodes). More...
 
Size maxsize_of_nodes () const
 Get the maximum number of real nodes in the pane (excluding ghost nodes). More...
 
Size size_of_ghost_nodes () const
 Get the number of ghost nodes. More...
 
Size maxsize_of_ghost_nodes () const
 Get the maximum number of real nodes in the pane (excluding ghost nodes). More...
 
Size size_of_real_nodes () const
 Get the number of real nodes in the pane (excluding ghost nodes). More...
 
Size maxsize_of_real_nodes () const
 Get the maximum number of real nodes in the pane (excluding ghost nodes). More...
 
Size size_of_elements () const
 Get the total number of elements in the pane (including ghost elements). More...
 
Size maxsize_of_elements () const
 Get the maximum number of elements allowed in the pane (including ghost elements) More...
 
Size size_of_ghost_elements () const
 Get the total number of ghost elements. More...
 
Size maxsize_of_ghost_elements () const
 Get the maximum number of elements allowed in the pane (including ghost elements) More...
 
Size size_of_real_elements () const
 Get the number of real elements in the pane (excluding ghost elements). More...
 
Size maxsize_of_real_elements () const
 Get the maximum number of real elements allowed in the pane (excluding ghost elements). More...
 
double * coordinates ()
 Get the pointer to the values of the coordinates. More...
 
double * x_coordinates ()
 Get the pointer to the values of the x-coordinates, if the coordinates are staggered. More...
 
double * y_coordinates ()
 Get the pointer to the values of the y-coordinates, if the coordinates are staggered. More...
 
double * z_coordinates ()
 Get the pointer to the values of the z-coordinates, if the coordinates are staggered. More...
 
const double * coordinates () const
 Get a constant pointer to the values of the coordinates. More...
 
const double * x_coordinates () const
 Get a constant pointer to the values of the x-coordinates, if the coordinates are staggered. More...
 
const double * y_coordinates () const
 Get a constant pointer to the values of the y-coordinates, if the coordinates are staggered. More...
 
const double * z_coordinates () const
 Get a constant pointer to the values of the z-coordinates, if the coordinates are staggered. More...
 
int * pane_connectivity ()
 Get a pointer to the values of the pane connectivity. More...
 
const int * pane_connectivity () const
 Get a const pointer to the values of the pane connectivity. More...
 
bool ignore_ghost () const
 
void set_ignore_ghost (bool ignore)
 
Size size_of_ghost_layers () const
 Dimension of the pane. More...
 
Size size_i () const
 Get the number of nodes in i-dimension if the mesh is structured. More...
 
Size size_j () const
 Get the number of nodes in j-dimension if the mesh is structured. More...
 
Size size_k () const
 Get the number of nodes in k-dimension if the mesh is structured. More...
 
void attributes (std::vector< Attribute * > &as)
 Obtain all the attributes of the pane. More...
 
void attributes (std::vector< const Attribute * > &as) const
 Obtain all the attributes of the pane. More...
 
Attribute * attribute (const std::string &a)
 Obtain the attribute from given name. More...
 
const Attribute * attribute (const std::string &a) const
 Obtain the attribute from given name. More...
 
Attribute * attribute (int i)
 Obtain the attribute from its ID. More...
 
const Attribute * attribute (int i) const
 Obtain the attribute from its ID. More...
 
void connectivities (std::vector< Connectivity * > &es)
 Obtain all the element connectivities of the pane. More...
 
void connectivities (std::vector< const Connectivity * > &es) const
 
Connectivity * connectivity (Size i) throw (COM_exception)
 Obtain the connectivity table containing the element with the given ID. More...
 
const Connectivity * connectivity (Size i) const throw (COM_exception)
 
void elements (std::vector< Connectivity * > &es)
 Obtain all the element connectivities of the pane. More...
 
void elements (std::vector< const Connectivity * > &es) const
 
void refresh_connectivity () throw (COM_exception)
 Update offsets and sizes of connectivity of an unstructured mesh. More...
 
- Protected Member Functions inherited from Pane
Attribute * new_attribute (const std::string &aname, int aid, const char loc, const int type, int ncomp, const std::string &unit) throw (COM_exception)
 
void insert (Attribute *attr) throw (COM_exception)
 Insert an attribute onto the pane. More...
 
void delete_attribute (int id) throw (COM_exception)
 Delete an existing attribute with given id. More...
 
void reinit_attr (int aid, OP_Init op, void **addr, int strd, int cap) throw (COM_exception)
 
const Connectivity * connectivity (const std::string &a) const throw (COM_exception)
 Obtain the connectivity with the given name. More...
 
Connectivity * connectivity (const std::string &a, bool insert=false) throw (COM_exception)
 
void reinit_conn (Connectivity *con, OP_Init op, int **addr, int strd, int cap) throw (COM_exception)
 
Attribute * inherit (Attribute *from, const std::string &aname, int mode, bool withghost) throw (COM_exception)
 Inherit an attribute from another pane onto the current pane: More...
 
void set_size (Attribute *a, int nitems, int ng) throw ( COM_exception)
 Set the size of an attribute. More...
 
void set_size (Connectivity *con, int nitems, int ng) throw ( COM_exception)
 Set the size of a connectivity table. More...
 
- Protected Attributes inherited from Pane
Window * _window
 Point to the parent window. More...
 
int _id
 Pane id. More...
 
Attr_set _attr_set
 Set of attributes. More...
 
Cnct_set _cnct_set
 Set of element connectivity. More...
 
bool _ignore_ghost
 Whether the ghosts were ignored. More...
 

Detailed Description

Definition at line 47 of file Window.h.

Constructor & Destructor Documentation

Pane_friend ( Pane &  )
explicitprivate

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