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.Stringcondition()Returns the condition for triggering an implicit event.Eventcondition(java.lang.String expr)Sets the condition for triggering an implicit event.java.lang.Stringperiod()Returns the period for triggering an explicit event.Eventperiod(java.lang.String expr)Sets the period for triggering an explicit event.InitListreinit()Returns the list of re-initialization conditions.Initreinit(java.lang.String tag)Returns a re-initialization feature.java.lang.Stringstart()Returns the start time for triggering an explicit event.Eventstart(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
Initfeatures.
-
reinit
Init reinit(java.lang.String tag)
Returns a re-initialization feature.- Parameters:
tag- Re-initialization feature tag.- Returns:
Initfeature.
-
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.
-
-