drop_colors Subroutine

private subroutine drop_colors(self)

No colors per vertex.

Arguments

Type IntentOptional Attributes Name
type(Polyhedron), intent(inout) :: self

Called by

proc~~drop_colors~~CalledByGraph proc~drop_colors drop_colors proc~remove_vertex_colors Polyhedron%remove_vertex_colors proc~remove_vertex_colors->proc~drop_colors proc~set_faces Polyhedron%set_faces proc~set_faces->proc~drop_colors proc~set_grid Polyhedron%set_grid proc~set_grid->proc~drop_colors proc~set_triangles Polyhedron%set_triangles proc~set_triangles->proc~drop_colors

Source Code

    subroutine drop_colors(self)
        type(Polyhedron), intent(inout) :: self
        if (allocated(self%vertex_colors_)) deallocate(self%vertex_colors_)
    end subroutine drop_colors