Peano
Loading...
Searching...
No Matches
exahype2.api.RefineErasePointwisely.RefineErasePointwisely.Generator Class Reference

RefineErasePointwisely-specific code generation. More...

Inheritance diagram for exahype2.api.RefineErasePointwisely.RefineErasePointwisely.Generator:
Collaboration diagram for exahype2.api.RefineErasePointwisely.RefineErasePointwisely.Generator:

Additional Inherited Members

- Public Member Functions inherited from exahype2.api.PDETerm.PDETerm.Generator
 __init__ (self, "PDETerm" term)
 
str signature (self)
 The term's C++ parameter list.
 
str generate_declaration (self)
 Declaration text for the abstract solver header: the static, GPU-offloadable overload if this term is stateless, otherwise the virtual instance method - never both from one term.
 
str generate_definition (self)
 Body of the generated method: the term's implementation verbatim.
 
str generate_out_of_class_definitions (self, str qualified_class_name)
 Out-of-class method body for the solver's .cpp file: the static, GPU-offloadable overload if this term is stateless, otherwise the virtual instance method - mirrors generate_declaration(), never both from one term.
 
str generate_stub_declaration (self)
 Override declaration for the concrete solver class that the Python API generates when the user hasn't provided their own implementation of this term - the empty string if the term isn't left abstract (term.implementation is not None; a stateless term's method is static and thus never overridable in the first place, but that combination cannot occur anyway,.
 
str generate_stub_definition (self, str qualified_class_name)
 Out-of-class body for generate_stub_declaration(): a trace-in (with x, and normal too if the term's signature has one), a logWarning noting the method is unimplemented, a "// @todo implement" comment, and logTraceOut - or the empty string under the same condition as generate_stub_declaration().
 
- Data Fields inherited from exahype2.api.PDETerm.PDETerm.Generator
 term
 
- Protected Member Functions inherited from exahype2.api.PDETerm.PDETerm.Generator
str _generate_static_offloadable_declaration (self)
 static GPU-offloadable declaration, or the empty string if the term isn't stateless.
 

Detailed Description

RefineErasePointwisely-specific code generation.

Reuses PDETerm.Generator as-is: RefineErasePointwisely.SIGNATURE is picked up automatically. Declared explicitly for the same reason as Flux.Generator, i.e. as the place for term-specific generation behaviour later on.

Definition at line 69 of file RefineErasePointwisely.py.


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