2 This file is part of the MGHyPE project within Peano 4. For conditions of distribution and
3 use, please see the copyright notice at www.peano-framework.org
7from abc
import abstractmethod
12 Abstract base class for matrix free solvers.
14 ## Data associated with mesh entities
16 We always assign data to vertices, cells and faces, even though your
17 particular solver subclass might not require those guys.
50 This routine should still be called even if overwritten
64Return the name of the object that will be created for this solver.
67 return "instanceOf" + self.
typename()
71 return "not written yet"
79 Add in extra attributes on the fly
85 Add in extra attributes on the fly
91 Add in extra attributes on the fly
Wrapper around C++ enumerations which is not a datatype supported natively by MPI.
Specialisation of array using Peano's tarch.
Default superclass for any data model in Peano which is stored within the grid.
Abstract base class for matrix free solvers.
add_to_Peano4_datamodel(self, datamodel, verbose)
add_to_vertex_data(self, name, size)
Add in extra attributes on the fly.
add_to_abstract_solver(self, header, implementation)
_abstract_solver_header_extras
_abstract_solver_implementation_extras
add_to_cell_data(self, name, size)
Add in extra attributes on the fly.
create_readme_descriptor(self)
instance_name(self)
Return the name of the object that will be created for this solver.
add_use_statements(self, observer)
This routine should still be called even if overwritten in child class.
__init__(self, name, min_h, max_h)
add_to_face_data(self, name, size)
Add in extra attributes on the fly.