MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / create

Method create

tools/Assembler/FESetting/FESettingFactory.cpp:58–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58FESettingFactory::FESettingPtr FESettingFactory::create() {
59 if (!m_mesh) {
60 throw RuntimeError("Mesh is not initialized");
61 }
62 if (!m_basis) {
63 throw RuntimeError("Basis is not initialized");
64 }
65 if (!m_material) {
66 throw RuntimeError("Material is not initialized");
67 }
68
69 return FESettingPtr(new FESetting(m_mesh, m_basis, m_material));
70}

Callers

nothing calls this directly

Calls 1

RuntimeErrorClass · 0.85

Tested by

no test coverage detected