:py:mod:`opendrift.elements.passivetracer` ========================================== .. py:module:: opendrift.elements.passivetracer Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: opendrift.elements.passivetracer.PassiveTracer .. py:class:: PassiveTracer(**kwargs) Bases: :py:obj:`opendrift.elements.LagrangianArray` Basic implementation of LagrangianArray with no additional properties. Contains only the properties of the abstract class LagrangianArray, i.e. position (lon, lat, z) and ID. May be used for passive tracer calculations when no properties are needed. Initialises a LagrangianArray with given properties. Args: Keyword arguments (kwargs) with names corresponding to the OrderedDict 'variables' of the class, and corresponding values. The values must be ndarrays of equal length, or scalars. All (or none) variables must be given, unless a default value is specified in the OrderedDict 'variables' An empty object may be created by giving no input.