firedrake_mesh#

class IMEX_firedrake_mesh(init, val=0.0)[source]#

Bases: MultiComponentContainer

Datatype for IMEX integration with firedrake data.

Variables:
component_type#

alias of firedrake_mesh

components = ['impl', 'expl']#
class firedrake_mesh(init, val=0.0)[source]#

Bases: object

Wrapper for firedrake function data.

Variables:

functionspace (firedrake.Function) – firedrake data

property asnumpy[source]#

Get a numpy array of the values associated with this data

bcast(root=None, comm=None)[source]#

Routine for broadcasting values

Parameters:
  • root (int) – process with value to broadcast

  • comm – communicator

Returns:

broadcasted values

irecv(source=None, tag=None, comm=None)[source]#

Routine for receiving in time

Parameters:
  • source (int) – source rank

  • tag (int) – communication tag

  • comm – communicator

Returns:

None

isend(dest=None, tag=None, comm=None)[source]#

Routine for sending data forward in time (non-blocking)

Parameters:
  • dest (int) – target rank

  • tag (int) – communication tag

  • comm – communicator

Returns:

request handle