Skip to content

Commit 1b6c57d

Browse files
committed
fixed some things introduced with last branch merge
1 parent fbc2096 commit 1b6c57d

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

src/common_operators/item_integrator.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ function build_assembler!(O::ItemIntegrator{Tv}, FE_args::Array{<:FEVectorBlock,
9696

9797
## prepare assembly
9898
Ti = typeof(xgrid).parameters[2]
99-
itemgeometries = xgrid[GridComponentGeometries4AssemblyType(AT)]
100-
itemvolumes = xgrid[GridComponentVolumes4AssemblyType(AT)]
101-
itemregions = xgrid[GridComponentRegions4AssemblyType(AT)]
99+
itemgeometries = xgrid[GridComponentGeometries4AssemblyType(gridAT)]
100+
itemvolumes = xgrid[GridComponentVolumes4AssemblyType(gridAT)]
101+
itemregions = xgrid[GridComponentRegions4AssemblyType(gridAT)]
102102
if num_pcolors(xgrid) > 1 && gridAT == ON_CELLS
103103
maxnpartitions = maximum(num_partitions_per_color(xgrid))
104104
pc = xgrid[PartitionCells]

src/common_operators/linear_operator.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,9 @@ function build_assembler!(b, O::LinearOperator{Tv}, FE_test, FE_args; time = 0.0
261261

262262
## prepare assembly
263263
Ti = typeof(xgrid).parameters[2]
264-
itemgeometries = xgrid[GridComponentGeometries4AssemblyType(AT)]
265-
itemvolumes = xgrid[GridComponentVolumes4AssemblyType(AT)]
266-
itemregions = xgrid[GridComponentRegions4AssemblyType(AT)]
264+
itemgeometries = xgrid[GridComponentGeometries4AssemblyType(gridAT)]
265+
itemvolumes = xgrid[GridComponentVolumes4AssemblyType(gridAT)]
266+
itemregions = xgrid[GridComponentRegions4AssemblyType(gridAT)]
267267
if num_pcolors(xgrid) > 1 && gridAT == ON_CELLS
268268
maxnpartitions = maximum(num_partitions_per_color(xgrid))
269269
pc = xgrid[PartitionCells]
@@ -501,9 +501,9 @@ function build_assembler!(b, O::LinearOperator{Tv}, FE_test::Array{<:FEVectorBlo
501501

502502
## prepare assembly
503503
Ti = typeof(xgrid).parameters[2]
504-
itemgeometries = xgrid[GridComponentGeometries4AssemblyType(AT)]
505-
itemvolumes = xgrid[GridComponentVolumes4AssemblyType(AT)]
506-
itemregions = xgrid[GridComponentRegions4AssemblyType(AT)]
504+
itemgeometries = xgrid[GridComponentGeometries4AssemblyType(gridAT)]
505+
itemvolumes = xgrid[GridComponentVolumes4AssemblyType(gridAT)]
506+
itemregions = xgrid[GridComponentRegions4AssemblyType(gridAT)]
507507
if num_pcolors(xgrid) > 1 && gridAT == ON_CELLS
508508
maxnpartitions = maximum(num_partitions_per_color(xgrid))
509509
pc = xgrid[PartitionCells]

src/common_operators/nonlinear_operator.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@ function build_assembler!(A::AbstractMatrix, b::AbstractVector, O::NonlinearOper
161161
gridAT = AT
162162
end
163163
Ti = typeof(xgrid).parameters[2]
164-
itemgeometries = xgrid[GridComponentGeometries4AssemblyType(AT)]
165-
itemvolumes = xgrid[GridComponentVolumes4AssemblyType(AT)]
166-
itemregions = xgrid[GridComponentRegions4AssemblyType(AT)]
164+
itemgeometries = xgrid[GridComponentGeometries4AssemblyType(gridAT)]
165+
itemvolumes = xgrid[GridComponentVolumes4AssemblyType(gridAT)]
166+
itemregions = xgrid[GridComponentRegions4AssemblyType(gridAT)]
167167
if num_pcolors(xgrid) > 1 && gridAT == ON_CELLS
168168
maxnpartitions = maximum(num_partitions_per_color(xgrid))
169169
pc = xgrid[PartitionCells]

0 commit comments

Comments
 (0)