|
Peano
|
Patch implementation of a degree of freedom. More...


Public Member Functions | |
| __init__ (self, dim, no_of_unknowns, name, float_type="double") | |
| dim should be a two-tuple or a three-tuple of integers, so a construction could look like | |
| __str__ (self) | |
| additional_load_and_store_arguments (self) | |
| additional_load_and_store_arguments (self, new_arguments) | |
| 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_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 | |
| dim = dim | |
| no_of_unknowns = no_of_unknowns | |
| generator = PatchToDoubleArray(self, float_type) | |
| str | readme_descriptor |
| 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 | |
Static Public Attributes | |
| str | readme_package_descriptor |
Additional Inherited Members | |
| Protected Attributes inherited from peano4.api.datamodel.DoF.DoF | |
| list | _additional_load_and_store_arguments = [] |
Patch implementation of a degree of freedom.
Please study the superclass for details.
| peano4.api.datamodel.Patch.Patch.__init__ | ( | self, | |
| dim, | |||
| no_of_unknowns, | |||
| name, | |||
| float_type = "double" ) |
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" )
Definition at line 23 of file Patch.py.
References __init__().
Referenced by __init__().


| peano4.api.datamodel.Patch.Patch.__str__ | ( | self | ) |
Definition at line 39 of file Patch.py.
References mghype.api.matrixgenerators.blockmatrix.BlockMatrix.BlockMatrix.dim, mghype.api.matrixgenerators.blockmatrix.finiteelement.DGFacetElement.dim, mghype.api.matrixgenerators.blockmatrix.finiteelement.DGScalarElement.dim, mghype.api.matrixgenerators.blockmatrix.IntergridOperatorsH.IntergridOperatorsH.dim, mghype.api.matrixgenerators.blockmatrix.nodal_basis.NodalBasis.dim, dim, peano4.api.datamodel.DaStGen.DaStGen.generator, peano4.api.datamodel.DaStGen2.DaStGen2.generator, peano4.api.datamodel.DynamicArrayOverPrimitives.DynamicArrayOverPrimitives.generator, peano4.api.datamodel.Model.Model.generator, generator, and no_of_unknowns.
Referenced by peano4.api.toolbox.particles.postprocessing.ParticleVTUReader.VTUParticleSet.__repr__().

| peano4.api.datamodel.Patch.Patch.additional_load_and_store_arguments | ( | self | ) |
Reimplemented from peano4.api.datamodel.DoF.DoF.
Definition at line 48 of file Patch.py.
References peano4.api.datamodel.DaStGen2.DaStGen2._additional_load_and_store_arguments, and peano4.api.datamodel.DoF.DoF._additional_load_and_store_arguments.
| peano4.api.datamodel.Patch.Patch.additional_load_and_store_arguments | ( | self, | |
| new_arguments ) |
Reimplemented from peano4.api.datamodel.DoF.DoF.
Definition at line 53 of file Patch.py.
References peano4.api.datamodel.DaStGen.DaStGen.generator, peano4.api.datamodel.DaStGen2.DaStGen2.generator, peano4.api.datamodel.DynamicArrayOverPrimitives.DynamicArrayOverPrimitives.generator, peano4.api.datamodel.Model.Model.generator, and generator.
| peano4.api.datamodel.Patch.Patch.dim = dim |
| peano4.api.datamodel.Patch.Patch.generator = PatchToDoubleArray(self, float_type) |
Definition at line 34 of file Patch.py.
Referenced by __str__(), peano4.api.toolbox.particles.ParticleSet.ParticleSet.__str__(), additional_load_and_store_arguments(), peano4.api.solversteps.Steps.Steps.clear(), peano4.api.solversteps.Steps.Steps.construct_output(), and peano4.api.toolbox.particles.ParticleSet.ParticleSet.readme_descriptor().
| peano4.api.datamodel.Patch.Patch.no_of_unknowns = no_of_unknowns |
Definition at line 33 of file Patch.py.
Referenced by __str__(), and api.ReconstructPatchWithHalo.ReconstructPatchWithHalo._add_action_set_entries_to_dictionary().
| str peano4.api.datamodel.Patch.Patch.readme_descriptor |
|
static |