|
Peano
|
Simple solver which maps the DG steps onto separate mesh traversals. More...


Public Member Functions | |
| __init__ (self, name, dimensions, poly_degree, unknowns_per_cell_node, solutions_per_face_node, projections_per_face_node, min_h, max_h, assembly_matrix, assembly_matrix_scaling, mass_matrix, mass_matrix_scaling, face_from_cell_projection, face_from_cell_projection_scaling, cell_from_face_projection, cell_from_face_projection_scaling, riemann_matrix, boundary_matrix, cell_relaxation, face_relaxation, approximate_system_matrix, approximate_system_matrix_scaling, integration_points, solver_tolerance, custom_init_actionset=None, custom_plot_actionset=None, custom_init_cell="", enable_plotting=True, plot_predicate="true", solver_includes="", use_smart_pointer=True) | |
| Public Member Functions inherited from solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver | |
| __init__ (self, name, dimensions, poly_degree, unknowns_per_cell_node, solutions_per_face_node, projections_per_face_node, min_h, max_h, assembly_matrix, assembly_matrix_scaling, mass_matrix, mass_matrix_scaling, face_from_cell_projection, face_from_cell_projection_scaling, cell_from_face_projection, cell_from_face_projection_scaling, riemann_matrix, boundary_matrix, cell_relaxation, face_relaxation, approximate_system_matrix, approximate_system_matrix_scaling, integration_points, solver_tolerance, custom_init_actionset=None, custom_plot_actionset=None, custom_init_cell="", enable_plotting=True, plot_predicate="true", solver_includes="", use_smart_pointer=True, track_solution_between_cycles=False) | |
| Construct the solver. | |
| Public Member Functions inherited from solvers.api.Solver.Solver | |
| __init__ (self, name, min_h, max_h) | |
| add_to_Peano4_datamodel (self, datamodel, verbose) | |
| add_use_statements (self, observer) | |
| This routine should still be called even if overwritten in child class. | |
| typename (self) | |
| instance_name (self) | |
| Return the name of the object that will be created for this solver. | |
| create_readme_descriptor (self) | |
| add_to_abstract_solver (self, header, implementation) | |
| add_to_vertex_data (self, name, size) | |
| Add in extra attributes on the fly. | |
| add_to_cell_data (self, name, size) | |
| Add in extra attributes on the fly. | |
| add_to_face_data (self, name, size) | |
| Add in extra attributes on the fly. | |
| name (self) | |
| __str__ (self) | |
Additional Inherited Members | |
| Data Fields inherited from solvers.api.Solver.Solver | |
| min_h = min_h | |
| max_h = max_h | |
| Protected Attributes inherited from solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver | |
| _dimensions = dimensions | |
| _poly_degree = poly_degree | |
| _unknowns_per_cell_node = unknowns_per_cell_node | |
| _solutions_per_face_node = solutions_per_face_node | |
| _projections_per_face_node = projections_per_face_node | |
| _assembly_matrix = assembly_matrix | |
| _assembly_matrix_scaling = assembly_matrix_scaling | |
| _mass_matrix = mass_matrix | |
| _mass_matrix_scaling = mass_matrix_scaling | |
| _face_from_cell_projection = face_from_cell_projection | |
| _face_from_cell_projection_scaling = face_from_cell_projection_scaling | |
| _cell_from_face_projection = cell_from_face_projection | |
| _cell_from_face_projection_scaling = cell_from_face_projection_scaling | |
| _riemann_matrix = riemann_matrix | |
| _boundary_matrix = boundary_matrix | |
| _approximate_system_matrix = approximate_system_matrix | |
| _approximate_system_matrix_scaling = approximate_system_matrix_scaling | |
| _cell_relaxation = cell_relaxation | |
| _face_relaxation = face_relaxation | |
| _solver_tolerance = solver_tolerance | |
| _solver_includes = solver_includes | |
| _custom_init_actionset = custom_init_actionset | |
| _custom_plot_actionset = custom_plot_actionset | |
| _custom_init_cell = custom_init_cell | |
| _enable_plotting = enable_plotting | |
| _plot_predicate = plot_predicate | |
| _integration_points = integration_points | |
| _track_solution_between_cycles = track_solution_between_cycles | |
| _unknowns_per_cell = unknowns_per_cell_node * ( poly_degree + 1) ** dimensions | |
| tuple | _unknowns_per_face_solution = ( solutions_per_face_node) * ( poly_degree + 1) ** (dimensions-1) |
| tuple | _unknowns_per_face_projection = (2 * projections_per_face_node) * ( poly_degree + 1) ** (dimensions-1) |
| _use_smart_pointer = use_smart_pointer | |
| Protected Attributes inherited from solvers.api.Solver.Solver | |
| _name = name | |
| _vertex_data = peano4.api.datamodel.DaStGen2( name ) | |
| _face_data = peano4.api.datamodel.DaStGen2( name ) | |
| _cell_data = peano4.api.datamodel.DaStGen2( name ) | |
| str | _abstract_solver_header_extras = """ """ |
| str | _abstract_solver_implementation_extras = """ """ |
Simple solver which maps the DG steps onto separate mesh traversals.
This Python class is a mere wrapper without any funtionality. The interesting stuff happens in the template file that is used for this variant, i.e. DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver_Unshifted.Abstract.template.h and DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver_Unshifted.Abstract.template.cpp. These files introduce a marker toggling mechnanism, where a marker always runs through the three steps
and hence ensures that we actually traverse the mesh three times before we actually have a new solution.
Definition at line 21 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver_Unshifted.py.
| solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver_Unshifted.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver_Unshifted.__init__ | ( | self, | |
| name, | |||
| dimensions, | |||
| poly_degree, | |||
| unknowns_per_cell_node, | |||
| solutions_per_face_node, | |||
| projections_per_face_node, | |||
| min_h, | |||
| max_h, | |||
| assembly_matrix, | |||
| assembly_matrix_scaling, | |||
| mass_matrix, | |||
| mass_matrix_scaling, | |||
| face_from_cell_projection, | |||
| face_from_cell_projection_scaling, | |||
| cell_from_face_projection, | |||
| cell_from_face_projection_scaling, | |||
| riemann_matrix, | |||
| boundary_matrix, | |||
| cell_relaxation, | |||
| face_relaxation, | |||
| approximate_system_matrix, | |||
| approximate_system_matrix_scaling, | |||
| integration_points, | |||
| solver_tolerance, | |||
| custom_init_actionset = None, | |||
| custom_plot_actionset = None, | |||
| custom_init_cell = "", | |||
| enable_plotting = True, | |||
| plot_predicate = "true", | |||
| solver_includes = "", | |||
| use_smart_pointer = True ) |
Definition at line 42 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver_Unshifted.py.
References __init__().
Referenced by __init__().

