Interface ComponentPhysicsList

    • Method Detail

      • create

        Physics create​(java.lang.String tag,
                       java.lang.String physIntID,
                       java.lang.String[] defaultFieldNames)
        Creates physics interface on a geometry.
        Parameters:
        tag - Physics interface tag.
        physIntID - Physics interface identifier.
        defaultFieldNames - Field variable names. Only physics interfaces supporting a varying number of field variables considers this argument.
        Returns:
        Created physics interface.
      • create

        Physics create​(java.lang.String tag,
                       java.lang.String physIntID,
                       java.lang.String[][] defaultFieldNames)
        Creates physics interface on a geometry.
        Parameters:
        tag - Physics interface tag.
        physIntID - Physics interface identifier.
        defaultFieldNames - Field variable names. Only physics interfaces supporting a varying number of field variables considers this argument.
        Returns:
        Created physics interface.
      • insert

        java.lang.String[][] insert​(java.lang.String filename,
                                    java.lang.String[] physics,
                                    java.lang.String... password)
        Insert physics from an mph file into the physics list of this component and returns the result of the operation as a double string array of length 3.
        The first array contains the messages from insert, the second array contains paths to the inserted objects, and the third array contains paths to the inserted references. A pasted reference is an object that a inserted object refers to, and isn't necessarily contained by any of the inserted objects.
        Parameters:
        filename - The file name.
        physics - The tags of the physics to insert.
        password - Optional password for opening the file.
        Returns:
        Results from the insert operation.