Features for testing the presence of topcom executables¶
- class sage.features.topcom.TOPCOM(*args, **kwds)[source]¶
Bases:
JoinFeature
A
Feature
describing the presence of the executables which comes as a part of TOPCOM.EXAMPLES:
sage: from sage.features.topcom import TOPCOM sage: TOPCOM().is_present() # optional - topcom FeatureTestResult('topcom', True)
>>> from sage.all import * >>> from sage.features.topcom import TOPCOM >>> TOPCOM().is_present() # optional - topcom FeatureTestResult('topcom', True)
from sage.features.topcom import TOPCOM TOPCOM().is_present() # optional - topcom
- class sage.features.topcom.TOPCOMExecutable(*args, **kwds)[source]¶
Bases:
Executable
A
Feature
which checks for executables from the TOPCOM package.EXAMPLES:
sage: from sage.features.topcom import TOPCOMExecutable sage: TOPCOMExecutable('points2allfinetriangs').is_present() # optional - topcom FeatureTestResult('topcom_points2allfinetriangs', True)
>>> from sage.all import * >>> from sage.features.topcom import TOPCOMExecutable >>> TOPCOMExecutable('points2allfinetriangs').is_present() # optional - topcom FeatureTestResult('topcom_points2allfinetriangs', True)
from sage.features.topcom import TOPCOMExecutable TOPCOMExecutable('points2allfinetriangs').is_present() # optional - topcom