Go to the documentation of this file.
12 #include "gtest/gtest.h"
85 mesh_params.
set<std::string>(
"_object_name") =
"name1";
86 mesh_params.
set<std::string>(
"_type") =
"GeneratedMesh";
88 _mesh = libmesh_make_unique<GeneratedMesh>(mesh_params);
89 _mesh->setMeshBase(
_mesh->buildMeshBaseObject());
93 problem_params.
set<std::string>(
"_object_name") =
"name2";
96 _fe_problem->createQRules(QGAUSS, FIRST, FIRST, FIRST);
99 std::unique_ptr<MooseMesh>
_mesh;
100 std::shared_ptr<MooseApp>
_app;
std::shared_ptr< FEProblem > _fe_problem
std::shared_ptr< MooseObject > create(const std::string &obj_name, const std::string &name, InputParameters ¶meters, THREAD_ID tid=0, bool print_deprecated=true)
Build an object (must be registered) - THIS METHOD IS DEPRECATED (Use create<T>())
InputParameters getValidParams(const std::string &name)
Get valid parameters for the object.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
std::unique_ptr< MooseMesh > _mesh
Generic AppFactory class for building Application objects.
Base class for building basic unit tests for MOOSE objects that can live alone (like user objects,...
std::shared_ptr< MooseApp > _app
Generic factory class for build all sorts of objects.
MooseObjectUnitTest(const std::string &app_name)
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...