Skip to content

Commit

Permalink
Revert "Generalized CellQuadrature so that three of its member variab…
Browse files Browse the repository at this point in the history
…les"

This reverts commit 1d2d09c.
  • Loading branch information
amartinhuertas committed Dec 22, 2021
1 parent 77b31b1 commit e44c3c5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/CellData/CellQuadratures.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@

"""
"""
struct CellQuadrature{DDS,IDS,A,B,C} <: CellDatum
cell_quad::A
cell_point::B
cell_weight::C
struct CellQuadrature{DDS,IDS} <: CellDatum
cell_quad::AbstractArray{<:Quadrature}
cell_point::AbstractArray{<:AbstractArray{<:Point}}
cell_weight::AbstractArray{<:AbstractArray{<:Real}}
trian::Triangulation
data_domain_style::DDS
integration_domain_style::IDS
end

# Old constructor (for backward compatibility)
function CellQuadrature(
cell_quad,
cell_point,
cell_weight,
cell_quad::AbstractArray{<:Quadrature},
cell_point::AbstractArray{<:AbstractArray{<:Point}},
cell_weight::AbstractArray{<:AbstractArray{<:Real}},
trian::Triangulation,
data_domain_style::DomainStyle)
CellQuadrature(cell_quad,cell_point,cell_weight,trian,data_domain_style,PhysicalDomain())
Expand Down

0 comments on commit e44c3c5

Please sign in to comment.