pysdic.IntegrationPoints.concatenate#
- IntegrationPoints.concatenate(other, inplace=False)[source]#
Concatenate two
IntegrationPointsinstances.Note
The properties in common between the two integration points are also concatenated. If a property exists in only one of the integration points, it will be filled with
numpy.nanvalues for the points from the other integration point.- Parameters:
other (
IntegrationPoints) – AnotherIntegrationPointsinstance to concatenate with.inplace (
bool, optional) – IfTrue, modify the current instance in place, and return itself. IfFalse, return a newIntegrationPointsinstance (default isFalse).
- Returns:
An new
IntegrationPointsinstance containing the concatenated data or the modified current instance ifinplaceisTrue.- Return type:
- Raises:
TypeError – If the other object is not an
IntegrationPointsinstance.ValueError – If the dimensions of the two
IntegrationPointsinstances do not match.