Retrieve a Attribute by name. Returns zero if no Attribute by that name exists.
Attribute<double> d_attr = getAttribute("Xval");