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

An const adaptor for accessing nodal coordinates of a pane. More...

#include <RFC_Window_base.h>

Public Types

typedef Point_3 Value
 
typedef Point_3 Value_nonconst
 
typedef const Point_3 Value_const
 
typedef unsigned int Size
 

Public Member Functions

Value_constget_value (const RFC_Pane_base *p, int i) const
 Get the coordinates of a point in p with local id . More...
 
Value_constget_value (const Real *p, int i) const
 Get the coordinates of a point in p with local id . More...
 

Detailed Description

An const adaptor for accessing nodal coordinates of a pane.

See Also
RFC_Pane_base

Definition at line 462 of file RFC_Window_base.h.

Member Typedef Documentation

typedef unsigned int Size

Definition at line 467 of file RFC_Window_base.h.

typedef Point_3 Value

Definition at line 464 of file RFC_Window_base.h.

typedef const Point_3 Value_const

Definition at line 466 of file RFC_Window_base.h.

Definition at line 465 of file RFC_Window_base.h.

Member Function Documentation

Value_const& get_value ( const RFC_Pane_base p,
int  i 
) const
inline

Get the coordinates of a point in p with local id .

Definition at line 470 of file RFC_Window_base.h.

References RFC_Pane_base::get_point().

470  {
471  return p->get_point(i);
472  }
const Point_3 & get_point(int id) const
Get the physical coordinates of the node with given local id.
blockLoc i
Definition: read.cpp:79

Here is the call graph for this function:

Value_const& get_value ( const Real p,
int  i 
) const
inline

Get the coordinates of a point in p with local id .

Definition at line 474 of file RFC_Window_base.h.

474  {
475  return *reinterpret_cast<Value_const*>(p+3*(i-1));
476  }
blockLoc i
Definition: read.cpp:79
const Point_3 Value_const

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