Reference Guide  2.5.0
psyclone.dynamo0p3.FSDescriptor Class Reference

Public Member Functions

def __init__ (self, descriptor)
 
def requires_basis (self)
 
def requires_diff_basis (self)
 
def fs_name (self)
 

Detailed Description

 Provides information about a particular function space used by
a meta-funcs entry in the kernel metadata. 

Definition at line 4894 of file dynamo0p3.py.

Member Function Documentation

◆ fs_name()

def psyclone.dynamo0p3.FSDescriptor.fs_name (   self)
 Returns the raw metadata value of this function space. 

Definition at line 4915 of file dynamo0p3.py.

4915  def fs_name(self):
4916  ''' Returns the raw metadata value of this function space. '''
4917  return self._descriptor.function_space_name
4918 
4919 

References psyclone.dynamo0p3.FSDescriptor._descriptor.

◆ requires_basis()

def psyclone.dynamo0p3.FSDescriptor.requires_basis (   self)
 Returns True if a basis function is associated with this
function space, otherwise it returns False. 

Definition at line 4902 of file dynamo0p3.py.

4902  def requires_basis(self):
4903  ''' Returns True if a basis function is associated with this
4904  function space, otherwise it returns False. '''
4905  return "gh_basis" in self._descriptor.operator_names
4906 

References psyclone.dynamo0p3.FSDescriptor._descriptor.

◆ requires_diff_basis()

def psyclone.dynamo0p3.FSDescriptor.requires_diff_basis (   self)
 Returns True if a differential basis function is
associated with this function space, otherwise it returns
False. 

Definition at line 4908 of file dynamo0p3.py.

4908  def requires_diff_basis(self):
4909  ''' Returns True if a differential basis function is
4910  associated with this function space, otherwise it returns
4911  False. '''
4912  return "gh_diff_basis" in self._descriptor.operator_names
4913 

References psyclone.dynamo0p3.FSDescriptor._descriptor.


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