#include <EBSDMeshErrorTest.h>
Definition at line 23 of file EBSDMeshErrorTest.h.
◆ SetUp()
void EBSDMeshErrorTest::SetUp |
( |
| ) |
|
|
inlineprotected |
Definition at line 26 of file EBSDMeshErrorTest.h.
28 const char * argv[2] = {
"foo",
"\0"};
std::shared_ptr< MooseApp > createMooseApp(const std::string &default_app_type, int argc, char *argv[])
std::shared_ptr< MooseApp > _app
◆ testParam()
template<typename T >
void EBSDMeshErrorTest::testParam |
( |
unsigned int |
nparam, |
|
|
const char ** |
param_list, |
|
|
std::string |
name |
|
) |
| |
|
inlineprotected |
Definition at line 34 of file EBSDMeshErrorTest.h.
36 for (
unsigned int i = 0; i < nparam; ++i)
39 std::ostringstream oss;
40 oss <<
name <<
"_" << i;
45 params.
set<std::string>(
"_object_name") = oss.str();
46 params.
set<std::string>(
"_type") =
"EBSDMeshGenerator";
49 params.
set<T>(param_list[i]) = T(1.0);
52 params.
set<FileName>(
"filename") =
"DUMMY";
57 auto mesh = std::make_unique<EBSDMeshGenerator>(params);
61 catch (
const std::exception & e)
63 std::string msg(e.what());
65 msg.find(
"Do not specify mesh geometry information, it is read from the EBSD file.") !=
67 <<
"failed with unexpected error: " << msg;
static InputParameters validParams()
std::shared_ptr< MooseApp > _app
◆ _app
std::shared_ptr<MooseApp> EBSDMeshErrorTest::_app |
|
protected |
◆ _factory
Factory* EBSDMeshErrorTest::_factory |
|
protected |
The documentation for this class was generated from the following file: