> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# composite:ls_dyna_keyword_parser

**Version: 0.0.0**

## Description

Reads a specific keyword from an k-file. The parser reads the name of the options from the comments (standard by LSPP) if available. If the comment lines are not available, then the option name is just the index (0-based). It supports keywords which have a structure like below. Kewords such as \*ELEMENT\_SHELL\_OFFSET or \*SET\_NODE\_LIST\_TITLE are not supported.

\*DATABASE\_EXTENT\_BINARY
\$    neiph     neips    maxint    strflg    sigflg    epsflg    rltflg    engflg
0        16         5        11         1         1         0         0
\$   cmpflg    ieverp    beamip     dcomp      shge     stssz    n3thdt   ialemat
1         0         0         0         0         0         0         0
\$  nintsld   pkp\_sen      sclp     hydro     msscl     therm    intout    nodout
0         0         0         0         2         0

## Inputs

| Input | Name | Expected type(s) | Description |
| - | - | - | - |
| **Pin 0** Required | keyword | [`string`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#standard-types) | The keyword of interest. For instance '\*DATABASE\_EXTENT\_BINARY'. |
| **Pin 4** Required | data\_sources | [`data_sources`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#data-sources) | LS Dyna input file (\*.k) as data source. Use LsDynaInputFile as key to add a k-file to the DataSources object. |

## Outputs

| Output | Name | Expected type(s) | Description |
| - | - | - | - |
| **Pin 0** | keyword\_options | [`string`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#standard-types) | JSON string with all the options. For instance '\{"neiph": 0, "neips": 16, ...}' |

## Configurations

| Name | Expected type(s) | Default value | Description |
| - | - | - | - |
| **mutex** | [`bool`](https://developer.synopsys.com/docs/dpf/dpf-framework/core-concepts/dpf-types#standard-types) | false | If this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads. |

## Scripting

**Category**: composite

**Plugin**: composite

**Scripting name**: ls\_dyna\_keyword\_parser

**Full name**: composite.ls\_dyna\_keyword\_parser

**Internal name**: composite::ls\_dyna\_keyword\_parser

**License**: None

## Changelog

* Version 0.0.0: Initial release.
