Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into firedrake
Browse files Browse the repository at this point in the history
  • Loading branch information
brownbaerchen committed Jan 24, 2025
2 parents 8c3939a + 352deda commit a165ed7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 deletions.
14 changes: 1 addition & 13 deletions pySDC/implementations/transfer_classes/TransferMesh_NoCoarse.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class mesh_to_mesh(SpaceTransfer):
"""
Custon base_transfer class, implements Transfer.py
Custom base_transfer class, implements Transfer.py
This implementation can restrict and prolong between nd meshes with dirichlet-0 or periodic boundaries
via matrix-vector products
Expand All @@ -15,18 +15,6 @@ class mesh_to_mesh(SpaceTransfer):
Pspace: spatial prolongation matrix, dim. Nc x Nf
"""

def __init__(self, fine_prob, coarse_prob, params):
"""
Initialization routine
Args:
fine_prob: fine problem
coarse_prob: coarse problem
params: parameters for the transfer operators
"""
# invoke super initialization
super(mesh_to_mesh, self).__init__(fine_prob, coarse_prob, params)

def restrict(self, F):
"""
Restriction implementation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,12 @@

class particles_to_particles(SpaceTransfer):
"""
Custon transfer class, implements SpaceTransfer.py
Custom transfer class, implements SpaceTransfer.py
This implementation is just a dummy for particles with no direct functionality, i.e. the number of particles is not
reduced on the coarse problem
"""

def __init__(self, fine_prob, coarse_prob, params):
"""
Initialization routine
Args:
fine_prob: fine problem
coarse_prob: coarse problem
params: parameters for the transfer operators
"""
super(particles_to_particles, self).__init__(fine_prob, coarse_prob, params)
pass

def restrict(self, F):
"""
Dummy restriction routine
Expand Down

0 comments on commit a165ed7

Please sign in to comment.