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

# Center of Mass Response

Create a Design Response that measures a component of the Center of Mass vector in some region. For each vector component, the response is computed by integrating one of the following functions: v\_x = rho \* x / M, v\_y =  rho \* y / M, v\_z = rho \* z / M over the region, where x, y, z are the coordinates of the material point in the given reference frame, rho is the density field and M is the total mass in the region.

### Inputs

| Name      | Type                                                   | Description                                                                                                                                         |
| --------- | ------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| Direction | Vector Component Enum                                  | Component of the Center of Mass vector that will be used as a design response.                                                                      |
| Region    | [Region](../../../../block-documentation/types/region) | Region that the Design Response will be integrated over. If a region is not provided, the response will be integrated over the entire design space. |
| Frame     | [Frame](../../../../block-documentation/types/frame)   | Reference frame that the center of mass vector is defined in. If a frame is not provided, the global frame will be used.                            |

### Outputs

| Type                                                                     |
| ------------------------------------------------------------------------ |
| [Design Response](../../../../block-documentation/types/design-response) |
