set_model_scale Subroutine

private subroutine set_model_scale(self, scale)

Scale along the model's x, y and z axes.

Type Bound

Model

Arguments

Type IntentOptional Attributes Name
class(Model), intent(inout) :: self
real(kind=wp), intent(in) :: scale(3)

along the model's x, y and z


Calls

proc~~set_model_scale~~CallsGraph proc~set_model_scale Model%set_model_scale proc~update_model_transform update_model_transform proc~set_model_scale->proc~update_model_transform interface~vkf_transform_set_matrix vkf_transform_set_matrix proc~update_model_transform->interface~vkf_transform_set_matrix proc~frame_matrix frame_matrix proc~update_model_transform->proc~frame_matrix proc~name ReferenceFrame%name proc~update_model_transform->proc~name proc~quat_to_matrix quat_to_matrix proc~frame_matrix->proc~quat_to_matrix

Source Code

    subroutine set_model_scale(self, scale)
        class(Model), intent(inout) :: self
        real(wp), intent(in) :: scale(3)                    !! along the model's x, y and z
        self%scale_ = scale
        call update_model_transform(self)
    end subroutine set_model_scale