Package com.comsol.model
Interface Event
-
- All Superinterfaces:
ModelEntity
,PrimitiveModelEntity
public interface Event extends ModelEntity
Solver event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
condition()
Returns the condition for triggering an implicit event.Event
condition(java.lang.String expr)
Sets the condition for triggering an implicit event.java.lang.String
period()
Returns the period for triggering an explicit event.Event
period(java.lang.String expr)
Sets the period for triggering an explicit event.InitList
reinit()
Returns the list of re-initialization conditions.Init
reinit(java.lang.String tag)
Returns a re-initialization feature.java.lang.String
start()
Returns the start time for triggering an explicit event.Event
start(java.lang.String expr)
Sets the start time for triggering an explicit event.-
Methods inherited from interface com.comsol.model.ModelEntity
active, author, author, comments, comments, dateCreated, dateModified, docMarker, docMarker, help, help, icon, isactive, isActive, label, label, lastModifiedBy, model, model, name, name, resetAuthor, scope, tag, tag, timeCreated, timeModified, version, version
-
Methods inherited from interface com.comsol.model.PrimitiveModelEntity
getContainer, getDisplayString, resolveModelPath
-
-
-
-
Method Detail
-
condition
java.lang.String condition()
Returns the condition for triggering an implicit event.- Returns:
- A string expression.
-
condition
Event condition(java.lang.String expr)
Sets the condition for triggering an implicit event. The event is triggered when the condition becomes true.- Parameters:
expr
- A string expression.- Returns:
- Event.
-
period
java.lang.String period()
Returns the period for triggering an explicit event.- Returns:
- A string expression.
-
period
Event period(java.lang.String expr)
Sets the period for triggering an explicit event.- Parameters:
expr
- A string expression.- Returns:
- A string expression.
-
reinit
InitList reinit()
Returns the list of re-initialization conditions.- Returns:
- List of
Init
features.
-
reinit
Init reinit(java.lang.String tag)
Returns a re-initialization feature.- Parameters:
tag
- Re-initialization feature tag.- Returns:
Init
feature.
-
start
java.lang.String start()
Returns the start time for triggering an explicit event.- Returns:
- A string expression.
-
start
Event start(java.lang.String expr)
Sets the start time for triggering an explicit event.- Parameters:
expr
- A string expression.- Returns:
- Event.
-
-