|
Peano
|
This test checks that A_CG indeed approximates the continuum operator: check A_DG * u_exact == M * b_exact, where u_exact and b_exact are the dof-vectors of the functions u_exact(x) and b_exact(x) which satisfy the PDE in the continuum. More...
Data Structures | |
| class | InitDofsTest8 |
| In touchVertexFirstTime, we set the type of vertex we see (either Interior, Boundary or Coarse), as well as sending some values to the solver implementation file to be placed into the mesh. More... | |
Variables | |
| parser = argparse.ArgumentParser(description='Multigrid - Poisson solver') | |
| dest | |
| type | |
| int | |
| default | |
| help | |
| action | |
| False | |
| choices | |
| required | |
| True | |
| args = parser.parse_args() | |
| project | |
| poisson_equation_matrices | |
| system_matrix | |
| system_matrix_scaling | |
| mass_matrix | |
| maxx_matrix_scaling | |
| str | custom_boundary_conditions |
| solver | |
| build_mode = peano4.api.output.CompileMode.RELEASE | |
| float | cube_size = 1.0 |
| dimensions | |
| offset | |
| domain_size | |
| plot_after_each_mesh_sweep | |
| max_iterations | |
| peano4_project = project.generate_Peano4_project(args.verbose) | |
This test checks that A_CG indeed approximates the continuum operator: check A_DG * u_exact == M * b_exact, where u_exact and b_exact are the dof-vectors of the functions u_exact(x) and b_exact(x) which satisfy the PDE in the continuum.
We use u_exact(x,y) = sin(2*pi*x) * sin(2*pi*y), b_exact(x,y) = 8*pi^2 * sin(2*pi*x) * sin(2*pi*y)
| str test8.custom_boundary_conditions |
| test8.parser = argparse.ArgumentParser(description='Multigrid - Poisson solver') |
| test8.peano4_project = project.generate_Peano4_project(args.verbose) |
| test8.poisson_equation_matrices |
| test8.project |
| test8.solver |