Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RFC_Data< _Tag > Class Template Reference

#include <RFC_Window_transfer.h>

Inheritance diagram for RFC_Data< _Tag >:
Collaboration diagram for RFC_Data< _Tag >:

Public Types

typedef RFC_Data_const< _Tag > Base
 
typedef Vector_n Value
 
typedef Array_n Value_nonconst
 
typedef Array_n_const Value_const
 
typedef unsigned int Size
 
typedef _Tag Tag
 
- Public Types inherited from RFC_Data_const< _Tag >
typedef Vector_n Value
 
typedef Array_n Value_nonconst
 
typedef Array_n_const Value_const
 
typedef unsigned int Size
 
typedef _Tag Tag
 

Public Member Functions

 RFC_Data ()
 
 RFC_Data (RFC_Window_transfer &win, const char *aname)
 
 RFC_Data (COM::Attribute *a)
 
 RFC_Data (int i, int d)
 
Value_nonconst get_value (RFC_Pane_transfer *p, int v)
 
Value_const get_value (const RFC_Pane_transfer *p, int v) const
 
void set_value (RFC_Pane_transfer *p, int v, const Value_const &vec)
 
Value_nonconst get_value (Real *buf, int v) const
 
Value_const get_value (const Real *buf, int v) const
 
void set_value (Real *buf, int v, const Value_const &vec)
 
Tag tag () const
 
- Public Member Functions inherited from RFC_Data_const< _Tag >
 RFC_Data_const ()
 
 RFC_Data_const (const RFC_Window_transfer &win, const char *aname)
 
 RFC_Data_const (const COM::Attribute *a)
 
 RFC_Data_const (int i, int d)
 
int id () const
 
Size dimension () const
 
bool is_valid (const RFC_Pane_transfer *p, int i) const
 
Value_const get_value (const RFC_Pane_transfer *p, int v) const
 
Value_const get_value (const Real *buf, int v) const
 
Tag tag () const
 

Additional Inherited Members

- Protected Attributes inherited from RFC_Data_const< _Tag >
int _id
 
unsigned int _dim
 

Detailed Description

template<class _Tag>
class RFC_Data< _Tag >

Definition at line 42 of file RFC_Window_transfer.h.

Member Typedef Documentation

typedef RFC_Data_const<_Tag> Base

Definition at line 282 of file RFC_Window_transfer.h.

typedef unsigned int Size

Definition at line 286 of file RFC_Window_transfer.h.

typedef _Tag Tag

Definition at line 287 of file RFC_Window_transfer.h.

typedef Vector_n Value

Definition at line 283 of file RFC_Window_transfer.h.

Definition at line 285 of file RFC_Window_transfer.h.

Definition at line 284 of file RFC_Window_transfer.h.

Constructor & Destructor Documentation

RFC_Data ( )
inline

Definition at line 289 of file RFC_Window_transfer.h.

289 {}
RFC_Data ( RFC_Window_transfer win,
const char *  aname 
)
inline

Definition at line 290 of file RFC_Window_transfer.h.

290 : Base( win, aname) {}
RFC_Data_const< _Tag > Base
RFC_Data ( COM::Attribute *  a)
inline

Definition at line 291 of file RFC_Window_transfer.h.

291 : Base( a) {}
RFC_Data_const< _Tag > Base
RFC_Data ( int  i,
int  d 
)
inline

Definition at line 292 of file RFC_Window_transfer.h.

292 : Base(i, d) {}
const NT & d
RFC_Data_const< _Tag > Base
blockLoc i
Definition: read.cpp:79

Member Function Documentation

Value_nonconst get_value ( RFC_Pane_transfer p,
int  v 
)
inline

Definition at line 295 of file RFC_Window_transfer.h.

References RFC_Data_const< _Tag >::_dim, RFC_Data_const< _Tag >::_id, RFC_Pane_transfer::pointer(), and RFC_assertion.

Referenced by Transfer_base::integrate_subface(), Transfer_base::interpolate_fe(), Transfer_base::invert(), Transfer_base::precondition_Jacobi(), Transfer_base::saxpy(), Transfer_base::scale(), and Transfer_base::transfer_2f().

295  {
296  RFC_assertion( v>=1);
297  return Value_nonconst( p->pointer( _id) + (v-1)*_dim, _dim);
298  }
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of nor the names of its **contributors may be used to endorse or promote products derived **from this Software without specific prior written permission ****THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE v
Definition: roccomf90.h:20
Array_n Value_nonconst
#define RFC_assertion
Definition: rfc_basic.h:65

Here is the call graph for this function:

Here is the caller graph for this function:

Value_const get_value ( const RFC_Pane_transfer p,
int  v 
) const
inline

Definition at line 300 of file RFC_Window_transfer.h.

References RFC_Data_const< _Tag >::_dim, RFC_Data_const< _Tag >::_id, RFC_Pane_transfer::pointer(), and RFC_assertion.

300  {
301  RFC_assertion( v>=1);
302  return Value_const( p->pointer( _id) + (v-1)*_dim, _dim);
303  }
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of nor the names of its **contributors may be used to endorse or promote products derived **from this Software without specific prior written permission ****THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE v
Definition: roccomf90.h:20
Array_n_const Value_const
#define RFC_assertion
Definition: rfc_basic.h:65

Here is the call graph for this function:

Value_nonconst get_value ( Real buf,
int  v 
) const
inline

Definition at line 309 of file RFC_Window_transfer.h.

References RFC_Data_const< _Tag >::_dim, and RFC_assertion.

309  {
310  RFC_assertion( v>=1);
311  return Value_nonconst( buf + (v-1)*_dim, _dim);
312  }
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of nor the names of its **contributors may be used to endorse or promote products derived **from this Software without specific prior written permission ****THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE v
Definition: roccomf90.h:20
Array_n Value_nonconst
#define RFC_assertion
Definition: rfc_basic.h:65
Value_const get_value ( const Real buf,
int  v 
) const
inline

Definition at line 313 of file RFC_Window_transfer.h.

References RFC_Data_const< _Tag >::_dim, and RFC_assertion.

313  {
314  RFC_assertion( v>=1);
315  return Value_const( buf + (v-1)*_dim, _dim);
316  }
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of nor the names of its **contributors may be used to endorse or promote products derived **from this Software without specific prior written permission ****THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE v
Definition: roccomf90.h:20
Array_n_const Value_const
#define RFC_assertion
Definition: rfc_basic.h:65
void set_value ( RFC_Pane_transfer p,
int  v,
const Value_const vec 
)
inline

Definition at line 304 of file RFC_Window_transfer.h.

References RFC_Data_const< _Tag >::_dim, RFC_Data_const< _Tag >::_id, Array_n_const::begin(), copy, Array_n_const::dimension(), Array_n_const::end(), RFC_Pane_transfer::pointer(), and RFC_assertion.

Referenced by Transfer_base::copy_vec().

304  {
305  RFC_assertion( _dim == vec.dimension() && v>=1);
306  std::copy( vec.begin(), vec.end(), p->pointer( _id) + (v-1)*_dim);
307  }
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of nor the names of its **contributors may be used to endorse or promote products derived **from this Software without specific prior written permission ****THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE v
Definition: roccomf90.h:20
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to ** copy
Definition: roccomf90.h:20
#define RFC_assertion
Definition: rfc_basic.h:65

Here is the call graph for this function:

Here is the caller graph for this function:

void set_value ( Real buf,
int  v,
const Value_const vec 
)
inline

Definition at line 317 of file RFC_Window_transfer.h.

References RFC_Data_const< _Tag >::_dim, Array_n_const::begin(), copy, Array_n_const::dimension(), Array_n_const::end(), and RFC_assertion.

317  {
318  RFC_assertion( _dim == vec.dimension() && v>=1);
319  std::copy( vec.begin(), vec.end(), buf + (v-1)*_dim);
320  }
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of nor the names of its **contributors may be used to endorse or promote products derived **from this Software without specific prior written permission ****THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE v
Definition: roccomf90.h:20
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to ** copy
Definition: roccomf90.h:20
#define RFC_assertion
Definition: rfc_basic.h:65

Here is the call graph for this function:

Tag tag ( ) const
inline

Definition at line 322 of file RFC_Window_transfer.h.

322 { return Tag(); }

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