OptimizationTable Class is used to obtain optimization parameters or for settings.
The class can be called from Study or AnalysisGroup class.
.
More...
Public Member Functions | |
| void | AddExpressionItem (String ¶meterName) |
| Adds a constraint condition object. More... | |
| void | AddInitialCase (int caseIndex) |
| Adds an existing case to use. More... | |
| void | AddObjectiveItem (String ¶meterName) |
| Adds an objective function object. More... | |
| void | AddParametricItem (String ¶meterName) |
| Adds an object to the parametric variable range. More... | |
| void | AddTopologyObjectiveItem () |
| Adds a topology objective function object. | |
| bool | AlwaysCheckConflict () |
| Corresponds to the function OptimizationTable::IsCheckConflict . More... | |
| void | ClearMagnetDirection () |
| Clears the optimization settings for the magnetization direction. | |
| int | CoresPerNode () |
| Returns the number of cores per node to be used when executing the calculation. More... | |
| String | CpuGroup () |
| Specifies the CPU group for running a calculation. More... | |
| int | CreateInitialCases () |
| Specifies the method to automatically create an initial case. More... | |
| String | CSVOutputPath () |
| Returns the CSV Output Path. | |
| bool | DeleteRemoteFiles () |
| Returns whether or not to delete a remote file. More... | |
| bool | DeleteScratchFiles () |
| Returns whether or not to delete the local scratch directory. More... | |
| void | ExportOptimizationRange (String &csvFile) |
| Exports parametric variable range. More... | |
| ExpressionItem * | GetExpressionItem (Variant &indexOrName) |
| Returns the constraint condition object. More... | |
| ExpressionItem * | GetObjectiveItem (Variant &indexOrName) |
| Returns the objective function object. More... | |
| Variant | GetParameter (String &key) |
| Returns the value of a specified parameter. More... | |
| ParametricRange * | GetParametricItem (Variant &indexOrName) |
| Returns an object in the parametric variable range. More... | |
| ParametricRange * | GetParametricItemByParameterName (String ¶meterName) |
| Returns an object in the parametric variable range from parameter name. More... | |
| Variant | GetRangeStringList (Variant &indexOrName, String ¶meter) |
| Get the range table string values for optimization. More... | |
| Variant | GetRangeValue (Variant &indexOrName, String ¶meter) |
| Set the range values for optimization. More... | |
| Variant | GetRangeValueList (Variant &indexOrName, String ¶meter) |
| Get the range table values for optimization. More... | |
| TopologyObjectiveItem * | GetTopologyObjectiveItem (Variant &indexOrName) |
| Returns the topology objective function object. More... | |
| String | HostsFile () |
| Returns the hosts file. More... | |
| void | ImportOptimizationRange (String &csvFile) |
| Imports parametric variable range. More... | |
| void | ImportOptimizationRangeFromRangeOptimizationResult () |
| Imports parametric variable range by CAD parameter range results. | |
| bool | IsCheckConflict () |
| Returns whether or not to run a calculation when running a conflict check. More... | |
| bool | IsIgnoreGeometryError () |
| Returns whether or not to ignore the geometry error when running a conflict check. More... | |
| bool | IsImmediateCSVOutput () |
| Returns True if objectives is set to be written to CSV file once calculation is completed. More... | |
| bool | IsValid () |
| Returns True if an object is valid. More... | |
| int | JobSystemTimeoutMaxRetry () |
| Returns maximum number of retries. More... | |
| int | JobSystemTimeoutTime () |
| Returns the timeout time (min). More... | |
| String | LicenseLimits () |
| Returns the license name and maximum license usage. More... | |
| String | LSFOptions () |
| Returns the LSF options. More... | |
| String | LSFQueue () |
| Returns LSF queue. More... | |
| String | Machine () |
| Specifies the machine name when running a calculation. More... | |
| String | MagnetDirectionCoordinate () |
| Returns the name of the coordinate system for optimizing the magnetization direction. More... | |
| String | MagnetDirectionGroup (int index) |
| Returns the name of the set of direction of the magnetization orientation optimization. More... | |
| double | MagnetDirectionMax (int index) |
| Returns the maximum value in the direction for optimization of the magnetization direction. More... | |
| double | MagnetDirectionMin (int index) |
| Returns the minimum value in the direction for optimization of the magnetization direction. More... | |
| String | MagnetDirectionType (int index) |
| Returns the type name of the direction of optimization of the magnetization direction. More... | |
| int | MaxCases () |
| Obsolete function. More... | |
| int | NewCasesPerLoop () |
| Obsolete function. More... | |
| String | NGnetWeightOutputPath () |
| Returns the CSV output path for the NGnet weight value. | |
| int | NumExpressions () |
| Returns the number of constraint conditions as an integer. More... | |
| int | NumJobs () |
| Returns the number of jobs to run a calculation. More... | |
| int | NumNodes () |
| Returns the number of nodes to be used when executing the calculation. More... | |
| int | NumObjectives () |
| Returns the number of objective functions as an integer. More... | |
| int | NumParameters () |
| Returns the number of parameters as an integer. More... | |
| int | NumSimultaneousStudies () |
| Returns the number of concurrent execution studies when executing the foreground calculation. More... | |
| bool | OptimizeMagnetDirection () |
| Returns whether to optimize the magnetization direction. More... | |
| String | PBSQueue () |
| Returns the PBS queue. More... | |
| String | PBSResource () |
| Returns the PBS resource. More... | |
| bool | PreProcessOnWrite () |
| Returns whether or not to pre process to submit jcf. More... | |
| void | RemoveAllCases () |
| Removes all existing cases to use. | |
| void | RemoveExpressionItem (Variant &indexOrName) |
| Deletes the contstraint condition object. More... | |
| void | RemoveObjectiveItem (Variant &indexOrName) |
| Deletes an objective function object. More... | |
| void | RemoveParametricItem (Variant &indexOrName) |
| Deletes an object in the parametric variable range. More... | |
| void | RemoveTopologyObjectiveItem (Variant &indexOrName) |
| Deletes a topology objective function object. More... | |
| String | ReservationKey () |
| Returns the dynamic license reservation key. | |
| String | RestartFileOutputPath () |
| Returns the Optimization Restart File(.sav) Path. | |
| String | ResubmitCpuGroup () |
| Specifies the CPU group for resubmitted calculations. More... | |
| String | ResubmitMachine () |
| Specifies the machine name for resubmitted calculations. More... | |
| bool | RunAsProject () |
| Returns whether or not to send a project file. More... | |
| bool | SendSSHSettings () |
| Returns whether or not to send SSH Settings. More... | |
| void | SetAlwaysCheckConflict (bool isAlways) |
| Corresponds to the function OptimizationTable::SetCheckConflict . More... | |
| void | SetCheckConflict (bool flag) |
| Specifies whether or not to run an conflict check when running a calculation. More... | |
| void | SetCheckOn (Variant &value, bool checkOn) |
| Specifies whether parametric variable range is used during optimization. More... | |
| void | SetCoresPerNode (int coresPerNode) |
| Specifies the upper limit of CPU cores that can be used for calculations on each computation node. More... | |
| void | SetCpuGroup (String &group) |
| Specifies the CPU group to run a calculation. More... | |
| void | SetCreateInitialCases (int create) |
| Specifies the method to automatically create an initial case. More... | |
| void | SetCSVOutputPath (String &filePath) |
| Specifies the CSV output filepath for optimization monitoring without GUI. More... | |
| void | SetDeleteRemoteFiles (bool doDelete) |
| Specifies whether or not to delete a remote file. More... | |
| void | SetDeleteScratchFiles (bool doDelete) |
| Specifies whether or not to delete the local scratch directory. More... | |
| void | SetHostsFile (String &hostsFile) |
| Specifies hosts file. More... | |
| void | SetIgnoreGeometryError (bool flag) |
| Specifies whether or not to ignore the geometry error when running a calculation. More... | |
| void | SetImmediateCSVOutput (bool immediateOutput) |
| Specifies whether to write to CSV file in case order or once calculation is done. More... | |
| void | SetJobSystemTimeoutMaxRetry (int maxRetry) |
| Specifies maximum number of retries. More... | |
| void | SetJobSystemTimeoutTime (double timeoutTime) |
| Specifies the timeout time (min). More... | |
| void | SetKeepRemoteFiles (Variant &value) |
| Specifies whether or not results are kept in management server. More... | |
| void | SetLicenseLimits (String &licenseLimits) |
| Specifies maximum license to be used for selected licenses. More... | |
| void | SetLSFOptions (String &lsfOptions) |
| Specifies LSF options. More... | |
| void | SetLSFQueue (String &lsfQueue) |
| Specifies LSF queue. More... | |
| void | SetMachine (String &machine) |
| Specifies the machine name to run a calculation. More... | |
| void | SetMagnetDirectionCoordinate (String &exp) |
| Specifies the coordinate system for optimizing the magnetization direction. More... | |
| void | SetMagnetDirectionGroup (int index, String &exp) |
| Specifies a set of Directions for optimization of the magnetization direction. More... | |
| void | SetMagnetDirectionMax (int index, double value) |
| Specifies the maximum value in the Direction for optimization of the magnetization direction. More... | |
| void | SetMagnetDirectionMin (int index, double value) |
| Specifies the minimum value in the Direction for optimization of the magnetization direction. More... | |
| void | SetMagnetDirectionType (int index, String &exp) |
| Specifies the direction of optimization of the magnetization direction. More... | |
| void | SetMaxCases (int cases) |
| Obsolete function. More... | |
| void | SetNewCasesPerLoop (int cases) |
| Obsolete function. More... | |
| void | SetNGnetWeightOutputPath (String &filePath) |
| Specifies the CSV output path for the NGnet weight value. More... | |
| void | SetNumJobs (int numJobs) |
| Specifies the number of jobs to run a calculation. More... | |
| void | SetNumNodes (int numNodes) |
| Specifies the upper limit of computation nodes to be used. More... | |
| void | SetOptimizeMagnetDirection (bool optimize) |
| Specifies whether to optimize the magnetization direction. More... | |
| void | SetParameter (String &key, Variant &value) |
| Specifies the value of a specified parameter. More... | |
| void | SetPBSQueue (String &pbsQueue) |
| Specifies PBS queue. More... | |
| void | SetPBSResource (String &pbsResource) |
| Specifies PBS resource. More... | |
| void | SetPreProcessOnWrite (bool set) |
| Specifies whether to pre process to submit jcf. More... | |
| void | SetRangeStringList (Variant &indexOrName, String ¶meter, StringList &array) |
| Set the range table string values for optimization. More... | |
| void | SetRangeValue (Variant &indexOrName, String ¶meter, Variant &value) |
| Set the range values for optimization. More... | |
| void | SetRangeValueList (Variant &indexOrName, String ¶meter, String array &array) |
| Set the range table values for optimization. More... | |
| void | SetReservationKey (String &key) |
| Specifies the license reservation key for the calculation. More... | |
| void | SetRestartDataFromFile (String &filePath) |
| Specifies the restart data from the restart data file. More... | |
| void | SetRestartFileOutputPath (String &restartFilePath) |
| Specifies the restart file to resume optimization from last iteration. More... | |
| void | SetResubmitCpuGroup (String &group) |
| Specifies the CPU group for resubmitted calculations. More... | |
| void | SetResubmitMachine (String &machine) |
| Specifies the machine name to resubmit calculations to. More... | |
| void | SetRunAsProject (bool asProject) |
| Specifies whether or not to send a project file. More... | |
| void | SetSendSSHSettings (bool sendSettings) |
| Specifies whether to send SSH Settings to remote machine. More... | |
| void | SetSimultaneousStudies (int value) |
| Specifies the number of studies to be executed concurrently when executing the foreground calculation. More... | |
| void | SetSlurmOptions (String &slurmOptions) |
| Specifies Slurm options. More... | |
| void | SetStopOnFailedCase (bool stop) |
| Specifies whether or not to stop the calculation when an error occurs. More... | |
| void | SetTolerance (double tolerance) |
| Obsolete function. More... | |
| void | SetUseJobSystem (bool useJobSystem) |
| Specifies whether to use JMAG Job system. More... | |
| void | SetUseJobSystemTimeout (bool useTimeout) |
| Specifies whether to use timeout of analysis job. More... | |
| void | SetUseLicenseControl (bool useLicenseControl) |
| Specifies whether to use License Control. More... | |
| void | SetUseLocalCalculationFolder (bool use) |
| Specifies whether or not to batch execution with local calculation folder. More... | |
| void | SetUseMultiLicense (bool useMultiLicense) |
| Specifies if the calculation should use the LM-X multi-calculation license. More... | |
| String | SlurmOptions () |
| Returns the Slurm options. More... | |
| bool | StopOnFailedCase () |
| Specifies whether or not to stop a calculation when running a calculation. More... | |
| double | Tolerance () |
| Obsolete function. More... | |
| bool | UseJobSystem () |
| Returns whether or not to use JMAG job system. More... | |
| bool | UseJobSystemTimeout () |
| Returns whether to use timeout of analysis job. More... | |
| bool | UseLicenseControl () |
| Returns whether or not to use license control. More... | |
| bool | UseLocalCalculationFolder () |
| Specifies whether or not to batch execution with local calculation folder. More... | |
| bool | UseMultiLicense () |
| Returns True if the multi-calculation license flag is set. | |
OptimizationTable Class is used to obtain optimization parameters or for settings.
The class can be called from Study or AnalysisGroup class.
.
Example of calling the class object:
| void OptimizationTable::AddExpressionItem | ( | String & | parameterName | ) |
Adds a constraint condition object.
| parameterName | Description |
| void OptimizationTable::AddInitialCase | ( | int | caseIndex | ) |
Adds an existing case to use.
| caseIndex | Case number |
The caseIndex is numbered from 1.
| void OptimizationTable::AddObjectiveItem | ( | String & | parameterName | ) |
Adds an objective function object.
| parameterName | Description |
| void OptimizationTable::AddParametricItem | ( | String & | parameterName | ) |
Adds an object to the parametric variable range.
| parameterName | Name of the parameter |
| bool OptimizationTable::AlwaysCheckConflict | ( | ) |
Corresponds to the function OptimizationTable::IsCheckConflict .
| int OptimizationTable::CoresPerNode | ( | ) |
Returns the number of cores per node to be used when executing the calculation.
| String OptimizationTable::CpuGroup | ( | ) |
Specifies the CPU group for running a calculation.
| int OptimizationTable::CreateInitialCases | ( | ) |
Specifies the method to automatically create an initial case.
| bool OptimizationTable::DeleteRemoteFiles | ( | ) |
Returns whether or not to delete a remote file.
| bool OptimizationTable::DeleteScratchFiles | ( | ) |
Returns whether or not to delete the local scratch directory.
| void OptimizationTable::ExportOptimizationRange | ( | String & | csvFile | ) |
Exports parametric variable range.
| csvFile | csv file |
| ExpressionItem * OptimizationTable::GetExpressionItem | ( | Variant & | val | ) |
Returns the constraint condition object.
| val | Description or index |
| ExpressionItem * OptimizationTable::GetObjectiveItem | ( | Variant & | val | ) |
Returns the objective function object.
| val | Description or index |
| Variant OptimizationTable::GetParameter | ( | String & | key | ) |
Returns the value of a specified parameter.
| key | Parameter name |
| ParametricRange * OptimizationTable::GetParametricItem | ( | Variant & | val | ) |
Returns an object in the parametric variable range.
| val | Name or index of the parameter |
| ParametricRange * OptimizationTable::GetParametricItemByParameterName | ( | String & | parameterName | ) |
Returns an object in the parametric variable range from parameter name.
| parameterName | Name of the parameter |
| Variant OptimizationTable::GetRangeStringList | ( | Variant & | indexOrName, |
| String & | parameter | ||
| ) |
Get the range table string values for optimization.
| indexOrName | Parametric Item Name |
| parameter | Value Name |
| Variant OptimizationTable::GetRangeValue | ( | Variant & | indexOrName, |
| String & | parameter | ||
| ) |
Set the range values for optimization.
| indexOrName | Parametric Item Name |
| parameter | Value Name |
| Variant OptimizationTable::GetRangeValueList | ( | Variant & | indexOrName, |
| String & | parameter | ||
| ) |
Get the range table values for optimization.
| indexOrName | Parametric Item Name |
| parameter | Value Name |
| TopologyObjectiveItem * OptimizationTable::GetTopologyObjectiveItem | ( | Variant & | val | ) |
Returns the topology objective function object.
| val | Description or index |
| String OptimizationTable::HostsFile | ( | ) |
Returns the hosts file.
| void OptimizationTable::ImportOptimizationRange | ( | String & | csvFile | ) |
Imports parametric variable range.
| csvFile | csv file |
| bool OptimizationTable::IsCheckConflict | ( | ) |
Returns whether or not to run a calculation when running a conflict check.
| bool OptimizationTable::IsIgnoreGeometryError | ( | ) |
Returns whether or not to ignore the geometry error when running a conflict check.
| bool OptimizationTable::IsImmediateCSVOutput | ( | ) |
Returns True if objectives is set to be written to CSV file once calculation is completed.
| bool OptimizationTable::IsValid | ( | ) |
Returns True if an object is valid.
| int OptimizationTable::JobSystemTimeoutMaxRetry | ( | ) |
Returns maximum number of retries.
| int OptimizationTable::JobSystemTimeoutTime | ( | ) |
Returns the timeout time (min).
| String OptimizationTable::LicenseLimits | ( | ) |
Returns the license name and maximum license usage.
| String OptimizationTable::LSFOptions | ( | ) |
Returns the LSF options.
| String OptimizationTable::LSFQueue | ( | ) |
Returns LSF queue.
| String OptimizationTable::Machine | ( | ) |
Specifies the machine name when running a calculation.
| String OptimizationTable::MagnetDirectionCoordinate | ( | ) |
Returns the name of the coordinate system for optimizing the magnetization direction.
| String OptimizationTable::MagnetDirectionGroup | ( | int | index | ) |
Returns the name of the set of direction of the magnetization orientation optimization.
| index | Index |
| double OptimizationTable::MagnetDirectionMax | ( | int | index | ) |
Returns the maximum value in the direction for optimization of the magnetization direction.
| index | Index |
| double OptimizationTable::MagnetDirectionMin | ( | int | index | ) |
Returns the minimum value in the direction for optimization of the magnetization direction.
| index | Index |
| String OptimizationTable::MagnetDirectionType | ( | int | index | ) |
Returns the type name of the direction of optimization of the magnetization direction.
| index | Index |
| void OptimizationTable::MaxCases | ( | ) |
Obsolete function.
| void OptimizationTable::NewCasesPerLoop | ( | ) |
Obsolete function.
| int OptimizationTable::NumExpressions | ( | ) |
Returns the number of constraint conditions as an integer.
| int OptimizationTable::NumJobs | ( | ) |
Returns the number of jobs to run a calculation.
| int OptimizationTable::NumNodes | ( | ) |
Returns the number of nodes to be used when executing the calculation.
| int OptimizationTable::NumObjectives | ( | ) |
Returns the number of objective functions as an integer.
| int OptimizationTable::NumParameters | ( | ) |
Returns the number of parameters as an integer.
| int OptimizationTable::NumSimultaneousStudies | ( | ) |
Returns the number of concurrent execution studies when executing the foreground calculation.
| bool OptimizationTable::OptimizeMagnetDirection | ( | ) |
Returns whether to optimize the magnetization direction.
| String OptimizationTable::PBSQueue | ( | ) |
Returns the PBS queue.
| String OptimizationTable::PBSResource | ( | ) |
Returns the PBS resource.
| bool OptimizationTable::PreProcessOnWrite | ( | ) |
Returns whether or not to pre process to submit jcf.
| void OptimizationTable::RemoveExpressionItem | ( | Variant & | indexOrName | ) |
Deletes the contstraint condition object.
| indexOrName | Description or index |
| void OptimizationTable::RemoveObjectiveItem | ( | Variant & | indexOrName | ) |
Deletes an objective function object.
| indexOrName | Description or index |
| void OptimizationTable::RemoveParametricItem | ( | Variant & | indexOrName | ) |
Deletes an object in the parametric variable range.
| indexOrName | Parameter name or index |
| void OptimizationTable::RemoveTopologyObjectiveItem | ( | Variant & | indexOrName | ) |
Deletes a topology objective function object.
| indexOrName | Description or index |
| String OptimizationTable::ResubmitCpuGroup | ( | ) |
Specifies the CPU group for resubmitted calculations.
| String OptimizationTable::ResubmitMachine | ( | ) |
Specifies the machine name for resubmitted calculations.
| bool OptimizationTable::RunAsProject | ( | ) |
Returns whether or not to send a project file.
| bool OptimizationTable::SendSSHSettings | ( | ) |
Returns whether or not to send SSH Settings.
| void OptimizationTable::SetAlwaysCheckConflict | ( | bool | flag | ) |
Corresponds to the function OptimizationTable::SetCheckConflict .
| void OptimizationTable::SetCheckConflict | ( | bool | flag | ) |
Specifies whether or not to run an conflict check when running a calculation.
| flag | Whether to run a conflict check |
| void OptimizationTable::SetCheckOn | ( | Variant & | value, |
| bool | checkOn | ||
| ) |
Specifies whether parametric variable range is used during optimization.
Corresponds to the function OptimizationTable::SetCheckOn .
| void OptimizationTable::SetCoresPerNode | ( | int | coresPerNode | ) |
Specifies the upper limit of CPU cores that can be used for calculations on each computation node.
| coresPerNode | Number of cores per node |
| void OptimizationTable::SetCpuGroup | ( | String & | group | ) |
Specifies the CPU group to run a calculation.
| group | CPU group |
| void OptimizationTable::SetCreateInitialCases | ( | int | create | ) |
Specifies the method to automatically create an initial case.
| create | Method
0 = Use Only Existing Cases
1 = Orthogonal Array
2 = 3-Level Matrix
|
| void OptimizationTable::SetCSVOutputPath | ( | String & | filePath | ) |
Specifies the CSV output filepath for optimization monitoring without GUI.
| key | CSV output filepath |
| void OptimizationTable::SetDeleteRemoteFiles | ( | bool | doDelete | ) |
Specifies whether or not to delete a remote file.
| doDelete | Whether or not to delete |
| void OptimizationTable::SetDeleteScratchFiles | ( | bool | doDelete | ) |
Specifies whether or not to delete the local scratch directory.
| doDelete | Whether or not to delete |
| void OptimizationTable::SetHostsFile | ( | String & | hostsFile | ) |
Specifies hosts file.
| hostsFile | Hosts file |
| void OptimizationTable::SetIgnoreGeometryError | ( | bool | flag | ) |
Specifies whether or not to ignore the geometry error when running a calculation.
| flag | Whether to ignore the geometry error |
| void OptimizationTable::SetImmediateCSVOutput | ( | bool | immediateOutput | ) |
Specifies whether to write to CSV file in case order or once calculation is done.
| flag | Whether to write to CSV file in case order or once calculation is done |
| void OptimizationTable::SetJobSystemTimeoutMaxRetry | ( | int | maxRetry | ) |
Specifies maximum number of retries.
| maxRetry | Maximum number of retries |
| void OptimizationTable::SetJobSystemTimeoutTime | ( | double | timeoutTime | ) |
Specifies the timeout time (min).
| timeoutTime | Timeout time (min) |
| void OptimizationTable::SetKeepRemoteFiles | ( | Variant & | value | ) |
Specifies whether or not results are kept in management server.
| value | On : Leaves results on remote machine
Off : Moves results to local machine
Both : Copies to local and leaves on server
|
| void OptimizationTable::SetLicenseLimits | ( | String & | licenseLimits | ) |
Specifies maximum license to be used for selected licenses.
| licenseLimits | Maximum license to be checked out |
| void OptimizationTable::SetLSFOptions | ( | String & | lsfOptions | ) |
Specifies LSF options.
| lsfOptions | LSF options |
| void OptimizationTable::SetLSFQueue | ( | String & | lsfQueue | ) |
Specifies LSF queue.
| lsfQueue | LSF queue |
| void OptimizationTable::SetMachine | ( | String & | machine | ) |
Specifies the machine name to run a calculation.
| machine | Machine name |
| void OptimizationTable::SetMagnetDirectionCoordinate | ( | String & | exp | ) |
Specifies the coordinate system for optimizing the magnetization direction.
| exp | Name of the coordinate system |
| void OptimizationTable::SetMagnetDirectionGroup | ( | int | index, |
| String & | exp | ||
| ) |
Specifies a set of Directions for optimization of the magnetization direction.
| index | Index |
| exp | Set name |
| void OptimizationTable::SetMagnetDirectionMax | ( | int | index, |
| double | value | ||
| ) |
Specifies the maximum value in the Direction for optimization of the magnetization direction.
| index | index |
| value | Maximum value |
| void OptimizationTable::SetMagnetDirectionMin | ( | int | index, |
| double | value | ||
| ) |
Specifies the minimum value in the Direction for optimization of the magnetization direction.
| index | index |
| value | Minimum value |
| void OptimizationTable::SetMagnetDirectionType | ( | int | index, |
| String & | exp | ||
| ) |
Specifies the direction of optimization of the magnetization direction.
| index | Index |
| exp | Direction Type |
| void OptimizationTable::SetMaxCases | ( | int | cases | ) |
Obsolete function.
| void OptimizationTable::SetNewCasesPerLoop | ( | int | cases | ) |
Obsolete function.
| void OptimizationTable::SetNGnetWeightOutputPath | ( | String & | filePath | ) |
Specifies the CSV output path for the NGnet weight value.
| key | CSV output filepath |
| void OptimizationTable::SetNumJobs | ( | int | numJobs | ) |
Specifies the number of jobs to run a calculation.
| numJobs | Number of jobs |
| void OptimizationTable::SetNumNodes | ( | int | numNodes | ) |
Specifies the upper limit of computation nodes to be used.
| numNodes | Number of nodes |
| void OptimizationTable::SetOptimizeMagnetDirection | ( | bool | optimize | ) |
Specifies whether to optimize the magnetization direction.
| optimize | Whether to optimize the magnetization direction |
| void OptimizationTable::SetParameter | ( | String & | key, |
| Variant & | value | ||
| ) |
Specifies the value of a specified parameter.
| key | Parameter name
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| value | Parameter value |
| void OptimizationTable::SetPBSQueue | ( | String & | pbsQueue | ) |
Specifies PBS queue.
| pbsQueue | PBS queue |
| void OptimizationTable::SetPBSResource | ( | String & | pbsResource | ) |
Specifies PBS resource.
| pbsResource | PBS resource |
| void OptimizationTable::SetPreProcessOnWrite | ( | bool | need | ) |
Specifies whether to pre process to submit jcf.
| need | Whether to pre process to submit jcf |
| void OptimizationTable::SetRangeStringList | ( | Variant & | indexOrName, |
| String & | parameter, | ||
| StringList & | array | ||
| ) |
Set the range table string values for optimization.
| indexOrName | Parametric Item Name |
| parameter | Value Name |
| array | String Table |
| void OptimizationTable::SetRangeValue | ( | Variant & | indexOrName, |
| String & | parameter, | ||
| Variant & | value | ||
| ) |
Set the range values for optimization.
| indexOrName | Parametric Item Name |
| parameter | Value Name |
| value | Value |
| void OptimizationTable::SetRangeValueList | ( | Variant & | indexOrName, |
| String & | parameter, | ||
| String array & | array | ||
| ) |
Set the range table values for optimization.
| indexOrName | Parametric Item Name |
| parameter | Value Name |
| array | Table Values |
| void OptimizationTable::SetReservationKey | ( | String & | key | ) |
Specifies the license reservation key for the calculation.
| key | The dynamic reservation key |
| void OptimizationTable::SetRestartDataFromFile | ( | String & | filePath | ) |
Specifies the restart data from the restart data file.
| filePath | Restart file |
| void OptimizationTable::SetRestartFileOutputPath | ( | String & | filePath | ) |
Specifies the restart file to resume optimization from last iteration.
| filePath | Restart file |
| void OptimizationTable::SetResubmitCpuGroup | ( | String & | group | ) |
Specifies the CPU group for resubmitted calculations.
| group | CPU group |
| void OptimizationTable::SetResubmitMachine | ( | String & | machine | ) |
Specifies the machine name to resubmit calculations to.
| machine | Machine name |
| void OptimizationTable::SetRunAsProject | ( | bool | asProject | ) |
Specifies whether or not to send a project file.
| asProject | Whether or not to send a project file |
| void OptimizationTable::SetSendSSHSettings | ( | bool | sendSettings | ) |
Specifies whether to send SSH Settings to remote machine.
| sendSettings | Send SSH Settings to remote machine |
| void OptimizationTable::SetSimultaneousStudies | ( | int | value | ) |
Specifies the number of studies to be executed concurrently when executing the foreground calculation.
| value | Simultaneous Number of Studies |
| void OptimizationTable::SetSlurmOptions | ( | String & | slurmOptions | ) |
Specifies Slurm options.
| slurmOptions | Slurm options |
| void OptimizationTable::SetStopOnFailedCase | ( | bool | stop | ) |
Specifies whether or not to stop the calculation when an error occurs.
| stop | Whether or not to stop the calculation |
| void OptimizationTable::SetTolerance | ( | double | tolerance | ) |
Obsolete function.
| void OptimizationTable::SetUseJobSystem | ( | bool | useJobSystem | ) |
| void OptimizationTable::SetUseJobSystemTimeout | ( | bool | useTimeout | ) |
Specifies whether to use timeout of analysis job.
| useTimeout | Use JMAG Job system |
| void OptimizationTable::SetUseLicenseControl | ( | bool | useLicenseControl | ) |
Specifies whether to use License Control.
| useLicenseControl | Use License Control |
| void OptimizationTable::SetUseLocalCalculationFolder | ( | bool | use | ) |
Specifies whether or not to batch execution with local calculation folder.
| use | Whether or not to use local calculation folder |
| void OptimizationTable::SetUseMultiLicense | ( | bool | useMulti | ) |
Specifies if the calculation should use the LM-X multi-calculation license.
| useMulti | Boolean flag, True is use multi-license |
| String OptimizationTable::SlurmOptions | ( | ) |
Returns the Slurm options.
| bool OptimizationTable::StopOnFailedCase | ( | ) |
Specifies whether or not to stop a calculation when running a calculation.
| void OptimizationTable::Tolerance | ( | ) |
Obsolete function.
| bool OptimizationTable::UseJobSystem | ( | ) |
Returns whether or not to use JMAG job system.
| bool OptimizationTable::UseJobSystemTimeout | ( | ) |
Returns whether to use timeout of analysis job.
| bool OptimizationTable::UseLicenseControl | ( | ) |
Returns whether or not to use license control.
| void OptimizationTable::UseLocalCalculationFolder | ( | ) |
Specifies whether or not to batch execution with local calculation folder.
| use | Whether or not to use local calculation folder |