Interface MeshFeature

    • Method Detail

      • buildComsolVersion

        java.lang.String buildComsolVersion()
        Returns the COMSOL version number (and architecture) used for the last build of the feature.
        Returns:
        Empty string if not built, otherwise a string of the type "COMSOL 6.0.0.95 (win64)".
      • buildDate

        java.lang.String buildDate()
        Returns the date and time of the last build of the feature.
        Returns:
        Empty string if not built, otherwise a string of the type "2021-02-16T15:08:02.731" (given by LocalDateTime.now()).
      • buildInfo

        java.lang.String[] buildInfo()
        Returns feature specific information from the build of the feature.
        Returns:
        Strings with feature specific information from the build of the feature.
      • buildOutput

        java.lang.String[][] buildOutput()
        Returns feature specific output data from the build of the feature.
        Returns:
        N-by-2 matrix with feature specific output data from the build of the feature.
      • buildTime

        int buildTime()
        Returns the time it took to build the feature.
        Returns:
        -1 if not built, otherwise the number of seconds it took to build the feature.
      • create

        MeshFeature create​(java.lang.String tag,
                           java.lang.String oper)
        Creates a mesh feature.
        Parameters:
        tag - Mesh feature tag.
        oper - Mesh feature type.
        Returns:
        Created mesh feature.
      • expand

        void expand()
        Expands a reference feature.
      • feature

        MeshFeatureList feature()
        Returns all mesh features.
        Returns:
        List of mesh features.
      • feature

        MeshFeature feature​(java.lang.String tag)
        Returns a mesh feature.
        Parameters:
        tag - Mesh feature tag.
        Returns:
        Mesh feature.
      • importData

        void importData()
        Update the output mesh to account for the following external changes:
        1. Import a mesh from a file or another sequence.
        Specified by:
        importData in interface GeomMeshFeature
      • outputSelection

        java.lang.String[] outputSelection()
        Returns tags of selection output objects.
        Returns:
        Tags of created selections.
      • problem

        MeshProblemFeatureList problem()
        Returns all meshing problems.
        Returns:
        Meshing problem feature list.
      • problem

        MeshProblemFeature problem​(java.lang.String tag)
        Returns meshing problem.
        Parameters:
        tag - Meshing problem tag.
        Returns:
        Meshing problem feature.
      • selection

        LocalSelection selection​(java.lang.String name)
        Returns a mesh feature's selection property.
        Specified by:
        selection in interface PropFeature
        Parameters:
        name - The selection property name.
        Returns:
        Selection.