Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
readFile Namespace Reference

Functions

 generate_file_paths (directory, names)
 get_scalar (file_path, variable_name)
 get_vector (file_path, variable_name)
 is_number (s)
 get_matrix (file_path, variable_name)

Function Documentation

◆ generate_file_paths()

readFile.generate_file_paths ( directory,
names )

Definition at line 9 of file readFile.py.

◆ get_matrix()

readFile.get_matrix ( file_path,
variable_name )

Definition at line 65 of file readFile.py.

◆ get_scalar()

readFile.get_scalar ( file_path,
variable_name )

Definition at line 18 of file readFile.py.

◆ get_vector()

readFile.get_vector ( file_path,
variable_name )

Definition at line 34 of file readFile.py.

◆ is_number()

readFile.is_number ( s)
Helper function to check if a string can be converted to a float. 

Definition at line 57 of file readFile.py.