Skip to content
ForCADDocumentation

transform_geometry Subroutine

public pure subroutine transform_geometry(Xc, Xg, linear, translation, center, err, category)

Validate and apply one affine map to owned controls and any sampled cache. All input shapes and finite map entries are checked before either net changes.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(inout), allocatable :: Xc(:,:)
real(kind=rk), intent(inout), allocatable :: Xg(:,:)
real(kind=rk), intent(in), contiguous :: linear(:,:)
real(kind=rk), intent(in), optional, contiguous :: translation(:)
real(kind=rk), intent(in), optional, contiguous :: center(:)
type(debug), intent(inout) :: err
character(len=*), intent(in) :: category