Compare two field_type instance based on their data value
f1 = field_type(u0, dx)
f2 = field_type(u0, dx2)
f1%is_equal(f2) ! true
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(field_type), | intent(in) | :: | self |
Right hand side of comparison |
||
class(field_type), | intent(in) | :: | lhs |
Left hand side of comparison |
||
real, | intent(in) | :: | tol |
Absolute tolerance when comparing fields values |