Select Git revision
CMakeLists.txt
-
Stéphane Del Pino authored
The 'LinearSolver' class proposes mechanism to choose the used - library, - method, and - preconditioner Also one can adjust the required convergence epsilon, the maximum number of iterations and the verbosity. All of these options can be listed through the 'pgs' script using the 'printLSAvailable()' builtin function. One drive the linear system solver by changing values in the script. For instance: setLSVerbosity(true); setLSEpsilon(1E-9); setLSMaxIter(1000); setLSLibrary("PETSc"); setLSMethod("LU"); setLSPrecond("none"); Finally one can print the current options by using the 'printLSOptions()' function.
Stéphane Del Pino authoredThe 'LinearSolver' class proposes mechanism to choose the used - library, - method, and - preconditioner Also one can adjust the required convergence epsilon, the maximum number of iterations and the verbosity. All of these options can be listed through the 'pgs' script using the 'printLSAvailable()' builtin function. One drive the linear system solver by changing values in the script. For instance: setLSVerbosity(true); setLSEpsilon(1E-9); setLSMaxIter(1000); setLSLibrary("PETSc"); setLSMethod("LU"); setLSPrecond("none"); Finally one can print the current options by using the 'printLSOptions()' function.
CMakeLists.txt 3.52 KiB
set(EXECUTABLE_OUTPUT_PATH ${PUGS_BINARY_DIR})
include_directories(${PUGS_SOURCE_DIR}/src)
include_directories(${PUGS_BINARY_DIR}/src)
include_directories(${PUGS_SOURCE_DIR}/tests)
add_executable (unit_tests
test_main.cpp
test_AffectationProcessor.cpp
test_AffectationToStringProcessor.cpp
test_Array.cpp
test_ArraySubscriptProcessor.cpp
test_ArrayUtils.cpp
test_ASTBuilder.cpp
test_ASTDotPrinter.cpp
test_ASTModulesImporter.cpp
test_ASTNode.cpp
test_ASTNodeAffectationExpressionBuilder.cpp
test_ASTNodeArraySubscriptExpressionBuilder.cpp
test_ASTNodeBinaryOperatorExpressionBuilder.cpp
test_ASTNodeBuiltinFunctionExpressionBuilder.cpp
test_ASTNodeDataType.cpp
test_ASTNodeDataTypeBuilder.cpp
test_ASTNodeDataTypeChecker.cpp
test_ASTNodeDataTypeFlattener.cpp
test_ASTNodeDeclarationToAffectationConverter.cpp
test_ASTNodeEmptyBlockCleaner.cpp
test_ASTNodeExpressionBuilder.cpp
test_ASTNodeFunctionEvaluationExpressionBuilder.cpp
test_ASTNodeFunctionExpressionBuilder.cpp
test_ASTNodeIncDecExpressionBuilder.cpp
test_ASTNodeJumpPlacementChecker.cpp
test_ASTNodeListAffectationExpressionBuilder.cpp
test_ASTNodeListProcessor.cpp
test_ASTNodeNaturalConversionChecker.cpp
test_ASTNodeTypeCleaner.cpp
test_ASTNodeUnaryOperatorExpressionBuilder.cpp
test_ASTPrinter.cpp
test_ASTSymbolTableBuilder.cpp
test_ASTSymbolInitializationChecker.cpp
test_BreakProcessor.cpp
test_BinaryExpressionProcessor_arithmetic.cpp
test_BinaryExpressionProcessor_comparison.cpp
test_BinaryExpressionProcessor_equality.cpp
test_BinaryExpressionProcessor_logic.cpp
test_BiCGStab.cpp
test_BuiltinFunctionEmbedder.cpp
test_BuiltinFunctionEmbedderTable.cpp
test_BuiltinFunctionProcessor.cpp
test_CG.cpp
test_ContinueProcessor.cpp
test_ConcatExpressionProcessor.cpp
test_CRSMatrix.cpp
test_DataVariant.cpp
test_DoWhileProcessor.cpp
test_EmbeddedData.cpp
test_ExecutionPolicy.cpp
test_FakeProcessor.cpp
test_ForProcessor.cpp
test_FunctionProcessor.cpp
test_FunctionSymbolId.cpp
test_FunctionTable.cpp
test_IfProcessor.cpp
test_IncDecExpressionProcessor.cpp
test_INodeProcessor.cpp
test_ItemType.cpp
test_ListAffectationProcessor.cpp
test_MathModule.cpp
test_NameProcessor.cpp
test_OStreamProcessor.cpp