Ejemplo n.º 1
0
 public DofOrderer(IFreeDofOrderingStrategy freeOrderingStrategy, IDofReorderingStrategy reorderingStrategy,
                   bool doOptimizationsIfSingleSubdomain = true, bool cacheElementToSubdomainDofMaps = true)
 {
     this.constrainedOrderingStrategy      = new ConstrainedDofOrderingStrategy();
     this.freeOrderingStrategy             = freeOrderingStrategy;
     this.reorderingStrategy               = reorderingStrategy;
     this.doOptimizationsIfSingleSubdomain = doOptimizationsIfSingleSubdomain;
     this.cacheElementToSubdomainDofMaps   = cacheElementToSubdomainDofMaps;
 }
Ejemplo n.º 2
0
 public AsymmetricDofOrderer(IAsymmetricDofOrderingStrategy rowOrderingStrategy, bool cacheElementToSubdomainMaps = true)
 {
     _cacheElementToSubdomainDofMaps = cacheElementToSubdomainMaps;
     _constrainedOrderingStrategy    = new ConstrainedDofOrderingStrategy();
     _rowOrderingStrategy            = rowOrderingStrategy;
 }