NeurApp 1.1
NeurApp - software for exploring approximation by artificial neural networks on functions of one or two variables.

IG::Lib::SimJMatProConst Class Reference

Constants for interface with the JMatPro software (the SimJMatProFileManager and derived classes). More...

List of all members.

Public Attributes

const string LockFileMutexName = "Global\\IG.Lib.SimJMatProInterface.LockFileMutex"
const string BaseNameVersion4_0 = "JMatPro-4.0"
 Base name (for executable file and its containing directory) for version 4.0.
const string DefaultExecutableName = "JMatPro-4.0.exe"
 Default name of the executable (interace for each version will define this differently).
const string ProcessNameSubstringJava = "javaw"
 Substring of java virtual machine process name.
const string ProcessNameSubstringJMatMain = "JMatPro"
 Substring of JMatPro main process name.
const string ProcessNameSubstringJMatSolver = "solver"
 Substring of JMatPro solver process name.
const string JmatCompositionRelativepath = "inits/compos.ini"
 Relative path of the JMatPro material composition file.
const string JMatCompositionFilename = "compos.ini"
 JMatPro compsition file name.
const string JMatResultsRelativePath = "export/data/0000.dat"
 JMatPro result file relative path.
const string JMatResultsFilename = "0000.dat"
 JMatPro material results file name.
const int JMatResultsMinimalSize = 1000
 Minimal size of the material results file, used to verify validity of results.
const int JMatResultsGoodSize = 150000
 Size of the materials result file that is considered a good size - the file should be at least of this size if calculation was performed without errors.
const string JMatCompletionDetectionRelativePath = @"temp\coldfire.out"
 Relative path of the file by which we detect whether calculation is still going on.
const double JMatCompletionDetectionSleepTimeSeconds = 0.1
 Sleep time in seconds used in detection whethe JMatPro calculation has finished.
const int JmatCompletionDetectionSize = 2000
 Minimal size of calculation detection file above which calculation is considered finished.
const double JMatBeforeSaveSleepTimeSeconds = 3.5
 Waiting time (in seconds) after last increase in file size used before thinking that calculation is finished, to eventually prevent too early detection that calculation was finished.
const double JMatTimeoutWaitCalculationSeconds = 40 * 60
 Timeout for waiting completion of calculation, in seconds. If greater than 0 and results of calculation are waiter for more time than the timeout specifies, waiting is broken and it is considered that calculation could not be completed.
const string SettingsFileName = "settingsjmat.json"
 Default settings file name.
const string SettingsTemplateFilename = "settingsAll.json"
 Default name of the template file where settings are saved.
const string DataDefinitionSupersetFilename = "datadefinitionsuperset.json"
 Name of the file containing definition data for the superset of all input parameters and output values.
const string DataDefinitionJMatFilename = "datadefinitionjmat.json"
 Name of the file containing data definition for all JMatPro input parameters (i.e. material composition expressed as mass fractions for individual parameters).
const string DataDefinitionProcessFilename = "datadefinitionproc.json"
 Name of the file containing data definition for all process input and output parameters.
const string DataDefinitionJointFilename = "datadefinitionjoint.json"
 Name of the file containing data definition for all process input and output parameters.
const string UserInteractionCommand = "keymouse"
const string DefaultUserInteractionRecordDir = @"d:\users\workspaceprojects\12_09_jmatpro\records\"
const string UserInteractionRecordExtension = ".pam"
const string UserInteractionRecordNameStartJMat = "jmatstart"
 Name of the user interaction record for starting JMatPro software via Windows GUI.
const string UserInteractionRecordNameCloseJMat = "jmatclose"
 Name of the user interaction record for closing JMatPro software normally via GUI.
const string UserInteractionRecordNameRepairJMat = "jmatrepair"
 Name of the user interaction record for repairing JMatPro software.
const string UserInteractionRecordNameStartCalculation = "jmatrun"
 Name of the user interaction record for running JMatPro calculation (program must be launched before).
const string UserInteractionRecordNameSaveResults = "jmatsave"
 Name of the user interaction record for saving JMatPro results (must be performed after calculation is finished).
const double WaitSleepTime = 0.1
 Sleeping time for waiting in loops.
const string RootDataDirectoryName = "materialdata"
const string LogfileName = "log.txt"
const string DataDirectoryPrefix = "material_"
const string MaterialParametersFilename = "materialparameters.json"
 Name of the file containing vector of material parameters.
const string MaterialParametersDefFilename = "materialparametersdef.json"
 Name of the file containing vector of material parameters in form of default input values in the data definition file.
const string MsgMaterialCalculationBusyFilename = "busy.msg"
 Name of the message file indicating that material calculation is still busy.
const string MsgMaterialCalculationTimedoutFilename = "materialcalculationtimeout.msg"
 Name of the message file indicating that material calculation has timed out.
const string MsgMaterialCalculationFinishedFilename = "materialcalculated.msg"
 Name of the message file indicating that material calculation has successfully finished.
const string StorageMaterialCalculatedDirectoryname = "00storage_materialcalculated"
 Default name of the storage directory for material directories for which material properties have been successfully calculated.
const string StorageBusyFlagSetDirectoryname = "00storage_busyset"
 Default name of the storage directory for material directories for which busy flag remained set.
const string StorageTimedoutDirectoryname = "00storage_timedout"
 Default name of the storage directory for material directories for which material properties calculation has timed out.
const string StorageMaterialCalculationFailedDirectoryname = "00storage_materialcalculationfailed"
 Default name of the storage directory for material directories for which calculation of material properties has failed.
const string StorageMaterialDataCorruptedDirectoryname = "00storage_materialdatacorrupted"
 Default name of the storage directory for material directories in which material data is corrupted (e.g. material parameters are not written properly).
const string RootSimulationDirectoryName = "simulators"
 Root directory for numerical simulations.
const string SimulatorDirectoryPrefix = "sim_"
 Prefix for simulatior directories.
const string SimulatorBaseTemplateDirectoryName = "sim"
 Name of the simulator template directory.
const string SimulatorCastingRobertDirectoryname = "Sim_main"
 Name of the Robert's casting simulator directory.
const string SimulatorCastingRobertProjectName = "SS"
 Default project name for the robert Vertnik's casting simulator.
const string SimulatorCastingRobertSimulationName = "DUMMY_01"
 Default simulation name for the robert Vertnik's casting simulator.
const int JMatResultsSavedDetectionSize = 2000
 Minimal size of result file file, above which saving results can be considered finished.
const double JMatBeforeResultsSavedSleepTimeSeconds = 1.5
 Waiting time (in seconds) after last increase in file size used before assuming that saving result is finished, to eventually prevent too early detection that calculation was finished.
const double JMatTimeoutWaitResultsSavedSeconds = 10.0
 Timeout for waiting until results are completely saved, in seconds. If greater than 0 and saving results is waited for more time than the timeout specifies, waiting is broken and it is considered that saving could not be completed.
const string NitrogenSymbol = "N"
const string DataDefinitionJMatFilenameNoNitrogen = "datadefinitionjmatnonitrogen.json"
 Name of the file containing data definition for all JMatPro input parameters (i.e. material composition expressed as mass fractions for individual parameters) WITHOUT NITROGEN fraction (excluded for faster calculations).
const string DataDefinitionJointFilenameNoNitrogen = "datadefinitionjointnonitrogen.json"
 Name of the file containing data definition for all material and process input and output parameters WITHOUT NITROGEN fraction (excluded for faster calculations).
const string UserInteractionRecordNameChangeTemperatureUnit = "jmatchtempunit"
const string UserInteractionRecordNameChangeFractionUnit = "jmatchfracunit"
const string MsgMaterialResultsWrongFilename = "materialresultswrong.msg"
 Name of the message file indicating that material results are incorrect.

Static Public Attributes

static string[] DefaultExecutableContainingDirectories
 Foreseen location of the JMatPro installation directory.

Detailed Description

Constants for interface with the JMatPro software (the SimJMatProFileManager and derived classes).


Member Data Documentation

const string IG::Lib::SimJMatProConst::LockFileMutexName = "Global\\IG.Lib.SimJMatProInterface.LockFileMutex"
Initial value:
 new string[]
        {
            "C:/",
            "C:/Program Files",
            "Program Files (x86)"
        }

Foreseen location of the JMatPro installation directory.

const string IG::Lib::SimJMatProConst::BaseNameVersion4_0 = "JMatPro-4.0"

Base name (for executable file and its containing directory) for version 4.0.

const string IG::Lib::SimJMatProConst::DefaultExecutableName = "JMatPro-4.0.exe"

Default name of the executable (interace for each version will define this differently).

Substring of java virtual machine process name.

Substring of JMatPro main process name.

Substring of JMatPro solver process name.

const string IG::Lib::SimJMatProConst::JmatCompositionRelativepath = "inits/compos.ini"

Relative path of the JMatPro material composition file.

JMatPro compsition file name.

const string IG::Lib::SimJMatProConst::JMatResultsRelativePath = "export/data/0000.dat"

JMatPro result file relative path.

JMatPro material results file name.

Minimal size of the material results file, used to verify validity of results.

Size of the materials result file that is considered a good size - the file should be at least of this size if calculation was performed without errors.

Relative path of the file by which we detect whether calculation is still going on.

Sleep time in seconds used in detection whethe JMatPro calculation has finished.

Sleep time in seconds used in detection whether JMatPro calculation has finished or whether JMatPro results have been saved.

Minimal size of calculation detection file above which calculation is considered finished.

Waiting time (in seconds) after last increase in file size used before thinking that calculation is finished, to eventually prevent too early detection that calculation was finished.

Waiting time (in seconds) after last increase in file size used before assuming that calculation is finished, to eventually prevent too early detection that calculation was finished.

Timeout for waiting completion of calculation, in seconds. If greater than 0 and results of calculation are waiter for more time than the timeout specifies, waiting is broken and it is considered that calculation could not be completed.

const string IG::Lib::SimJMatProConst::SettingsFileName = "settingsjmat.json"

Default settings file name.

const string IG::Lib::SimJMatProConst::SettingsTemplateFilename = "settingsAll.json"

Default name of the template file where settings are saved.

const string IG::Lib::SimJMatProConst::DataDefinitionSupersetFilename = "datadefinitionsuperset.json"

Name of the file containing definition data for the superset of all input parameters and output values.

This file may contain descriptions for more parameters and output values than those used, but it must contain all these parameters.

const string IG::Lib::SimJMatProConst::DataDefinitionJMatFilename = "datadefinitionjmat.json"

Name of the file containing data definition for all JMatPro input parameters (i.e. material composition expressed as mass fractions for individual parameters).

const string IG::Lib::SimJMatProConst::DataDefinitionProcessFilename = "datadefinitionproc.json"

Name of the file containing data definition for all process input and output parameters.

const string IG::Lib::SimJMatProConst::DataDefinitionJointFilename = "datadefinitionjoint.json"

Name of the file containing data definition for all process input and output parameters.

Name of the file containing data definition for all material and process input and output parameters.

const string IG::Lib::SimJMatProConst::DefaultUserInteractionRecordDir = @"d:\users\workspaceprojects\12_09_jmatpro\records\"

Name of the user interaction record for starting JMatPro software via Windows GUI.

Name of the user interaction record for closing JMatPro software normally via GUI.

Name of the user interaction record for repairing JMatPro software.

Name of the user interaction record for running JMatPro calculation (program must be launched before).

Name of the user interaction record for saving JMatPro results (must be performed after calculation is finished).

Sleeping time for waiting in loops.

const string IG::Lib::SimJMatProConst::RootDataDirectoryName = "materialdata"
const string IG::Lib::SimJMatProConst::LogfileName = "log.txt"
const string IG::Lib::SimJMatProConst::MaterialParametersFilename = "materialparameters.json"

Name of the file containing vector of material parameters.

const string IG::Lib::SimJMatProConst::MaterialParametersDefFilename = "materialparametersdef.json"

Name of the file containing vector of material parameters in form of default input values in the data definition file.

Name of the message file indicating that material calculation is still busy.

const string IG::Lib::SimJMatProConst::MsgMaterialCalculationTimedoutFilename = "materialcalculationtimeout.msg"

Name of the message file indicating that material calculation has timed out.

Name of the message file indicating that material calculation has successfully finished.

const string IG::Lib::SimJMatProConst::StorageMaterialCalculatedDirectoryname = "00storage_materialcalculated"

Default name of the storage directory for material directories for which material properties have been successfully calculated.

Default name of the storage directory for material directories for which busy flag remained set.

const string IG::Lib::SimJMatProConst::StorageTimedoutDirectoryname = "00storage_timedout"

Default name of the storage directory for material directories for which material properties calculation has timed out.

const string IG::Lib::SimJMatProConst::StorageMaterialCalculationFailedDirectoryname = "00storage_materialcalculationfailed"

Default name of the storage directory for material directories for which calculation of material properties has failed.

const string IG::Lib::SimJMatProConst::StorageMaterialDataCorruptedDirectoryname = "00storage_materialdatacorrupted"

Default name of the storage directory for material directories in which material data is corrupted (e.g. material parameters are not written properly).

Root directory for numerical simulations.

Prefix for simulatior directories.

Name of the simulator template directory.

Name of the Robert's casting simulator directory.

Default project name for the robert Vertnik's casting simulator.

Default simulation name for the robert Vertnik's casting simulator.

Minimal size of result file file, above which saving results can be considered finished.

Waiting time (in seconds) after last increase in file size used before assuming that saving result is finished, to eventually prevent too early detection that calculation was finished.

Timeout for waiting until results are completely saved, in seconds. If greater than 0 and saving results is waited for more time than the timeout specifies, waiting is broken and it is considered that saving could not be completed.

const string IG::Lib::SimJMatProConst::DataDefinitionJMatFilenameNoNitrogen = "datadefinitionjmatnonitrogen.json"

Name of the file containing data definition for all JMatPro input parameters (i.e. material composition expressed as mass fractions for individual parameters) WITHOUT NITROGEN fraction (excluded for faster calculations).

const string IG::Lib::SimJMatProConst::DataDefinitionJointFilenameNoNitrogen = "datadefinitionjointnonitrogen.json"

Name of the file containing data definition for all material and process input and output parameters WITHOUT NITROGEN fraction (excluded for faster calculations).

const string IG::Lib::SimJMatProConst::MsgMaterialResultsWrongFilename = "materialresultswrong.msg"

Name of the message file indicating that material results are incorrect.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Properties