public ReusingDofOrderer(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;
 }
Exemplo n.º 2
0
 public AsymmetricDofOrderer(IAsymmetricDofOrderingStrategy rowOrderingStrategy, bool cacheElementToSubdomainMaps = true)
 {
     _cacheElementToSubdomainDofMaps = cacheElementToSubdomainMaps;
     _constrainedOrderingStrategy    = new ConstrainedDofOrderingStrategy();
     _rowOrderingStrategy            = rowOrderingStrategy;
 }