MCPcopy Create free account
hub / github.com/boutproject/BOUT-dev / isSection

Method isSection

src/sys/options.cxx:291–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289}
290
291bool Options::isSection(const std::string& name) const {
292 if (name.empty()) {
293 // Test this object
294 return is_section;
295 }
296
297 // Is there a child section?
298 const auto child = children.find(name);
299 if (child == children.end()) {
300 return false;
301 }
302 return child->second.isSection();
303}
304
305template <>
306Options& Options::assign<>(Field2D val, std::string source) {

Callers 5

BOUT_OMP_SAFEFunction · 0.80
writeGroupFunction · 0.80
writeGroupFunction · 0.80
TEST_FFunction · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.64
TESTFunction · 0.64