| 56 | } |
| 57 | |
| 58 | FESettingFactory::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 | } |
nothing calls this directly
no test coverage detected