Giter Site home page Giter Site logo

MG: cleanup about dealii HOT 4 OPEN

peterrum avatar peterrum commented on June 22, 2024
MG: cleanup

from dealii.

Comments (4)

peterrum avatar peterrum commented on June 22, 2024

matrix_free/MGTransferMatrixFree*:

  • interpolate_to_mg -> TODO: print_indices, update_ghost_values(), partitioner, zero out vector once
  • multigrid_dg_periodic
  • multigrid_dg_sip_01
  • multigrid_dg_sip_02
  • parallel_multigrid
  • parallel_multigrid_02 -> TODO: partitioner
  • parallel_multigrid_adaptive_01
  • parallel_multigrid_adaptive_02
  • parallel_multigrid_adaptive_03
  • parallel_multigrid_adaptive_04
  • parallel_multigrid_adaptive_05
  • parallel_multigrid_adaptive_06 -> MGTransferBlockMatrixFree
  • parallel_multigrid_adaptive_06ref
  • parallel_multigrid_adaptive_07 -> MGTransferBlockMatrixFree
  • parallel_multigrid_adaptive_08
  • parallel_multigrid_fullydistributed
  • parallel_multigrid_interleave
  • parallel_multigrid_interleave_renumber
  • parallel_multigrid_mf
  • parallel_multigrid_mf_02
  • step-37-inhomogeneous-1 -> TODO: partitioner
  • stokes_computation -> TODO: partitioner

multigrid/MGTransferMatrixFree*:

  • interpolate_to_mg_01
  • mg_data_out_04
  • mg_data_out_05
  • transfer_05 -> MGTransferBlockMatrixFree
  • transfer_06 -> MGTransferBlockMatrixFree
  • transfer_matrix_free_01
  • transfer_matrix_free_02
  • transfer_matrix_free_02_block
  • transfer_matrix_free_02_block_02
  • transfer_matrix_free_03
  • transfer_matrix_free_04
  • transfer_matrix_free_05
  • transfer_matrix_free_06
  • transfer_matrix_free_07
  • transfer_matrix_free_08
  • transfer_matrix_free_09 -> TODO: clear()
  • transfer_matrix_free_10 -> TODO: partitioner
  • transfer_matrix_free_11
  • transfer_matrix_free_12
  • transfer_matrix_free_13 -> TODO: user constraints
  • transfer_matrix_free_14
  • transfer_prebuilt_04

from dealii.

peterrum avatar peterrum commented on June 22, 2024

All tests are passing with 26dcf9e.

from dealii.

peterrum avatar peterrum commented on June 22, 2024

Relevant setup routines of MGTransferMatrixFree:

https://github.com/dealii/dealii/blob/63aa61e4611681ec3f91e31f87eeb7924689c24c/source/multigrid/mg_transfer_matrix_free.cc#L97-L199

https://github.com/dealii/dealii/blob/63aa61e4611681ec3f91e31f87eeb7924689c24c/source/multigrid/mg_level_global_transfer.cc#L278-L381

https://github.com/dealii/dealii/blob/63aa61e4611681ec3f91e31f87eeb7924689c24c/source/multigrid/mg_level_global_transfer.cc#L160-L275

https://github.com/dealii/dealii/blob/63aa61e4611681ec3f91e31f87eeb7924689c24c/source/multigrid/mg_transfer_internal.cc#L616-L971

from dealii.

peterrum avatar peterrum commented on June 22, 2024

Ideas:

  1. Calling fill_and_communicate_copy_indices() seems to be a waste of time for globally-refined meshes (without DoF renumbering):

https://github.com/dealii/dealii/blob/087064a4bd941e86fee1c8550f2a8db7c55d04ad/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h#L4334-L4335C11

https://github.com/dealii/dealii/blob/087064a4bd941e86fee1c8550f2a8db7c55d04ad/source/multigrid/mg_transfer_matrix_free.cc#L124

  1. does weights need incorporate constraints (LS does not!?)

https://github.com/dealii/dealii/blob/087064a4bd941e86fee1c8550f2a8db7c55d04ad/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h#L2238-L2286

  1. reduce number of loop over cells and their indices

https://github.com/dealii/dealii/blob/087064a4bd941e86fee1c8550f2a8db7c55d04ad/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h#L1782-L1795

https://github.com/dealii/dealii/blob/087064a4bd941e86fee1c8550f2a8db7c55d04ad/include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h#L2043-L2123

by merging them.

from dealii.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.