> ## 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.

# sysc::MeshValidityStatus Struct Reference

Part of [C++ Interfaces for Participant Library](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/group__SystemCouplingParticipantAPIs)

Provide a struct that contains information about mesh validity.

`#include <CommonTypes.hpp>`

## Public Member Functions

| Type | Name |
| - | - |
| | [MeshValidityStatus](#ad75cfb4f98778300a21ac1d72efba379) (bool [isInvalid](#a3ee3cb844b3594fb7c3be7fce89a4f62), std::string [message](#ab175079553f6cc1591dbb3d0e74c8ec4)) Provide a non-default constructor for [MeshValidityStatus](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/structsysc_1_1MeshValidityStatus.md). |

## Public Attributes

| Type | Name |
| - | - |
| bool | [isInvalid](#a3ee3cb844b3594fb7c3be7fce89a4f62) |
| std::string | [message](#ab175079553f6cc1591dbb3d0e74c8ec4) |

## Detailed Description

Provide a struct that contains information about mesh validity.

Definition at line [200](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source) of file [CommonTypes.hpp](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source).

## Constructor & Destructor Documentation

### MeshValidityStatus()

```cpp theme={null}
sysc::MeshValidityStatus::MeshValidityStatus(
    bool isInvalid,
    std::string message
)
```

`inline`

Provide a non-default constructor for [MeshValidityStatus](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/structsysc_1_1MeshValidityStatus.md).

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | isInvalid | Flag indicating whether the mesh is valid or not. |
| \[in] | message | Message explaining errors (if any). |

Definition at line [214](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source) of file [CommonTypes.hpp](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source).

```cpp theme={null}
                                                         :
       isInvalid(isInvalid),
       message(std::move(message)){};
```

## Member Data Documentation

### isInvalid

```cpp theme={null}
bool sysc::MeshValidityStatus::isInvalid
```

Indicates whether the mesh is valid.

Definition at line [201](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source) of file [CommonTypes.hpp](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source).

### message

```cpp theme={null}
std::string sysc::MeshValidityStatus::message
```

Message explaining errors (if any).

Definition at line [202](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source) of file [CommonTypes.hpp](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/CommonTypes_8hpp_source).
