/*========================================================================= * * Copyright NumFOCUS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0.txt * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * *=========================================================================*/ #include "itkFEMFactory.h" #include "itkVersion.h" #include "itkFEMElement2DC0LinearLineStress.h" #include "itkFEMElement2DC0LinearQuadrilateralMembrane.h" #include "itkFEMElement2DC0LinearQuadrilateralStrain.h" #include "itkFEMElement2DC0LinearQuadrilateralStress.h" #include "itkFEMElement2DC0LinearTriangularMembrane.h" #include "itkFEMElement2DC0LinearTriangularStrain.h" #include "itkFEMElement2DC0LinearTriangularStress.h" #include "itkFEMElement2DC0QuadraticTriangularStrain.h" #include "itkFEMElement2DC0QuadraticTriangularStress.h" #include "itkFEMElement2DC1Beam.h" #include "itkFEMElement3DC0LinearHexahedronMembrane.h" #include "itkFEMElement3DC0LinearHexahedronStrain.h" #include "itkFEMElement3DC0LinearTetrahedronMembrane.h" #include "itkFEMElement3DC0LinearTetrahedronStrain.h" #include "itkFEMElement3DC0LinearTriangularLaplaceBeltrami.h" #include "itkFEMElement3DC0LinearTriangularMembrane.h" #include "itkFEMLoadPoint.h" #include "itkMetaFEMObjectConverter.h" namespace itk { FEMFactoryBase * FEMFactoryBase::m_Factory = nullptr; std::mutex FEMFactoryBase::m_CreationMutex; FEMFactoryBase::FEMFactoryBase() = default; FEMFactoryBase::~FEMFactoryBase() = default; void FEMFactoryBase::RegisterDefaultTypes() { // if( m_Factory == 0 ) { FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); FEMFactory::RegisterType(); } } const char * FEMFactoryBase::GetITKSourceVersion() const { return ITK_SOURCE_VERSION; } const char * FEMFactoryBase::GetDescription() const { return "FEM Factory Base"; } } // end namespace itk