YetAnotherCoupler 3.5.2
Loading...
Searching...
No Matches
yac.Field Class Reference

Store the field_id. More...

Collaboration diagram for yac.Field:
Collaboration graph

Public Member Functions

 __init__ (self, field_id, size=None)
 
 create (cls, str field_name, Component comp, points, collection_size, str timestep, TimeUnit timeunit, masks=None)
 
 test (self)
 
 wait (self)
 
 wait_coro (self)
 Coroutine.
 
 get (self, buf=None, asyn=False)
 
 get_coro (self, buf=None)
 Coroutine.
 
 put (self, buf, frac_mask=None)
 
 put_coro (self, buf, frac_mask=None)
 Coroutine.
 
 update (self)
 
 exchange (cls, send_field, recv_field, send_buf, recv_buf=None, send_frac_mask=None)
 
 name (self)
 
 grid_name (self)
 
 component_name (self)
 
 role (self)
 
 timestep (self)
 
 collection_size (self)
 
 size (self)
 The size of the corresponding points object.
 
 datetime (self)
 
 action (self)
 

Data Fields

 field_id
 
 collection_size
 
 size
 

Protected Attributes

 _size
 

Detailed Description

Store the field_id.

Definition at line 1338 of file yac.pyx.

Constructor & Destructor Documentation

◆ __init__()

yac.Field.__init__ ( self,
field_id,
size = None )

Definition at line 1342 of file yac.pyx.

Member Function Documentation

◆ action()

yac.Field.action ( self)
See also
yac_cget_action

Definition at line 1590 of file yac.pyx.

Here is the call graph for this function:

◆ collection_size()

yac.Field.collection_size ( self)
See also
yac_cget_collection_size_from_field_id

Definition at line 1569 of file yac.pyx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ component_name()

yac.Field.component_name ( self)
See also
yac_cget_component_name_from_field_id

Definition at line 1548 of file yac.pyx.

◆ create()

yac.Field.create ( cls,
str field_name,
Component comp,
points,
collection_size,
str timestep,
TimeUnit timeunit,
masks = None )
See also
yac_cdef_field

Definition at line 1347 of file yac.pyx.

Here is the call graph for this function:

◆ datetime()

yac.Field.datetime ( self)
See also
yac_cget_field_datetime

Definition at line 1583 of file yac.pyx.

Here is the call graph for this function:

◆ exchange()

yac.Field.exchange ( cls,
send_field,
recv_field,
send_buf,
recv_buf = None,
send_frac_mask = None )
See also
yac_cexchange_frac_

Definition at line 1494 of file yac.pyx.

Here is the call graph for this function:

◆ get()

yac.Field.get ( self,
buf = None,
asyn = False )
See also
yac_cget_
Parameters
[out]bufreceive buffer, if None a numpy array of correct size is allocated
[in]asynif True the call returns immidiatly and must be completed with test or wait

Definition at line 1406 of file yac.pyx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_coro()

yac.Field.get_coro ( self,
buf = None )

Coroutine.

Executes a get operation.

See also
yac_cget_async_
Parameters
[out]bufreceive buffer, if None a numpy array of correct size is allocated

Definition at line 1437 of file yac.pyx.

Here is the call graph for this function:

◆ grid_name()

yac.Field.grid_name ( self)
See also
yac_cget_grid_name_from_field_id

Definition at line 1541 of file yac.pyx.

◆ name()

yac.Field.name ( self)
See also
yac_cget_field_name_from_field_id

Definition at line 1534 of file yac.pyx.

◆ put()

yac.Field.put ( self,
buf,
frac_mask = None )
See also
yac_cput_

Definition at line 1450 of file yac.pyx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ put_coro()

yac.Field.put_coro ( self,
buf,
frac_mask = None )

Coroutine.

Executes a put operation.

See also
yac_cput_

Definition at line 1476 of file yac.pyx.

Here is the call graph for this function:

◆ role()

yac.Field.role ( self)
See also
yac_cget_role_from_field_id

Definition at line 1555 of file yac.pyx.

◆ size()

yac.Field.size ( self)

The size of the corresponding points object.

Definition at line 1576 of file yac.pyx.

Here is the caller graph for this function:

◆ test()

yac.Field.test ( self)
See also
yac_ctest

Definition at line 1376 of file yac.pyx.

Here is the caller graph for this function:

◆ timestep()

yac.Field.timestep ( self)
See also
yac_cget_timestep_from_field_id

Definition at line 1562 of file yac.pyx.

Here is the caller graph for this function:

◆ update()

yac.Field.update ( self)
See also
yac_cupdate

Definition at line 1485 of file yac.pyx.

Here is the call graph for this function:

◆ wait()

yac.Field.wait ( self)
See also
yac_cwait

Definition at line 1387 of file yac.pyx.

◆ wait_coro()

yac.Field.wait_coro ( self)

Coroutine.

Blocks until the communication is completed.

Definition at line 1398 of file yac.pyx.

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ _size

yac.Field._size
protected

Definition at line 1344 of file yac.pyx.

◆ collection_size

yac.Field.collection_size

Definition at line 1462 of file yac.pyx.

◆ field_id

yac.Field.field_id

Definition at line 1343 of file yac.pyx.

◆ size

yac.Field.size

Definition at line 1462 of file yac.pyx.


The documentation for this class was generated from the following file: