Peano
Loading...
Searching...
No Matches
peano4.api.datamodel.DaStGen.DaStGen Class Reference
Inheritance diagram for peano4.api.datamodel.DaStGen.DaStGen:
Collaboration diagram for peano4.api.datamodel.DaStGen.DaStGen:

Public Member Functions

 __init__ (self, name)
 dim should be a two-tuple or a three-tuple of integers, so a construction could look like
 add_double_scalar (self, name)
 add_integer_scalar (self, name)
 add_enum (self, enum_name, enum_variants)
 enum Is a set or series of strings.
Public Member Functions inherited from peano4.api.datamodel.DoF.DoF
 __init__ (self, name)
 Create a degree of freedom object.
 configure (self, namespace, association, subdirectory="", temporary_subdirectory="")
 Typically called by model as soon as you add an object to it.
 get_full_qualified_type (self)
 get_logical_type_name (self)
 What should the data type be called within the data repository, or within action sets.
 get_enumeration_type (self)
 What should the data type be called within the data repository.
 additional_load_and_store_arguments (self)
 additional_load_and_store_arguments_for_other_dof (self, argument_name, use_dof_association=None)
 You can make Peano's store and load arguments of any DoF depend on other DoFs that you have loaded before.
 subnamespace (self)

Data Fields

 generator = DaStGenToLegacyTool(self)
list attributes_double = []
list attributes_integer = []
list attributes_enum = []
Data Fields inherited from peano4.api.datamodel.DoF.DoF
 association = DoFAssociation.Undef
 name = name
list namespace = []
 grid_selector = None
 subdirectory = subdirectory
 temporary_subdirectory = temporary_subdirectory

Additional Inherited Members

Protected Attributes inherited from peano4.api.datamodel.DoF.DoF
list _additional_load_and_store_arguments = []

Detailed Description

Definition at line 8 of file DaStGen.py.

Constructor & Destructor Documentation

◆ __init__()

peano4.api.datamodel.DaStGen.DaStGen.__init__ ( self,
name )

dim should be a two-tuple or a three-tuple of integers, so a construction could look like

cell_data = peano4.api.datamodel.Patch( (6,6,6), "Fluid" )

attributes_double Series of strings which encode doubles. attributes_enum Series of tuples with a string plus an array of strings.

Definition at line 9 of file DaStGen.py.

References __init__().

Referenced by __init__().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ add_double_scalar()

peano4.api.datamodel.DaStGen.DaStGen.add_double_scalar ( self,
name )

Definition at line 26 of file DaStGen.py.

References attributes_double.

◆ add_enum()

peano4.api.datamodel.DaStGen.DaStGen.add_enum ( self,
enum_name,
enum_variants )

enum Is a set or series of strings.

Definition at line 34 of file DaStGen.py.

References attributes_enum.

◆ add_integer_scalar()

peano4.api.datamodel.DaStGen.DaStGen.add_integer_scalar ( self,
name )

Definition at line 30 of file DaStGen.py.

References attributes_integer.

Field Documentation

◆ attributes_double

list peano4.api.datamodel.DaStGen.DaStGen.attributes_double = []

Definition at line 21 of file DaStGen.py.

Referenced by add_double_scalar().

◆ attributes_enum

list peano4.api.datamodel.DaStGen.DaStGen.attributes_enum = []

Definition at line 23 of file DaStGen.py.

Referenced by add_enum().

◆ attributes_integer

list peano4.api.datamodel.DaStGen.DaStGen.attributes_integer = []

Definition at line 22 of file DaStGen.py.

Referenced by add_integer_scalar().

◆ generator


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