|
PyXMake Developer Guide 1.0
PyXMake
|
Functions | |
| main (BuildID, files="mcd_astandard", command=VTL.GetBuildCommand(6), libs=['mcd_corex64']+VTL.GetLinkDependency(0), source=os.path.join(__mcd_core_path,"solver"), include=list(Utility.ArbitraryFlattening([[os.path.join(__mcd_core_path,"include", Utility.GetPlatform(), __arch)], [os.path.join(__mcd_core_path,"include", Utility.GetPlatform(), __arch, x) for x in VTL.GetIncludeDirectory(__mcd_core_path, 0, 4, __arch)]])), dependency=os.path.join(__mcd_core_path,"lib", Utility.GetPlatform(), __arch), output=os.path.join(__mcd_core_path,"bin", Utility.GetPlatform(), __arch), scratch=VTL.Scratch, verbosity=2, **kwargs) | |
Variables | |
| parser = argparse.ArgumentParser(description='CLI wrapper options for ABAQUS make command.', parents=[Custom.__parser__()]) | |
| nargs | |
| default | |
| help | |
| _ = sys.argv[1] | |
| args | |
| project = args.name[0] | |
| source = args.source[0] | |
| files | |
| libs = args.libs | |
| output | |
| scratch | |
| dict | settings = {"source":source, "output":output, "files":files, "scratch": scratch, "libs": libs} |
| path = list(Utility.ArbitraryFlattening(getattr(args,option))); | |
| sanitized = Utility.GetSanitizedDataFromCommand(path) | |
| str | BuildID = 'mcd_abaqus' |
Triple-use minimum working example for PyXMake. This script can be
executed in three different ways in varying levels of accessibility
@note: Compile MCODAC for ABAQUS Standard & Explicit
on Windows. Can be combined with self-written code alike.
Created on 25.06.2018
@version: 1.0
----------------------------------------------------------------------------------------------
@requires:
- PyXMake
@change:
-
@author: garb_ma [DLR-FA,STM Braunschweig]
----------------------------------------------------------------------------------------------
| PyXMake.VTL.abaqus.main | ( | BuildID, | |
| files = "mcd_astandard", | |||
| command = VTL.GetBuildCommand(6), | |||
| libs = ['mcd_corex64'] + VTL.GetLinkDependency(0), | |||
| source = os.path.join(__mcd_core_path,"solver"), | |||
| include = list(Utility.ArbitraryFlattening([[os.path.join(__mcd_core_path,"include",Utility.GetPlatform(),__arch)], [os.path.join(__mcd_core_path,"include",Utility.GetPlatform(),__arch, x) for x in VTL.GetIncludeDirectory(__mcd_core_path, 0, 4, __arch)]])), | |||
| dependency = os.path.join(__mcd_core_path,"lib",Utility.GetPlatform(),__arch), | |||
| output = os.path.join(__mcd_core_path,"bin",Utility.GetPlatform(),__arch), | |||
| scratch = VTL.Scratch, | |||
| verbosity = 2, | |||
| ** | kwargs ) |
| PyXMake.VTL.abaqus.parser = argparse.ArgumentParser(description='CLI wrapper options for ABAQUS make command.', parents=[Custom.__parser__()]) |
| list PyXMake.VTL.abaqus.path = list(Utility.ArbitraryFlattening(getattr(args,option))); |
| PyXMake.VTL.abaqus.sanitized = Utility.GetSanitizedDataFromCommand(path) |
| dict PyXMake.VTL.abaqus.settings = {"source":source, "output":output, "files":files, "scratch": scratch, "libs": libs} |