6 #include "../../include/userInputParameters.h" 7 #include "../../src/userInputParameters/userInputParameters.cc" 8 #include "../../include/vectorBCFunction.h" 9 #include "../../src/utilities/vectorBCFunction.cc" 10 #include "../../include/initialConditions.h" 15 int main(
int argc,
char **argv)
17 dealii::deallog.depth_console(3);
19 Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, numbers::invalid_unsigned_int);
23 inputFileReader input_file_reader(
"parameters_test.in",variable_attributes);
25 load_unit_test_inputs<2>(userInputs);
27 std::cout <<
"Beginning unit tests..." << std::endl;
29 int tests_passed = 0, total_tests = 0;
102 tests_passed += pass;
107 std::vector<int> rigidBodyModeComponents;
109 tests_passed += pass;
113 rigidBodyModeComponents.clear();
114 rigidBodyModeComponents.push_back(0);
116 tests_passed += pass;
133 tests_passed += pass;
139 tests_passed += pass;
145 tests_passed += pass;
151 tests_passed += pass;
157 tests_passed += pass;
163 tests_passed += pass;
169 tests_passed += pass;
175 tests_passed += pass;
181 tests_passed += pass;
187 tests_passed += pass;
191 sprintf(buffer,
"\n\nNumber of tests passed: %u/%u \n\n", tests_passed, total_tests);
195 std::ofstream result_file (
"unit_test_results.txt");
196 result_file << tests_passed << std::endl;
197 result_file << total_tests << std::endl;
bool test_LinearSolverParameters()
bool test_computeStress()
bool test_computeInvM(int argc, char **argv, userInputParameters< dim >)
bool test_setOutputTimeSteps()
bool test_EquationDependencyParser_postprocessing()
bool test_setRigidBodyModeConstraints(std::vector< int >, userInputParameters< dim > userInputs)
bool test_OrderParameterRemapper()
bool test_EquationDependencyParser_nonlinear()
bool test_SimplifiedGrainRepresentation()
int main(int argc, char **argv)
bool test_SimplifiedGrainManipulator_transferGrainIds()
bool test_NonlinearSolverParameters()
bool test_SimplifiedGrainManipulator_reassignGrains()
bool test_EquationDependencyParser_variables_and_residuals_needed()
bool test_get_entry_name_ending_list()
bool test_get_subsection_entry_list()