<div dir="ltr"><div>Hello everyone,<br></div><div><br></div><div>At times it can be useful to combine different data types in the same problem. For example, there are parts of an algorithm which may be memory bounded (requiring float) and operations where more precision is needed (requiring double or float_128).<br><br></div><div>Can single and double precision be combined in PETSc?<br><br></div><div>I know the data type is set in the configuration process using the parameter "--with-precision=TYPE". It looks like having single and double precision at the same time will require the modification of the source code of the library. Is there an easy way to implement this feature?<br></div><div><br clear="all"></div>Regards.<br></div>