16 if (field_parser.search(1,
"ClusterSchedulerType")) {
17 std::string cluster_scheduler_type;
18 cluster_scheduler_type = field_parser.next(cluster_scheduler_type);
19 if(cluster_scheduler_type ==
"LOCAL")
21 std::cout <<
" !!! WARNING: " << std::endl;
22 std::cout <<
" Using the LOCAL job 'scheduler'. You will have to launch each script" << std::endl;
23 std::cout <<
" MANUALLY!!! Reason: MPI does not support recursive 'mpirun' calls" << std::endl;
26 else if(cluster_scheduler_type ==
"PBS")
28 else if(cluster_scheduler_type ==
"SLURM")
36 if (field_parser.search(1,
"ScratchFolderPath")) {
43 if (field_parser.search(1,
"CouplingMatricesFolder")) {
50 if (field_parser.search(1,
"UseRigidBodyModesB"))
53 if (field_parser.search(1,
"RBVectorBase")) {
60 if (field_parser.search(1,
"NbOfRBVectors")) {
79 if( field_parser.search(1,
"CoupledConvAbs") )
83 if( field_parser.search(1,
"CoupledConvRel") )
87 if( field_parser.search(1,
"CoupledCorrConvRel") )
91 if( field_parser.search(1,
"CoupledDiv") )
95 if( field_parser.search(1,
"CoupledIterMax") )
100 if ( field_parser.search(1,
"CGPreconditionerType") )
102 std::string CG_precond_type_string = field_parser.next(CG_precond_type_string);
103 if(CG_precond_type_string ==
"NONE")
105 else if(CG_precond_type_string ==
"Coupling_operator")
107 else if(CG_precond_type_string ==
"Coupling_operator_jacobi")
double CG_coupled_conv_rel
[CG] Relative residual convergence.
void get_input_params(GetPot &field_parser, feti_iterate_params &input_params)
Parser function for the coupled solver test programs.
int CG_coupled_conv_max
[CG] Maximum number of iterations.
double CG_coupled_div
[CG] Residual divergence.
bool bUseRigidBodyModes
[RB] Use the rigid body modes for the micro system?
carl::BaseCGPrecondType CG_precond_type
[CG] Type of preconditionner.
double CG_coupled_conv_abs
[CG] Absolute residual convergence.
std::string scratch_folder_path
Path to the folder which will be used to save the temporary files during the solve operation...
std::string coupling_folder_path
Folder containing the coupling matrices.
Structure containing the parameters for the setup initialization of the FETI solver.
std::string RB_vectors_base
[RB] Common path base for the micro system's rigid body mode vectors.
double CG_coupled_conv_corr
[CG] Relative rigid body mode convergence.
ClusterSchedulerType scheduler
Cluster scheduler software type. Values: PBS, SLURM (code not implemented for the later yet)...
int nb_of_rb_vectors
[RB] Number of RB mode vectors.