FEM: solver obj, remove not needed comment since all attributes are implemented in the python solver objects
This commit is contained in:
parent
e4b0205d85
commit
2e984b5237
|
@ -42,20 +42,7 @@ PROPERTY_SOURCE(Fem::FemSolverObject, App::DocumentObject)
|
|||
|
||||
FemSolverObject::FemSolverObject()
|
||||
{
|
||||
|
||||
/*
|
||||
ADD_PROPERTY_TYPE(SolverName,("Calculix"), "Data",Prop_None,"Solver program name");
|
||||
ADD_PROPERTY_TYPE(Category,("FEM"), "Data",Prop_None,"FEM, CFD ...");
|
||||
ADD_PROPERTY_TYPE(Module,(""), "Data",Prop_None,"Python module name");
|
||||
ADD_PROPERTY_TYPE(ExternalCaseEditor,(""), "Data",Prop_None,"External case editor programe");
|
||||
ADD_PROPERTY_TYPE(ExternalResultViewer,(""), "Data",Prop_None,"External result viewer name");
|
||||
|
||||
ADD_PROPERTY_TYPE(AnalysisType,("Static"), "Solver",Prop_None,"Specific analysis type");
|
||||
ADD_PROPERTY_TYPE(WorkingDir,(Base::FileInfo::getTempPath()), "Solver",Prop_None,"Solver working directory");
|
||||
ADD_PROPERTY_TYPE(InputCaseName,("TestCase"), "Solver",Prop_None,"Solver input file without suffix");
|
||||
ADD_PROPERTY_TYPE(Parallel,(false), "Solver",Prop_None,"Run solver in parallel like MPI");
|
||||
ADD_PROPERTY_TYPE(ResultObtained,(false), "Solver",Prop_None,"if true, result has been obtained");
|
||||
*/
|
||||
// Attributes are implemented in the FemSolverObjectPython
|
||||
}
|
||||
|
||||
FemSolverObject::~FemSolverObject()
|
||||
|
|
|
@ -43,29 +43,7 @@ public:
|
|||
FemSolverObject(void);
|
||||
virtual ~FemSolverObject();
|
||||
|
||||
/*
|
||||
/// Solver name, unique to identify solver in registered_solver dict
|
||||
App::PropertyString SolverName;
|
||||
/// CAE category like FEM, all capitalised letters
|
||||
App::PropertyString Category;
|
||||
/// python module name
|
||||
App::PropertyString Module;
|
||||
/// Path or program name for external case editor, empty string means using FreeCAD to view
|
||||
App::PropertyString ExternalCaseEditor;
|
||||
/// Path to External Result Viewer like Paraview, empty string means using FreeCAD
|
||||
App::PropertyString ExternalResultViewer;
|
||||
|
||||
/// for FEM: Static, Frequency, etc
|
||||
App::PropertyString AnalysisType;
|
||||
/// Path of working dir for the solver
|
||||
App::PropertyString WorkingDir;
|
||||
/// name for the case file without suffix
|
||||
App::PropertyString InputCaseName;
|
||||
/// run parallel in MPI (message passing interface)/multiple cores or serial(single CPU)
|
||||
App::PropertyBool Parallel;
|
||||
/// result has been obtained, purge result may be needed for rerun
|
||||
App::PropertyBool ResultObtained;
|
||||
*/
|
||||
// Attributes are implemented in the FemSolverObjectPython
|
||||
|
||||
/// returns the type name of the ViewProvider
|
||||
virtual const char* getViewProviderName(void) const {
|
||||
|
|
Loading…
Reference in New Issue
Block a user