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
 configure (self, namespace, association, 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
 
 attributes_double
 
 attributes_integer
 
 attributes_enum
 
- Data Fields inherited from peano4.api.datamodel.DoF.DoF
 association
 
 name
 
 namespace
 
 grid_selector
 
 subdirectory
 

Additional Inherited Members

- Protected Attributes inherited from peano4.api.datamodel.DoF.DoF
 _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.

Reimplemented from peano4.api.datamodel.DoF.DoF.

Definition at line 9 of file DaStGen.py.

References peano4.api.datamodel.DaStGen.DaStGen.__init__().

Referenced by peano4.api.datamodel.DaStGen.DaStGen.__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 peano4.api.datamodel.DaStGen.DaStGen.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 peano4.api.datamodel.DaStGen.DaStGen.attributes_enum.

◆ add_integer_scalar()

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

Field Documentation

◆ attributes_double

peano4.api.datamodel.DaStGen.DaStGen.attributes_double

Definition at line 21 of file DaStGen.py.

Referenced by peano4.api.datamodel.DaStGen.DaStGen.add_double_scalar().

◆ attributes_enum

peano4.api.datamodel.DaStGen.DaStGen.attributes_enum

Definition at line 23 of file DaStGen.py.

Referenced by peano4.api.datamodel.DaStGen.DaStGen.add_enum().

◆ attributes_integer

peano4.api.datamodel.DaStGen.DaStGen.attributes_integer

Definition at line 22 of file DaStGen.py.

Referenced by peano4.api.datamodel.DaStGen.DaStGen.add_integer_scalar().

◆ generator


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