Peano
Loading...
Searching...
No Matches
solvers.elliptic.AMRMarker Namespace Reference

Data Structures

class  AMRMarker
 A very simple Poisson equation system solver to identify AMR transitions. More...
 

Functions

 add_actions_to_init_grid (self, step)
 include "tarch/la/Vector.h"
 
 add_actions_to_create_grid (self, step, evaluate_refinement_criterion)
 It is important to plug into the creation, as this is the place where we get the creational events.
 
 add_actions_to_plot_solution (self, step, output_path)
 We plot if and only if we are asked to do so.
 
 add_actions_to_perform_time_step (self, step)
 AMR.
 
 add_entries_to_text_replacement_dictionary (self, d)
 
 add_implementation_files_to_project (self, namespace, output, dimensions, subdirectory="")
 The ExaHyPE2 project will call this operation when it sets up the overall environment.
 
 name (self)
 """ d["RIGHT_HAND_SIDE"] = self._right_hand_side d["RELAXATION_COEFFICIENT"] = self._relaxation_coefficient if self._flag_domain_boundary: d["BOUNDARY_VALUE"] = 1.0 else: d["BOUNDARY_VALUE"] = 0.0
 

Variables

 _action_set_smoother
 Add it.
 
 _name
 

Function Documentation

◆ add_actions_to_create_grid()

solvers.elliptic.AMRMarker.add_actions_to_create_grid (   self,
  step,
  evaluate_refinement_criterion 
)

It is important to plug into the creation, as this is the place where we get the creational events.

Definition at line 334 of file AMRMarker.py.

◆ add_actions_to_init_grid()

solvers.elliptic.AMRMarker.add_actions_to_init_grid (   self,
  step 
)

include "tarch/la/Vector.h"

include "peano4/utils/Globals.h" include "peano4/utils/Loop.h"

include "repositories/SolverRepository.h"

include "Constants.h" """

Definition at line 325 of file AMRMarker.py.

◆ add_actions_to_perform_time_step()

solvers.elliptic.AMRMarker.add_actions_to_perform_time_step (   self,
  step 
)

AMR.

It is important that we do the inter-grid transfer operators before we apply the boundary conditions.

Definition at line 366 of file AMRMarker.py.

◆ add_actions_to_plot_solution()

solvers.elliptic.AMRMarker.add_actions_to_plot_solution (   self,
  step,
  output_path 
)

We plot if and only if we are asked to do so.

Definition at line 344 of file AMRMarker.py.

◆ add_entries_to_text_replacement_dictionary()

solvers.elliptic.AMRMarker.add_entries_to_text_replacement_dictionary (   self,
  d 
)

Definition at line 379 of file AMRMarker.py.

◆ add_implementation_files_to_project()

solvers.elliptic.AMRMarker.add_implementation_files_to_project (   self,
  namespace,
  output,
  dimensions,
  subdirectory = "" 
)

The ExaHyPE2 project will call this operation when it sets up the overall environment.

This routine is typically not invoked by a user.

output: peano4.api.output.Output

Definition at line 383 of file AMRMarker.py.

◆ name()

solvers.elliptic.AMRMarker.name (   self)

""" d["RIGHT_HAND_SIDE"] = self._right_hand_side d["RELAXATION_COEFFICIENT"] = self._relaxation_coefficient if self._flag_domain_boundary: d["BOUNDARY_VALUE"] = 1.0 else: d["BOUNDARY_VALUE"] = 0.0

d["SOLVER_INSTANCE"] = self.get_name_of_global_instance() d["SOLVER_NAME"] = self._name

Definition at line 444 of file AMRMarker.py.

Variable Documentation

◆ _action_set_smoother

solvers.elliptic.AMRMarker._action_set_smoother
protected

Add it.

I can't harm to do one more iteration, and we at least get the hanging nodes right this way

Definition at line 330 of file AMRMarker.py.

◆ _name

solvers.elliptic.AMRMarker._name
protected

Definition at line 409 of file AMRMarker.py.