54 CHARACTER(*),
INTENT(in) ::
name
62 CHARACTER(CHRLEN) :: rcsidentstring
66 rcsidentstring =
'$RCSfile: INRT_SetMaterial.F90,v $ $Revision: 1.3 $'
69 'INRT_SetMaterial.F90' )
75 DO imat = 1,global%nMaterials
77 IF (trim(
name) == trim(global%materials(imat)%name))
THEN
78 material => global%materials(imat)
85 IF (.NOT.found) CALL
errorstop( global,err_inrt_badmat,__line__,trim(
name))
subroutine inrt_setmaterial(global, material, name)
subroutine registerfunction(global, funName, fileName)
const std::string & name() const
Obtain the name of the attribute.
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)