Returns the index of an Eulerian_obj contained in this%fields given its name.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(eulerian_set), | intent(in) | :: | this |
An Eulerian Set |
||
| character(len=*), | intent(in) | :: | name |
Name of the field |
Result
pure function eulerian_set_GetIndex(this,name) result (val) !> Returns the index of an Eulerian_obj contained ! in this%fields given its name. implicit none class(eulerian_set), intent(in) :: this !! An Eulerian Set character(len=*), intent(in) :: name !! Name of the field integer :: val !! Result call this%tbl%Get(key=this%tbl%HashString(name),val=val) return end function eulerian_set_GetIndex