• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

haiiliin / abqpy / 10592615446

28 Aug 2024 08:00AM UTC coverage: 74.263% (+0.2%) from 74.078%
10592615446

push

github

haiiliin
Add future annotations imports to all files

354 of 393 new or added lines in 393 files covered. (90.08%)

37 existing lines in 37 files now uncovered.

25282 of 34044 relevant lines covered (74.26%)

0.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/abaqus/TableCollection/ElementProgressiveActivation.py
NEW
1
from __future__ import annotations
×
2

UNCOV
3
from typing_extensions import Literal
×
4

5
from abqpy.decorators import abaqus_class_doc, abaqus_method_doc
×
6

7
from ..Region.Region import Region
×
8
from ..UtilityAndView.abaqusConstants import NONE, OFF, Boolean, SymbolicConstant
×
9
from ..UtilityAndView.abaqusConstants import abaqusConstants as C
×
10

11

12
@abaqus_class_doc
×
13
class ElementProgressiveActivation:
×
14
    """The ElementProgressiveActivation object is used to specify elements that can be activated during an
15
    analysis.
16

17
    .. note::
18
        This object can be accessed by::
19

20
            mdb.models[name].rootAssembly.elementProgressiveActivations[name]
21

22
        The corresponding analysis keywords are:
23

24
        - ELEMENT PROGRESSIVE ACTIVATION
25

26
    .. versionadded:: 2020
27
        The ``ElementProgressiveActivation`` class was added.
28
    """
29

30
    #: A String specifying the key of the repository.
31
    name: str
×
32

33
    #: A Region object specifying the region containing the elements that will be activated
34
    #: during the analysis.
35
    elset: Region
×
36

37
    #: A Boolean value specifying whether the elements that have not yet been activated will
38
    #: follow the deformations of the active elements. Set **deformation** = ON when the
39
    #: deformation of the active elements is excessive. The default value is OFF.
40
    deformation: Boolean = OFF
×
41

42
    #: A SymbolicConstant specifying the exposed areas of the element facets that are active
43
    #: for convection or radiation boundary conditions to be applied. Possible values are NONE
44
    #: and FACET. If **freeSurfaceType** = FACET, user subroutine UEPACTIVATIONFACET will be called
45
    #: at the start of the increment for each element. If **freeSurfaceType** = NONE, all the
46
    #: exposed areas of the element facets are considered. The default value is NONE.
47
    freeSurfaceType: SymbolicConstant = NONE
×
48

49
    @abaqus_method_doc
×
50
    def __init__(
×
51
        self,
52
        name: str,
53
        elset: Region,
54
        deformation: Boolean = OFF,
55
        freeSurfaceType: Literal[C.FACET, C.NONE] = NONE,
56
    ):
57
        """This method creates an ElementProgressiveActivation object and places it in the
58
        elementProgressiveActivation repository.
59

60
        .. note::
61
            This function can be accessed by::
62

63
                mdb.models[name].rootAssembly.ElementProgressiveActivation
64

65
        Parameters
66
        ----------
67
        name
68
            A String specifying the key of the repository.
69
        elset
70
            A Region object specifying the region containing the elements that will be activated
71
            during the analysis.
72
        deformation
73
            A Boolean value specifying whether the elements that have not yet been activated will
74
            follow the deformations of the active elements. Set **deformation** = ON when the
75
            deformation of the active elements is excessive. The default value is OFF.
76
        freeSurfaceType
77
            A SymbolicConstant specifying the exposed areas of the element facets that are active
78
            for convection or radiation boundary conditions to be applied. Possible values are NONE
79
            and FACET. If **freeSurfaceType** = FACET, user subroutine UEPACTIVATIONFACET will be called
80
            at the start of the increment for each element. If **freeSurfaceType** = NONE, all the
81
            exposed areas of the element facets are considered. The default value is NONE.
82

83
        Returns
84
        -------
85
        ElementProgressiveActivation
86
            An ElementProgressiveActivation object.
87

88
        Raises
89
        ------
90
        AbaqusException
91
            If the region does not contain only elements.
92
        """
93
        ...
×
94

95
    @abaqus_method_doc
×
96
    def setValue(self):
×
97
        """The method modifies the ElementProgressiveActivation object.
98

99
        Returns
100
        -------
101

102
        Raises
103
        ------
104
        """
105
        ...
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc