- from_component(phase, prop, compname)#
Fetches the given values from the specified object
phase (OpenPNM Phase object) – The phase object to which this model is associated (i.e. attached). This controls the length of the calculated array(s), and also provides access to other necessary properties.
prop (str) – The name of the array to retreive
compname (str) – The name of the object possessing the desired data
vals – An ND-array containing the request data
- Return type: