Hybrid, parameterized, trajectory class. Mimics API of a non-hybrid
Trajectory.
vals must be a sequence of trajectory segments. coords is optional
(restricts variables to store).
|
__call__(self,
t,
coords=None,
checklevel=None,
asGlobalTime=False,
asmap=False)
Evaluate a parameterized hybrid trajectory at given independent
variable value(s), interpreted as global times if optional
asGlobalTime==True (default is False). |
source code
|
|
|
__init__(self,
name,
vals,
coordnames=None,
modelNames=None,
timeInterval=None,
modelEventStructs=None,
eventTimes=None,
events=None,
FScompatibleNames=None,
FScompatibleNamesInv=None,
abseps=None,
globalt0=0,
checklevel=0,
norm=2,
timePartitions=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
sample(self,
coords=None,
dt=None,
tlo=None,
thi=None,
doEvents=True,
precise=False,
asGlobalTime=True)
Uniformly sample the trajectory over range indicated,
including any event points specified by optional 'doEvents'
argument (default True). |
source code
|
|
|
|
|
underlyingMesh(self,
coords=None,
FScompat=True)
Return a dictionary of the underlying independent variables` meshes,
where they exist. |
source code
|
|
Inherited from Trajectory :
__copy__ ,
__deepcopy__ ,
__del__ ,
__getstate__ ,
__repr__ ,
__setstate__ ,
__str__ ,
delete_variables ,
getEventTimes ,
getEvents ,
mapNames ,
truncate_to_idx ,
truncate_to_indepvar
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__
|