|
OOFEM 3.0
|
#include <classfactory.h>
Public Member Functions | |
| ClassFactory () | |
| Creates empty factory. | |
| std::map< std::string, std::list< std::string > > | getRegisteredNames () |
| std::unique_ptr< Element > | createElement (const char *name, int num, Domain *domain) |
| bool | registerElement (const char *name, std::unique_ptr< Element >(*creator)(int, Domain *)) |
| std::unique_ptr< DofManager > | createDofManager (const char *name, int num, Domain *domain) |
| bool | registerDofManager (const char *name, std::unique_ptr< DofManager >(*creator)(int, Domain *)) |
| std::unique_ptr< GeneralBoundaryCondition > | createBoundaryCondition (const char *name, int num, Domain *domain) |
| bool | registerBoundaryCondition (const char *name, std::unique_ptr< GeneralBoundaryCondition >(*creator)(int, Domain *)) |
| std::unique_ptr< CrossSection > | createCrossSection (const char *name, int num, Domain *domain) |
| bool | registerCrossSection (const char *name, std::unique_ptr< CrossSection >(*creator)(int, Domain *)) |
| std::unique_ptr< Material > | createMaterial (const char *name, int num, Domain *domain) |
| bool | registerMaterial (const char *name, std::unique_ptr< Material >(*creator)(int, Domain *)) |
| std::unique_ptr< EngngModel > | createEngngModel (const char *name, int num, EngngModel *master) |
| bool | registerEngngModel (const char *name, std::unique_ptr< EngngModel >(*creator)(int, EngngModel *)) |
| std::unique_ptr< Function > | createFunction (const char *name, int num, Domain *domain) |
| bool | registerFunction (const char *name, std::unique_ptr< Function >(*creator)(int, Domain *)) |
| std::unique_ptr< NonlocalBarrier > | createNonlocalBarrier (const char *name, int num, Domain *domain) |
| bool | registerNonlocalBarrier (const char *name, std::unique_ptr< NonlocalBarrier >(*creator)(int, Domain *)) |
| std::unique_ptr< ExportModule > | createExportModule (const char *name, int num, EngngModel *emodel) |
| bool | registerExportModule (const char *name, std::unique_ptr< ExportModule >(*creator)(int, EngngModel *)) |
| std::unique_ptr< Monitor > | createMonitor (const char *name, int num) |
| bool | registerMonitor (const char *name, std::unique_ptr< Monitor >(*creator)(int)) |
| std::unique_ptr< SparseNonLinearSystemNM > | createNonLinearSolver (const char *name, Domain *domain, EngngModel *emodel) |
| bool | registerSparseNonLinearSystemNM (const char *name, std::unique_ptr< SparseNonLinearSystemNM >(*creator)(Domain *, EngngModel *)) |
| std::unique_ptr< InitModule > | createInitModule (const char *name, int num, EngngModel *emodel) |
| bool | registerInitModule (const char *name, std::unique_ptr< InitModule >(*creator)(int, EngngModel *)) |
| std::unique_ptr< InitialCondition > | createInitialCondition (const char *name, int num, Domain *d) |
| std::unique_ptr< TopologyDescription > | createTopology (const char *name, Domain *domain) |
| bool | registerTopologyDescription (const char *name, std::unique_ptr< TopologyDescription >(*creator)(Domain *)) |
| std::unique_ptr< SparseMtrx > | createSparseMtrx (SparseMtrxType type) |
| bool | registerSparseMtrx (SparseMtrxType type, std::unique_ptr< SparseMtrx >(*creator)(void)) |
| Dof * | createDof (dofType type, DofIDItem dofid, DofManager *dman) |
| std::unique_ptr< SparseLinearSystemNM > | createSparseLinSolver (LinSystSolverType st, Domain *d, EngngModel *m) |
| bool | registerSparseLinSolver (LinSystSolverType type, std::unique_ptr< SparseLinearSystemNM >(*creator)(Domain *, EngngModel *)) |
| std::unique_ptr< ErrorEstimator > | createErrorEstimator (ErrorEstimatorType type, int num, Domain *d) |
| bool | registerErrorEstimator (ErrorEstimatorType type, std::unique_ptr< ErrorEstimator >(*creator)(int, Domain *)) |
| bool | registerNodalRecoveryModel (NodalRecoveryModel ::NodalRecoveryModelType name, std::unique_ptr< NodalRecoveryModel >(*creator)(Domain *)) |
| std::unique_ptr< NodalRecoveryModel > | createNodalRecoveryModel (NodalRecoveryModel ::NodalRecoveryModelType type, Domain *d) |
| std::unique_ptr< EnrichmentItem > | createEnrichmentItem (const char *name, int num, XfemManager *xm, Domain *domain) |
| bool | registerEnrichmentItem (const char *name, std::unique_ptr< EnrichmentItem >(*creator)(int, XfemManager *, Domain *)) |
| std::unique_ptr< NucleationCriterion > | createNucleationCriterion (const char *name, Domain *domain) |
| bool | registerNucleationCriterion (const char *name, std::unique_ptr< NucleationCriterion >(*creator)(Domain *)) |
| std::unique_ptr< EnrichmentFunction > | createEnrichmentFunction (const char *name, int num, Domain *domain) |
| bool | registerEnrichmentFunction (const char *name, std::unique_ptr< EnrichmentFunction >(*creator)(int, Domain *)) |
| std::unique_ptr< EnrichmentFront > | createEnrichmentFront (const char *name) |
| bool | registerEnrichmentFront (const char *name, std::unique_ptr< EnrichmentFront >(*creator)()) |
| std::unique_ptr< PropagationLaw > | createPropagationLaw (const char *name) |
| bool | registerPropagationLaw (const char *name, std::unique_ptr< PropagationLaw >(*creator)()) |
| std::unique_ptr< BasicGeometry > | createGeometry (const char *name) |
| bool | registerGeometry (const char *name, std::unique_ptr< BasicGeometry >(*creator)()) |
| std::unique_ptr< XfemManager > | createXfemManager (const char *name, Domain *domain) |
| bool | registerXfemManager (const char *name, std::unique_ptr< XfemManager >(*creator)(Domain *)) |
| std::unique_ptr< ContactSurface > | createContactSurface (const char *name, int num, Domain *domain) |
| bool | registerContactSurface (const char *name, std::unique_ptr< ContactSurface >(*creator)(int, Domain *)) |
| std::unique_ptr< Term > | createTerm (const char *name) |
| bool | registerTerm (const char *name, std::unique_ptr< Term >(*creator)()) |
| std::unique_ptr< FailureCriteria > | createFailureCriteria (const char *name, int num, FractureManager *fracManager) |
| bool | registerFailureCriteria (const char *name, std::unique_ptr< FailureCriteria >(*creator)(int, FractureManager *)) |
| std::unique_ptr< FailureCriteriaStatus > | createFailureCriteriaStatus (const char *name, int num, FailureCriteria *critManager) |
| bool | registerFailureCriteriaStatus (const char *name, std::unique_ptr< FailureCriteriaStatus >(*creator)(int, FailureCriteria *)) |
| std::unique_ptr< SparseGeneralEigenValueSystemNM > | createGeneralizedEigenValueSolver (GenEigvalSolverType name, Domain *d, EngngModel *m) |
| bool | registerGeneralizedEigenValueSolver (GenEigvalSolverType name, std::unique_ptr< SparseGeneralEigenValueSystemNM >(*creator)(Domain *, EngngModel *)) |
| std::unique_ptr< IntegrationRule > | createIRule (IntegrationRuleType name, int number, Element *e) |
| std::unique_ptr< MaterialMappingAlgorithm > | createMaterialMappingAlgorithm (MaterialMappingAlgorithmType name) |
| bool | registerMaterialMappingAlgorithm (MaterialMappingAlgorithmType name, std::unique_ptr< MaterialMappingAlgorithm >(*creator)()) |
| std::unique_ptr< MesherInterface > | createMesherInterface (MeshPackageType name, Domain *d) |
| bool | registerMesherInterface (MeshPackageType name, std::unique_ptr< MesherInterface >(*creator)(Domain *)) |
| std::unique_ptr< LoadBalancerMonitor > | createLoadBalancerMonitor (const char *name, EngngModel *e) |
| bool | registerLoadBalancerMonitor (const char *name, std::unique_ptr< LoadBalancerMonitor >(*creator)(EngngModel *)) |
| std::unique_ptr< LoadBalancer > | createLoadBalancer (const char *name, Domain *d) |
| bool | registerLoadBalancer (const char *name, std::unique_ptr< LoadBalancer >(*creator)(Domain *)) |
| std::unique_ptr< TimeStepReductionStrategy > | createTimeStepReductionStrategy (const char *name, int number) |
| bool | registerTimeStepReductionStrategy (const char *name, std::unique_ptr< TimeStepReductionStrategy >(*creator)(int)) |
| std::unique_ptr< Field > | createField (const char *name) |
| bool | registerField (const char *name, std::unique_ptr< Field >(*creator)()) |
Private Attributes | |
| std ::map< std ::string, std::unique_ptr< Element >(*)(int, Domain *) > | elemList |
| Associative container containing element creators with element name as key. | |
| std ::map< std ::string, std::unique_ptr< DofManager >(*)(int, Domain *) > | dofmanList |
| Associative container containing dofmanager creators with dofmanager name as key. | |
| std ::map< std ::string, std::unique_ptr< GeneralBoundaryCondition >(*)(int, Domain *) > | bcList |
| Associative container containing boundary condition creators with bc name as key. | |
| std ::map< std ::string, std::unique_ptr< CrossSection >(*)(int, Domain *) > | csList |
| Associative container containing cross section creators with cross section name as key. | |
| std ::map< std ::string, std::unique_ptr< Material >(*)(int, Domain *) > | matList |
| Associative container containing material creators with material name as key. | |
| std ::map< std ::string, std::unique_ptr< EngngModel >(*)(int, EngngModel *) > | engngList |
| Associative container containing engng model creators with engng model name as key. | |
| std ::map< std ::string, std::unique_ptr< Function >(*)(int, Domain *) > | funcList |
| Associative container containing load time function creators with function name as key. | |
| std ::map< std ::string, std::unique_ptr< NonlocalBarrier >(*)(int, Domain *) > | nlbList |
| Associative container containing nonlocal barriers creators with barrier name as key. | |
| std ::map< std ::string, std::unique_ptr< ExportModule >(*)(int, EngngModel *) > | exportList |
| Associative container containing export module creators. | |
| std ::map< std ::string, std::unique_ptr< Monitor >(*)(int) > | monitorList |
| Associative container containing monitor creators. | |
| std ::map< std ::string, std::unique_ptr< SparseNonLinearSystemNM >(*)(Domain *, EngngModel *) > | nonlinList |
| Associative container containing nonlinear solver creators. | |
| std ::map< std ::string, std::unique_ptr< InitModule >(*)(int, EngngModel *) > | initList |
| Associative container containing init module creators. | |
| std ::map< std ::string, std::unique_ptr< TopologyDescription >(*)(Domain *) > | topologyList |
| Associative container containing topology description creators. | |
| std ::map< std ::string, std::unique_ptr< LoadBalancer >(*)(Domain *) > | loadBalancerList |
| Associative container containing load balancer creators. | |
| std ::map< std ::string, std::unique_ptr< LoadBalancerMonitor >(*)(EngngModel *) > | loadMonitorList |
| Associative container containing load balancer monitor creators. | |
| std ::map< SparseMtrxType, std::unique_ptr< SparseMtrx >(*)() > | sparseMtrxList |
| Associative container containing sparse matrix creators. | |
| std ::map< dofType, Dof *(*)(DofIDItem, DofManager *) > | dofList |
| Associative container containing dof creators. | |
| std ::map< ErrorEstimatorType, std::unique_ptr< ErrorEstimator >(*)(int, Domain *) > | errEstList |
| Associative container containing error estimator creators. | |
| std ::map< LinSystSolverType, std::unique_ptr< SparseLinearSystemNM >(*)(Domain *, EngngModel *) > | sparseLinSolList |
| Associative container containing sparse linear solver creators. | |
| std ::map< NodalRecoveryModel ::NodalRecoveryModelType, std::unique_ptr< NodalRecoveryModel >(*)(Domain *) > | nodalRecoveryModelList |
| Associative container containing nodal recovery model creators. | |
| std ::map< GenEigvalSolverType, std::unique_ptr< SparseGeneralEigenValueSystemNM >(*)(Domain *, EngngModel *) > | generalizedEigenValueSolverList |
| Associative container containing sparse generalized eigenvalue creators. | |
| std ::map< MaterialMappingAlgorithmType, std::unique_ptr< MaterialMappingAlgorithm >(*)() > | materialMappingList |
| Associative container containing material mapping algorithm creators. | |
| std ::map< MeshPackageType, std::unique_ptr< MesherInterface >(*)(Domain *) > | mesherInterfaceList |
| Associative container containing mesher interface creators. | |
| std ::map< std ::string, std::unique_ptr< EnrichmentItem >(*)(int, XfemManager *, Domain *) > | enrichItemList |
| Associative container containing enrichment item creators. | |
| std ::map< std ::string, std::unique_ptr< NucleationCriterion >(*)(Domain *) > | nucleationCritList |
| Associative container containing nucleation criterion creators. | |
| std ::map< std ::string, std::unique_ptr< EnrichmentFunction >(*)(int, Domain *) > | enrichFuncList |
| Associative container containing enrichment function creators. | |
| std ::map< std ::string, std::unique_ptr< BasicGeometry >(*)() > | geometryList |
| Associative container containing geometry creators. | |
| std ::map< std ::string, std::unique_ptr< EnrichmentDomain >(*)() > | enrichmentDomainList |
| Associative container containing enrichment-domain creators. | |
| std ::map< std ::string, std::unique_ptr< EnrichmentFront >(*)() > | enrichmentFrontList |
| Associative container containing enrichment front creators. | |
| std ::map< std ::string, std::unique_ptr< PropagationLaw >(*)() > | propagationLawList |
| Associative container containing propagation law creators. | |
| std ::map< std ::string, std::unique_ptr< XfemManager >(*)(Domain *) > | xManList |
| Associative container containing XfemManager creators. | |
| std ::map< std ::string, std::unique_ptr< FailureCriteria >(*)(int, FractureManager *) > | failureCriteriaList |
| Associative container containing failure criteria creators. | |
| std ::map< std ::string, std::unique_ptr< FailureCriteriaStatus >(*)(int, FailureCriteria *) > | failureCriteriaStatusList |
| std ::map< std ::string, std::unique_ptr< TimeStepReductionStrategy >(*)(int) > | timeStepReductionStrategyList |
| Associative container containing TimeStepReductionStrategy. | |
| std::map< std::string, std::unique_ptr< ContactSurface >(*)(int, Domain *) > | contactSurfaceList |
| Associative container containing contact surface creators with name as key. | |
| std ::map< std ::string, std::unique_ptr< Field >(*)() > | fieldList |
| Associative container containing Field creators. | |
| std ::map< std ::string, std::unique_ptr< Term >(*)() > | termList |
| MPM stuff. | |
Class Factory allows to register terminal oofem classes, based on their membership (classes representing elements, dof managers, material models, etc) and create them on demand according to their name or id. Global instance of ClassFactory named classFactory is created on startup.
Definition at line 191 of file classfactory.h.
| oofem::ClassFactory::ClassFactory | ( | ) |
Creates empty factory.
Definition at line 136 of file classfactory.C.
References oofem::dofCreator(), and dofList.
| std::unique_ptr< GeneralBoundaryCondition > oofem::ClassFactory::createBoundaryCondition | ( | const char * | name, |
| int | num, | ||
| Domain * | domain ) |
Creates new instance of boundary condition corresponding to given keyword.
| name | Keyword string determining the type of new instance. |
| num | number of new object. |
| domain | Domain assigned to new object. |
Definition at line 219 of file classfactory.C.
References bcList, and oofem::cf_create().
| std::unique_ptr< ContactSurface > oofem::ClassFactory::createContactSurface | ( | const char * | name, |
| int | num, | ||
| Domain * | domain ) |
Definition at line 229 of file classfactory.C.
References oofem::cf_create(), and contactSurfaceList.
| std::unique_ptr< CrossSection > oofem::ClassFactory::createCrossSection | ( | const char * | name, |
| int | num, | ||
| Domain * | domain ) |
Creates new instance of cross section corresponding to given keyword.
| name | Keyword string determining the type of new instance. |
| num | object's number. |
| domain | Domain assigned to new object. |
Definition at line 242 of file classfactory.C.
References oofem::cf_create(), and csList.
| Dof * oofem::ClassFactory::createDof | ( | dofType | type, |
| DofIDItem | dofid, | ||
| DofManager * | dman ) |
Creates new instance of DOF corresponding to given keyword.
| type | ID determining the type of new instance. |
| dofid | The dof ID. |
| dman | Dof manager assigned to new object. |
Definition at line 155 of file classfactory.C.
References oofem::cf_create2(), and dofList.
| std::unique_ptr< DofManager > oofem::ClassFactory::createDofManager | ( | const char * | name, |
| int | num, | ||
| Domain * | domain ) |
Creates new instance of Dof manager corresponding to given keyword.
| name | Keyword string determining the type of new instance. |
| num | dofmanager number. |
| domain | Domain assigned to new instance. |
Definition at line 209 of file classfactory.C.
References oofem::cf_create(), and dofmanList.
| std::unique_ptr< Element > oofem::ClassFactory::createElement | ( | const char * | name, |
| int | num, | ||
| Domain * | domain ) |
Creates new instance of element corresponding to given keyword.
| name | Keyword string determining the type of new instance. |
| num | Element number. |
| domain | Domain assigned to new element. |
Definition at line 199 of file classfactory.C.
References oofem::cf_create(), and elemList.
| std::unique_ptr< EngngModel > oofem::ClassFactory::createEngngModel | ( | const char * | name, |
| int | num, | ||
| EngngModel * | master ) |
Creates new instance of engng model corresponding to given keyword.
| name | Keyword string determining the type of new instance. |
| num | Engng model number. |
| master | Master engineering model (used for multiscale modeling). |
Definition at line 262 of file classfactory.C.
References oofem::cf_create(), and engngList.
| std::unique_ptr< EnrichmentFront > oofem::ClassFactory::createEnrichmentFront | ( | const char * | name | ) |
Definition at line 386 of file classfactory.C.
References oofem::cf_create(), and enrichmentFrontList.
| std::unique_ptr< EnrichmentFunction > oofem::ClassFactory::createEnrichmentFunction | ( | const char * | name, |
| int | num, | ||
| Domain * | domain ) |
Definition at line 364 of file classfactory.C.
References oofem::cf_create(), and enrichFuncList.
| std::unique_ptr< EnrichmentItem > oofem::ClassFactory::createEnrichmentItem | ( | const char * | name, |
| int | num, | ||
| XfemManager * | xm, | ||
| Domain * | domain ) |
Definition at line 344 of file classfactory.C.
References oofem::cf_create(), and enrichItemList.
| std::unique_ptr< ErrorEstimator > oofem::ClassFactory::createErrorEstimator | ( | ErrorEstimatorType | type, |
| int | num, | ||
| Domain * | d ) |
Creates new instance of ErrorEstimator corresponding to given type.
| type | ErrorEstimatorType id determining the type of new instance. |
| num | object's number. |
| d | Domain assigned to new object. |
Definition at line 170 of file classfactory.C.
References oofem::cf_create4(), and errEstList.
| std::unique_ptr< ExportModule > oofem::ClassFactory::createExportModule | ( | const char * | name, |
| int | num, | ||
| EngngModel * | emodel ) |
Creates new instance of export module corresponding to given keyword.
| name | Keyword string determining the type of new instance. |
| num | Export module number. |
| emodel | Engineering model that object belongs to. |
Definition at line 292 of file classfactory.C.
References oofem::cf_create(), and exportList.
| std::unique_ptr< FailureCriteria > oofem::ClassFactory::createFailureCriteria | ( | const char * | name, |
| int | num, | ||
| FractureManager * | fracManager ) |
Definition at line 429 of file classfactory.C.
References oofem::cf_create(), and failureCriteriaList.
| std::unique_ptr< FailureCriteriaStatus > oofem::ClassFactory::createFailureCriteriaStatus | ( | const char * | name, |
| int | num, | ||
| FailureCriteria * | critManager ) |
Definition at line 439 of file classfactory.C.
References oofem::cf_create(), and failureCriteriaStatusList.
| std::unique_ptr< Field > oofem::ClassFactory::createField | ( | const char * | name | ) |
Definition at line 536 of file classfactory.C.
References oofem::cf_create(), and fieldList.
| std::unique_ptr< Function > oofem::ClassFactory::createFunction | ( | const char * | name, |
| int | num, | ||
| Domain * | domain ) |
Creates new instance of load time function corresponding to given keyword.
| name | Keyword string determining the type of new instance. |
| num | object's number. |
| domain | Domain assigned to new object. |
Definition at line 272 of file classfactory.C.
References oofem::cf_create(), and funcList.
| std::unique_ptr< SparseGeneralEigenValueSystemNM > oofem::ClassFactory::createGeneralizedEigenValueSolver | ( | GenEigvalSolverType | name, |
| Domain * | d, | ||
| EngngModel * | m ) |
Definition at line 451 of file classfactory.C.
References oofem::cf_create4(), and generalizedEigenValueSolverList.
| std::unique_ptr< BasicGeometry > oofem::ClassFactory::createGeometry | ( | const char * | name | ) |
Definition at line 406 of file classfactory.C.
References oofem::cf_create(), and geometryList.
| std::unique_ptr< InitialCondition > oofem::ClassFactory::createInitialCondition | ( | const char * | name, |
| int | num, | ||
| Domain * | d ) |
Creates new instance of Initial Condition corresponding to given type.
| name | Keyword string determining the type of new instance. |
| num | object's number. |
| d | Domain assigned to new object. |
Definition at line 180 of file classfactory.C.
References oofem::conv2lower().
| std::unique_ptr< InitModule > oofem::ClassFactory::createInitModule | ( | const char * | name, |
| int | num, | ||
| EngngModel * | emodel ) |
Creates new instance of init module corresponding to given keyword.
| name | Keyword string determining the type of new instance. |
| num | Init module number. |
| emodel | Engineering model that object belongs to. |
Definition at line 322 of file classfactory.C.
References oofem::cf_create(), and initList.
| std::unique_ptr< IntegrationRule > oofem::ClassFactory::createIRule | ( | IntegrationRuleType | name, |
| int | number, | ||
| Element * | e ) |
Definition at line 461 of file classfactory.C.
References oofem::IRT_Gauss, and oofem::IRT_Lobatto.
| std::unique_ptr< LoadBalancer > oofem::ClassFactory::createLoadBalancer | ( | const char * | name, |
| Domain * | d ) |
Definition at line 502 of file classfactory.C.
References oofem::cf_create(), and loadBalancerList.
| std::unique_ptr< LoadBalancerMonitor > oofem::ClassFactory::createLoadBalancerMonitor | ( | const char * | name, |
| EngngModel * | e ) |
Definition at line 492 of file classfactory.C.
References oofem::cf_create(), and loadMonitorList.
| std::unique_ptr< Material > oofem::ClassFactory::createMaterial | ( | const char * | name, |
| int | num, | ||
| Domain * | domain ) |
Creates new instance of material corresponding to given keyword.
| name | Keyword string determining the type of new instance. |
| num | material number. |
| domain | Domain assigned to new material. |
Definition at line 252 of file classfactory.C.
References oofem::cf_create(), and matList.
| std::unique_ptr< MaterialMappingAlgorithm > oofem::ClassFactory::createMaterialMappingAlgorithm | ( | MaterialMappingAlgorithmType | name | ) |
Definition at line 476 of file classfactory.C.
References oofem::cf_create4(), and materialMappingList.
| std::unique_ptr< MesherInterface > oofem::ClassFactory::createMesherInterface | ( | MeshPackageType | name, |
| Domain * | d ) |
Definition at line 486 of file classfactory.C.
References oofem::cf_create4(), and mesherInterfaceList.
| std::unique_ptr< Monitor > oofem::ClassFactory::createMonitor | ( | const char * | name, |
| int | num ) |
Creates new instance of monitor corresponding to given keyword.
| name | Keyword string determining the type of new instance. |
| num | Monitor number. |
Definition at line 302 of file classfactory.C.
References oofem::cf_create(), and monitorList.
| std::unique_ptr< NodalRecoveryModel > oofem::ClassFactory::createNodalRecoveryModel | ( | NodalRecoveryModel ::NodalRecoveryModelType | type, |
| Domain * | d ) |
Creates new instance of nodal recovery model corresponding to given type.
| type | ID determining the type of new instance. |
| d | Domain assigned to new object. |
Definition at line 193 of file classfactory.C.
References oofem::cf_create4(), and nodalRecoveryModelList.
| std::unique_ptr< SparseNonLinearSystemNM > oofem::ClassFactory::createNonLinearSolver | ( | const char * | name, |
| Domain * | domain, | ||
| EngngModel * | emodel ) |
Creates new instance of nonlinear solver corresponding to given keyword.
| name | Keyword string determining the type of new instance. |
| domain | Domain assigned to new object. |
| emodel | Engineering model that object belongs to. |
Definition at line 312 of file classfactory.C.
References oofem::cf_create(), and nonlinList.
| std::unique_ptr< NonlocalBarrier > oofem::ClassFactory::createNonlocalBarrier | ( | const char * | name, |
| int | num, | ||
| Domain * | domain ) |
Creates new instance of nonlocal barrier corresponding to given keyword.
| name | Keyword string determining the type of new instance. |
| num | object's number. |
| domain | Domain assigned to new object. |
Definition at line 282 of file classfactory.C.
References oofem::cf_create(), and nlbList.
| std::unique_ptr< NucleationCriterion > oofem::ClassFactory::createNucleationCriterion | ( | const char * | name, |
| Domain * | domain ) |
Definition at line 354 of file classfactory.C.
References oofem::cf_create(), and nucleationCritList.
| std::unique_ptr< PropagationLaw > oofem::ClassFactory::createPropagationLaw | ( | const char * | name | ) |
Definition at line 396 of file classfactory.C.
References oofem::cf_create(), and propagationLawList.
| std::unique_ptr< SparseLinearSystemNM > oofem::ClassFactory::createSparseLinSolver | ( | LinSystSolverType | st, |
| Domain * | d, | ||
| EngngModel * | m ) |
Creates new instance of SparseLinearSystemNM corresponding to given type.
| st | LinSystSolverType id determining the type of new instance. |
| d | Domain assigned to new object. |
| m | EngngModel assigned to new object. |
Definition at line 160 of file classfactory.C.
References oofem::cf_create4(), and sparseLinSolList.
Referenced by oofem::InverseIteration::solve().
| std::unique_ptr< SparseMtrx > oofem::ClassFactory::createSparseMtrx | ( | SparseMtrxType | type | ) |
Creates new instance of sparse matrix corresponding to given keyword.
| type | SparseMtrxType id determining the type of new instance. |
Definition at line 145 of file classfactory.C.
References oofem::cf_create4(), and sparseMtrxList.
| std::unique_ptr< Term > oofem::ClassFactory::createTerm | ( | const char * | name | ) |
Definition at line 525 of file classfactory.C.
References oofem::cf_create(), and termList.
| std::unique_ptr< TimeStepReductionStrategy > oofem::ClassFactory::createTimeStepReductionStrategy | ( | const char * | name, |
| int | number ) |
Definition at line 513 of file classfactory.C.
References oofem::cf_create(), and timeStepReductionStrategyList.
| std::unique_ptr< TopologyDescription > oofem::ClassFactory::createTopology | ( | const char * | name, |
| Domain * | domain ) |
Creates new instance of topology description corresponding to given keyword.
| name | Keyword string determining the type of new instance. |
| domain | Domain assigned to new object. |
Definition at line 332 of file classfactory.C.
References oofem::cf_create(), and topologyList.
| std::unique_ptr< XfemManager > oofem::ClassFactory::createXfemManager | ( | const char * | name, |
| Domain * | domain ) |
Definition at line 416 of file classfactory.C.
References oofem::cf_create(), and xManList.
| std::map< std::string, std::list< std::string > > oofem::ClassFactory::getRegisteredNames | ( | ) |
Definition at line 546 of file classfactory.C.
References bcList, contactSurfaceList, csList, dofList, dofmanList, E, elemList, engngList, enrichFuncList, enrichmentFrontList, errEstList, exportList, failureCriteriaList, failureCriteriaStatusList, fieldList, funcList, generalizedEigenValueSolverList, geometryList, initList, loadBalancerList, loadMonitorList, materialMappingList, matList, mesherInterfaceList, monitorList, N, nlbList, nodalRecoveryModelList, nonlinList, propagationLawList, sparseLinSolList, sparseMtrxList, termList, topologyList, and xManList.
| bool oofem::ClassFactory::registerBoundaryCondition | ( | const char * | name, |
| std::unique_ptr< GeneralBoundaryCondition >(* | creator )(int, Domain *) ) |
Registers a new boundary condition in the class factory.
| name | Keyword string. |
Definition at line 224 of file classfactory.C.
References bcList, and oofem::cf_store().
| bool oofem::ClassFactory::registerContactSurface | ( | const char * | name, |
| std::unique_ptr< ContactSurface >(* | creator )(int, Domain *) ) |
Definition at line 235 of file classfactory.C.
References oofem::cf_store(), and contactSurfaceList.
| bool oofem::ClassFactory::registerCrossSection | ( | const char * | name, |
| std::unique_ptr< CrossSection >(* | creator )(int, Domain *) ) |
Registers a new cross section in the class factory.
| name | Keyword string. |
Definition at line 247 of file classfactory.C.
References oofem::cf_store(), and csList.
| bool oofem::ClassFactory::registerDofManager | ( | const char * | name, |
| std::unique_ptr< DofManager >(* | creator )(int, Domain *) ) |
Registers a new dof manager in the class factory.
| name | Keyword string. |
Definition at line 214 of file classfactory.C.
References oofem::cf_store(), and dofmanList.
| bool oofem::ClassFactory::registerElement | ( | const char * | name, |
| std::unique_ptr< Element >(* | creator )(int, Domain *) ) |
Registers a new element in the class factory.
| name | Keyword string. |
Definition at line 204 of file classfactory.C.
References oofem::cf_store(), and elemList.
| bool oofem::ClassFactory::registerEngngModel | ( | const char * | name, |
| std::unique_ptr< EngngModel >(* | creator )(int, EngngModel *) ) |
Registers a new engineering model in the class factory.
| name | Keyword string. |
Definition at line 267 of file classfactory.C.
References oofem::cf_store(), and engngList.
| bool oofem::ClassFactory::registerEnrichmentFront | ( | const char * | name, |
| std::unique_ptr< EnrichmentFront >(* | creator )() ) |
Definition at line 391 of file classfactory.C.
References oofem::cf_store(), and enrichmentFrontList.
| bool oofem::ClassFactory::registerEnrichmentFunction | ( | const char * | name, |
| std::unique_ptr< EnrichmentFunction >(* | creator )(int, Domain *) ) |
Definition at line 369 of file classfactory.C.
References oofem::cf_store(), and enrichFuncList.
| bool oofem::ClassFactory::registerEnrichmentItem | ( | const char * | name, |
| std::unique_ptr< EnrichmentItem >(* | creator )(int, XfemManager *, Domain *) ) |
Definition at line 349 of file classfactory.C.
References oofem::cf_store(), and enrichItemList.
| bool oofem::ClassFactory::registerErrorEstimator | ( | ErrorEstimatorType | type, |
| std::unique_ptr< ErrorEstimator >(* | creator )(int, Domain *) ) |
Registers a new error estimator.
| type | ErrorEstimatorType id determining the type of new instance. |
Definition at line 175 of file classfactory.C.
References oofem::cf_store2(), and errEstList.
| bool oofem::ClassFactory::registerExportModule | ( | const char * | name, |
| std::unique_ptr< ExportModule >(* | creator )(int, EngngModel *) ) |
Registers a new export module in the class factory.
| name | Keyword string. |
Definition at line 297 of file classfactory.C.
References oofem::cf_store(), and exportList.
| bool oofem::ClassFactory::registerFailureCriteria | ( | const char * | name, |
| std::unique_ptr< FailureCriteria >(* | creator )(int, FractureManager *) ) |
Definition at line 434 of file classfactory.C.
References oofem::cf_store(), and failureCriteriaList.
| bool oofem::ClassFactory::registerFailureCriteriaStatus | ( | const char * | name, |
| std::unique_ptr< FailureCriteriaStatus >(* | creator )(int, FailureCriteria *) ) |
Definition at line 444 of file classfactory.C.
References oofem::cf_store(), and failureCriteriaStatusList.
| bool oofem::ClassFactory::registerField | ( | const char * | name, |
| std::unique_ptr< Field >(* | creator )() ) |
Definition at line 541 of file classfactory.C.
References oofem::cf_store(), and fieldList.
| bool oofem::ClassFactory::registerFunction | ( | const char * | name, |
| std::unique_ptr< Function >(* | creator )(int, Domain *) ) |
Registers a new load time function in the class factory.
| name | Keyword string. |
Definition at line 277 of file classfactory.C.
References oofem::cf_store(), and funcList.
| bool oofem::ClassFactory::registerGeneralizedEigenValueSolver | ( | GenEigvalSolverType | name, |
| std::unique_ptr< SparseGeneralEigenValueSystemNM >(* | creator )(Domain *, EngngModel *) ) |
Definition at line 456 of file classfactory.C.
References oofem::cf_store2(), and generalizedEigenValueSolverList.
| bool oofem::ClassFactory::registerGeometry | ( | const char * | name, |
| std::unique_ptr< BasicGeometry >(* | creator )() ) |
Definition at line 411 of file classfactory.C.
References oofem::cf_store(), and geometryList.
| bool oofem::ClassFactory::registerInitModule | ( | const char * | name, |
| std::unique_ptr< InitModule >(* | creator )(int, EngngModel *) ) |
Registers a new init module in the class factory.
| name | Keyword string. |
Definition at line 327 of file classfactory.C.
References oofem::cf_store(), and initList.
| bool oofem::ClassFactory::registerLoadBalancer | ( | const char * | name, |
| std::unique_ptr< LoadBalancer >(* | creator )(Domain *) ) |
Definition at line 507 of file classfactory.C.
References oofem::cf_store(), and loadBalancerList.
| bool oofem::ClassFactory::registerLoadBalancerMonitor | ( | const char * | name, |
| std::unique_ptr< LoadBalancerMonitor >(* | creator )(EngngModel *) ) |
Definition at line 497 of file classfactory.C.
References oofem::cf_store(), and loadMonitorList.
| bool oofem::ClassFactory::registerMaterial | ( | const char * | name, |
| std::unique_ptr< Material >(* | creator )(int, Domain *) ) |
Registers a new material in the class factory.
| name | Keyword string. |
Definition at line 257 of file classfactory.C.
References oofem::cf_store(), and matList.
| bool oofem::ClassFactory::registerMaterialMappingAlgorithm | ( | MaterialMappingAlgorithmType | name, |
| std::unique_ptr< MaterialMappingAlgorithm >(* | creator )() ) |
Definition at line 471 of file classfactory.C.
References oofem::cf_store2(), and materialMappingList.
| bool oofem::ClassFactory::registerMesherInterface | ( | MeshPackageType | name, |
| std::unique_ptr< MesherInterface >(* | creator )(Domain *) ) |
Definition at line 481 of file classfactory.C.
References oofem::cf_store2(), and mesherInterfaceList.
| bool oofem::ClassFactory::registerMonitor | ( | const char * | name, |
| std::unique_ptr< Monitor >(* | creator )(int) ) |
Registers a new monitor in the class factory.
| name | Keyword string. |
Definition at line 307 of file classfactory.C.
References oofem::cf_store(), and monitorList.
| bool oofem::ClassFactory::registerNodalRecoveryModel | ( | NodalRecoveryModel ::NodalRecoveryModelType | name, |
| std::unique_ptr< NodalRecoveryModel >(* | creator )(Domain *) ) |
Registers a new nodal recovery model.
| name | Indentifier. |
Definition at line 188 of file classfactory.C.
References oofem::cf_store2(), and nodalRecoveryModelList.
| bool oofem::ClassFactory::registerNonlocalBarrier | ( | const char * | name, |
| std::unique_ptr< NonlocalBarrier >(* | creator )(int, Domain *) ) |
Registers a new nonlocal barrier in the class factory.
| name | Keyword string. |
Definition at line 287 of file classfactory.C.
References oofem::cf_store(), and nlbList.
| bool oofem::ClassFactory::registerNucleationCriterion | ( | const char * | name, |
| std::unique_ptr< NucleationCriterion >(* | creator )(Domain *) ) |
Definition at line 359 of file classfactory.C.
References oofem::cf_store(), and nucleationCritList.
| bool oofem::ClassFactory::registerPropagationLaw | ( | const char * | name, |
| std::unique_ptr< PropagationLaw >(* | creator )() ) |
Definition at line 401 of file classfactory.C.
References oofem::cf_store(), and propagationLawList.
| bool oofem::ClassFactory::registerSparseLinSolver | ( | LinSystSolverType | type, |
| std::unique_ptr< SparseLinearSystemNM >(* | creator )(Domain *, EngngModel *) ) |
Registers a sparse linear system solver.
| type | LinSystSolverType id determining the type of new instance. |
Definition at line 165 of file classfactory.C.
References oofem::cf_store2(), and sparseLinSolList.
| bool oofem::ClassFactory::registerSparseMtrx | ( | SparseMtrxType | type, |
| std::unique_ptr< SparseMtrx >(* | creator )(void) ) |
Registers a sparse matrix type.
| type | SparseMtrxType id determining the type of new instance. |
Definition at line 150 of file classfactory.C.
References oofem::cf_store2(), and sparseMtrxList.
| bool oofem::ClassFactory::registerSparseNonLinearSystemNM | ( | const char * | name, |
| std::unique_ptr< SparseNonLinearSystemNM >(* | creator )(Domain *, EngngModel *) ) |
Registers a new nonlinear solver in the class factory.
| name | Keyword string. |
Definition at line 317 of file classfactory.C.
References oofem::cf_store(), and nonlinList.
| bool oofem::ClassFactory::registerTerm | ( | const char * | name, |
| std::unique_ptr< Term >(* | creator )() ) |
Definition at line 531 of file classfactory.C.
References oofem::cf_store(), and termList.
| bool oofem::ClassFactory::registerTimeStepReductionStrategy | ( | const char * | name, |
| std::unique_ptr< TimeStepReductionStrategy >(* | creator )(int) ) |
Definition at line 518 of file classfactory.C.
References oofem::cf_store(), and timeStepReductionStrategyList.
| bool oofem::ClassFactory::registerTopologyDescription | ( | const char * | name, |
| std::unique_ptr< TopologyDescription >(* | creator )(Domain *) ) |
Registers a new topology description in the class factory.
| name | Keyword string. |
Definition at line 337 of file classfactory.C.
References oofem::cf_store(), and topologyList.
| bool oofem::ClassFactory::registerXfemManager | ( | const char * | name, |
| std::unique_ptr< XfemManager >(* | creator )(Domain *) ) |
Definition at line 421 of file classfactory.C.
References oofem::cf_store(), and xManList.
|
private |
Associative container containing boundary condition creators with bc name as key.
Definition at line 199 of file classfactory.h.
Referenced by createBoundaryCondition(), getRegisteredNames(), and registerBoundaryCondition().
|
private |
Associative container containing contact surface creators with name as key.
Definition at line 269 of file classfactory.h.
Referenced by createContactSurface(), getRegisteredNames(), and registerContactSurface().
|
private |
Associative container containing cross section creators with cross section name as key.
Definition at line 201 of file classfactory.h.
Referenced by createCrossSection(), getRegisteredNames(), and registerCrossSection().
|
private |
Associative container containing dof creators.
Definition at line 228 of file classfactory.h.
Referenced by ClassFactory(), createDof(), and getRegisteredNames().
|
private |
Associative container containing dofmanager creators with dofmanager name as key.
Definition at line 197 of file classfactory.h.
Referenced by createDofManager(), getRegisteredNames(), and registerDofManager().
|
private |
Associative container containing element creators with element name as key.
Definition at line 195 of file classfactory.h.
Referenced by createElement(), getRegisteredNames(), and registerElement().
|
private |
Associative container containing engng model creators with engng model name as key.
Definition at line 205 of file classfactory.h.
Referenced by createEngngModel(), getRegisteredNames(), and registerEngngModel().
|
private |
Associative container containing enrichment function creators.
Definition at line 248 of file classfactory.h.
Referenced by createEnrichmentFunction(), getRegisteredNames(), and registerEnrichmentFunction().
|
private |
Associative container containing enrichment item creators.
Definition at line 244 of file classfactory.h.
Referenced by createEnrichmentItem(), and registerEnrichmentItem().
|
private |
Associative container containing enrichment-domain creators.
Definition at line 252 of file classfactory.h.
|
private |
Associative container containing enrichment front creators.
Definition at line 254 of file classfactory.h.
Referenced by createEnrichmentFront(), getRegisteredNames(), and registerEnrichmentFront().
|
private |
Associative container containing error estimator creators.
Definition at line 230 of file classfactory.h.
Referenced by createErrorEstimator(), getRegisteredNames(), and registerErrorEstimator().
|
private |
Associative container containing export module creators.
Definition at line 211 of file classfactory.h.
Referenced by createExportModule(), getRegisteredNames(), and registerExportModule().
|
private |
Associative container containing failure criteria creators.
Definition at line 262 of file classfactory.h.
Referenced by createFailureCriteria(), getRegisteredNames(), and registerFailureCriteria().
|
private |
Definition at line 263 of file classfactory.h.
Referenced by createFailureCriteriaStatus(), getRegisteredNames(), and registerFailureCriteriaStatus().
|
private |
Associative container containing Field creators.
Definition at line 272 of file classfactory.h.
Referenced by createField(), getRegisteredNames(), and registerField().
|
private |
Associative container containing load time function creators with function name as key.
Definition at line 207 of file classfactory.h.
Referenced by createFunction(), getRegisteredNames(), and registerFunction().
|
private |
Associative container containing sparse generalized eigenvalue creators.
Definition at line 236 of file classfactory.h.
Referenced by createGeneralizedEigenValueSolver(), getRegisteredNames(), and registerGeneralizedEigenValueSolver().
|
private |
Associative container containing geometry creators.
Definition at line 250 of file classfactory.h.
Referenced by createGeometry(), getRegisteredNames(), and registerGeometry().
|
private |
Associative container containing init module creators.
Definition at line 217 of file classfactory.h.
Referenced by createInitModule(), getRegisteredNames(), and registerInitModule().
|
private |
Associative container containing load balancer creators.
Definition at line 222 of file classfactory.h.
Referenced by createLoadBalancer(), getRegisteredNames(), and registerLoadBalancer().
|
private |
Associative container containing load balancer monitor creators.
Definition at line 224 of file classfactory.h.
Referenced by createLoadBalancerMonitor(), getRegisteredNames(), and registerLoadBalancerMonitor().
|
private |
Associative container containing material mapping algorithm creators.
Definition at line 238 of file classfactory.h.
Referenced by createMaterialMappingAlgorithm(), getRegisteredNames(), and registerMaterialMappingAlgorithm().
|
private |
Associative container containing material creators with material name as key.
Definition at line 203 of file classfactory.h.
Referenced by createMaterial(), getRegisteredNames(), and registerMaterial().
|
private |
Associative container containing mesher interface creators.
Definition at line 240 of file classfactory.h.
Referenced by createMesherInterface(), getRegisteredNames(), and registerMesherInterface().
|
private |
Associative container containing monitor creators.
Definition at line 213 of file classfactory.h.
Referenced by createMonitor(), getRegisteredNames(), and registerMonitor().
|
private |
Associative container containing nonlocal barriers creators with barrier name as key.
Definition at line 209 of file classfactory.h.
Referenced by createNonlocalBarrier(), getRegisteredNames(), and registerNonlocalBarrier().
|
private |
Associative container containing nodal recovery model creators.
Definition at line 234 of file classfactory.h.
Referenced by createNodalRecoveryModel(), getRegisteredNames(), and registerNodalRecoveryModel().
|
private |
Associative container containing nonlinear solver creators.
Definition at line 215 of file classfactory.h.
Referenced by createNonLinearSolver(), getRegisteredNames(), and registerSparseNonLinearSystemNM().
|
private |
Associative container containing nucleation criterion creators.
Definition at line 246 of file classfactory.h.
Referenced by createNucleationCriterion(), and registerNucleationCriterion().
|
private |
Associative container containing propagation law creators.
Definition at line 256 of file classfactory.h.
Referenced by createPropagationLaw(), getRegisteredNames(), and registerPropagationLaw().
|
private |
Associative container containing sparse linear solver creators.
Definition at line 232 of file classfactory.h.
Referenced by createSparseLinSolver(), getRegisteredNames(), and registerSparseLinSolver().
|
private |
Associative container containing sparse matrix creators.
Definition at line 226 of file classfactory.h.
Referenced by createSparseMtrx(), getRegisteredNames(), and registerSparseMtrx().
|
private |
MPM stuff.
Definition at line 275 of file classfactory.h.
Referenced by createTerm(), getRegisteredNames(), and registerTerm().
|
private |
Associative container containing TimeStepReductionStrategy.
Definition at line 266 of file classfactory.h.
Referenced by createTimeStepReductionStrategy(), and registerTimeStepReductionStrategy().
|
private |
Associative container containing topology description creators.
Definition at line 219 of file classfactory.h.
Referenced by createTopology(), getRegisteredNames(), and registerTopologyDescription().
|
private |
Associative container containing XfemManager creators.
Definition at line 258 of file classfactory.h.
Referenced by createXfemManager(), getRegisteredNames(), and registerXfemManager().