Reference Guide  2.5.0
psyclone.dynamo0p3.DynInterGrid Class Reference

Public Member Functions

def __init__ (self, fine_arg, coarse_arg)
 
def set_colour_info (self, colour_map, ncolours, last_cell)
 
def colourmap_symbol (self)
 
def ncolours_var_symbol (self)
 
def last_cell_var_symbol (self)
 

Public Attributes

 coarse
 
 fine
 
 mmap
 
 ncell_fine
 
 ncellpercellx
 
 ncellpercelly
 
 cell_map
 

Detailed Description

Holds information on quantities required by an inter-grid kernel.

:param fine_arg: Kernel argument on the fine mesh.
:type fine_arg: :py:class:`psyclone.dynamo0p3.DynKernelArgument`
:param coarse_arg: Kernel argument on the coarse mesh.
:type coarse_arg: :py:class:`psyclone.dynamo0p3.DynKernelArgument`

Definition at line 2538 of file dynamo0p3.py.

Member Function Documentation

◆ colourmap_symbol()

def psyclone.dynamo0p3.DynInterGrid.colourmap_symbol (   self)
:returns: the colour map symbol.
:rtype: :py:class:`psyclone.psyir.symbols.Symbol`

Definition at line 2606 of file dynamo0p3.py.

2606  def colourmap_symbol(self):
2607  ''':returns: the colour map symbol.
2608  :rtype: :py:class:`psyclone.psyir.symbols.Symbol`
2609  '''
2610  return self._colourmap_symbol
2611 

References psyclone.dynamo0p3.DynInterGrid._colourmap_symbol.

◆ last_cell_var_symbol()

def psyclone.dynamo0p3.DynInterGrid.last_cell_var_symbol (   self)
:returns: the last halo/edge cell variable.
:rtype: :py:class:`psyclone.psyir.symbols.Symbol`

Definition at line 2620 of file dynamo0p3.py.

2620  def last_cell_var_symbol(self):
2621  ''':returns: the last halo/edge cell variable.
2622  :rtype: :py:class:`psyclone.psyir.symbols.Symbol`
2623  '''
2624  return self._last_cell_var_symbol
2625 
2626 

References psyclone.dynamo0p3.DynInterGrid._last_cell_var_symbol.

◆ ncolours_var_symbol()

def psyclone.dynamo0p3.DynInterGrid.ncolours_var_symbol (   self)
:returns: the symbol for storing the number of colours.
:rtype: :py:class:`psyclone.psyir.symbols.Symbol`

Definition at line 2613 of file dynamo0p3.py.

2613  def ncolours_var_symbol(self):
2614  ''':returns: the symbol for storing the number of colours.
2615  :rtype: :py:class:`psyclone.psyir.symbols.Symbol`
2616  '''
2617  return self._ncolours_var_symbol
2618 

References psyclone.dynamo0p3.DynInterGrid._ncolours_var_symbol.

◆ set_colour_info()

def psyclone.dynamo0p3.DynInterGrid.set_colour_info (   self,
  colour_map,
  ncolours,
  last_cell 
)
Sets the colour_map, number of colours, and
last cell of a particular colour.

:param colour_map: the colour map symbol.
:type: colour_map:py:class:`psyclone.psyir.symbols.Symbol`
:param ncolours: the number of colours.
:type: ncolours: :py:class:`psyclone.psyir.symbols.Symbol`
:param last_cell: the last halo cell of a particular colour.
:type last_cell: :py:class:`psyclone.psyir.symbols.Symbol`

Definition at line 2589 of file dynamo0p3.py.

2589  def set_colour_info(self, colour_map, ncolours, last_cell):
2590  '''Sets the colour_map, number of colours, and
2591  last cell of a particular colour.
2592 
2593  :param colour_map: the colour map symbol.
2594  :type: colour_map:py:class:`psyclone.psyir.symbols.Symbol`
2595  :param ncolours: the number of colours.
2596  :type: ncolours: :py:class:`psyclone.psyir.symbols.Symbol`
2597  :param last_cell: the last halo cell of a particular colour.
2598  :type last_cell: :py:class:`psyclone.psyir.symbols.Symbol`
2599 
2600  '''
2601  self._colourmap_symbol = colour_map
2602  self._ncolours_var_symbol = ncolours
2603  self._last_cell_var_symbol = last_cell
2604 

References psyclone.dynamo0p3.DynInterGrid._colourmap_symbol, psyclone.dynamo0p3.DynInterGrid._last_cell_var_symbol, and psyclone.dynamo0p3.DynInterGrid._ncolours_var_symbol.


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