Home
last modified time | relevance | path

Searched refs:floatdecimal (Results 1 – 2 of 2) sorted by relevance

/dports/science/py-abipy/abipy-0.9.0/abipy/abio/
H A Dvariable.py93 floatdecimal = 0
97 floatdecimal = 16
101 floatdecimal = 0
115 line += self.format_list2d(value, floatdecimal)
118 line += self.format_list(value, floatdecimal)
130 def format_scalar(self, val, floatdecimal=0): argument
151 ndec = max(len(str(fval-int(fval)))-2, floatdecimal)
160 def format_list2d(self, values, floatdecimal=0): argument
185 ndec = min(max(maxdec, floatdecimal), 10)
200 def format_list(self, values, floatdecimal=0): argument
[all …]
/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/io/abinit/
H A Dvariable.py91 floatdecimal = 0
95 floatdecimal = 16
99 floatdecimal = 0
113 line += self.format_list2d(value, floatdecimal)
116 line += self.format_list(value, floatdecimal)
129 def format_scalar(val, floatdecimal=0): argument
150 ndec = max(len(str(fval - int(fval))) - 2, floatdecimal)
160 def format_list2d(values, floatdecimal=0): argument
185 ndec = min(max(maxdec, floatdecimal), 10)
200 def format_list(self, values, floatdecimal=0): argument
[all …]