Definition at line 47 of file builder_helper.C.
GRINSTesting::BuilderHelperTest::CPPUNIT_TEST_SUITE_END |
( |
| ) |
|
void GRINSTesting::BuilderHelperTest::tearDown |
( |
| ) |
|
|
inline |
void GRINSTesting::BuilderHelperTest::test_parse_var_sections |
( |
| ) |
|
|
inline |
Definition at line 65 of file builder_helper.C.
References GRINSTesting::SystemHelper::_input, GRINS::BuilderHelper::parse_var_sections(), and GRINSTesting::SystemHelper::setup_multiphysics_system().
67 std::string filename = std::string(GRINS_TEST_UNIT_INPUT_SRCDIR)+
"/default_bc_builder.in";
71 std::set<std::string> sections;
75 CPPUNIT_ASSERT_EQUAL(4,(
int)sections.size());
76 CPPUNIT_ASSERT( sections.find(
"Velocity") != sections.end() );
77 CPPUNIT_ASSERT( sections.find(
"Pressure") != sections.end() );
78 CPPUNIT_ASSERT( sections.find(
"Temperature") != sections.end() );
79 CPPUNIT_ASSERT( sections.find(
"SpeciesMassFractions") != sections.end() );
void setup_multiphysics_system(const std::string &filename)
libMesh::UniquePtr< GetPot > _input
static void parse_var_sections(const GetPot &input, std::set< std::string > §ions)
Parses the input file for [Variables] first-level subsections.
The documentation for this class was generated from the following file: