@@ -629,6 +629,7 @@ def _is_alive_subprocess(self):
629629
630630 @property
631631 def process_is_alive (self ):
632+ """Check if the MAPDL process is alive"""
632633 return self ._is_alive_subprocess ()
633634
634635 def _post_mortem_checks (self ):
@@ -3403,24 +3404,20 @@ def get_esol(
34033404 node : int
34043405 Node number on this element for which data are to be
34053406 stored. If blank, store the average element value (except
3406- for FMAG values, which are summed instead of averaged).
3407+ for `` FMAG`` values, which are summed instead of averaged).
34073408
34083409 item : str
3409- Label identifying the item. General item labels are shown
3410- in Table 134: ESOL - General Item and Component Labels
3411- below. Some items also require a component label.
3410+ Label identifying the item. Some items also require a component label.
34123411
34133412 comp : str
3414- Component of the item (if required). General component
3415- labels are shown in Table 134: ESOL - General Item and
3416- Component Labels below. If Comp is a sequence number (n),
3417- the NODE field will be ignored.
3413+ Component of the item (if required). If Comp is a sequence number (n),
3414+ the ``NODE`` field will be ignored.
34183415
34193416 name : str, optional
34203417 Thirty-two character name for identifying the item on the
34213418 printout and displays. The default is a label formed by
34223419 concatenating the first four characters of the ``item`` and
3423- ``comp`` labels.
3420+ ``comp`` labels.
34243421
34253422 tstrt : str, optional
34263423 Time (or frequency) corresponding to start of IR data. If between
@@ -3441,21 +3438,18 @@ def get_esol(
34413438 Notes
34423439 -----
34433440 By default, this command store temporally the variable on the
3444- variable number set by ``VAR_IR`` in the class MapdlGrpc.
3441+ variable number set by ``VAR_IR`` in the class
3442+ :class:`Mapdl <ansys.mapdl.core.mapdl.MapdlBase>`
34453443 Therefore, any variable in that slot will be deleted when using
34463444 this command.
34473445
3448- See Table: 134:: ESOL - General Item and Component Labels for
3449- a list of valid item and component labels for element (except
3450- line element) results.
3451-
3452- The ESOL command defines element results data to be stored
3453- from a results file (FILE). Not all items are valid for all
3446+ The ``ESOL`` command defines element results data to be stored
3447+ from a results file (``FILE``). Not all items are valid for all
34543448 elements. To see the available items for a given element,
34553449 refer to the input and output summary tables in the
34563450 documentation for that element.
34573451
3458- Two methods of data access are available via the ESOL
3452+ Two methods of data access are available via the `` ESOL``
34593453 command. You can access some simply by using a generic label
34603454 (component name method), while others require a label and
34613455 number (sequence number method).
@@ -3476,10 +3470,10 @@ def get_esol(
34763470 system. Element forces and moments are in the nodal
34773471 coordinate system. Results are obtainable for an element at a
34783472 specified node. Further location specifications can be made
3479- for some elements via the SHELL, LAYERP26, and FORCE commands.
3473+ for some elements via the `` SHELL``, `` LAYERP26`` , and `` FORCE`` commands.
34803474
34813475 For more information on the meaning of contact status and its
3482- possible values, see Reviewing Results in POST1 in the Contact
3476+ possible values, see Reviewing Results in `` POST1`` in the Contact
34833477 Technology Guide.
34843478 """
34853479 self .esol (
@@ -3759,6 +3753,15 @@ def get_file_name(path):
37593753 return os .path .basename (target_dir )
37603754
37613755 def kill_job (self , jobid : int ) -> None :
3756+ """Kill an HPC job
3757+
3758+ Kill a job given its identifier.
3759+
3760+ Parameters
3761+ ----------
3762+ jobid : int
3763+ Job ID.
3764+ """
37623765 cmd = ["scancel" , f"{ jobid } " ]
37633766 # to ensure the job is stopped properly, let's issue the scancel twice.
37643767 subprocess .Popen (cmd )
0 commit comments