Skip to content

Commit

Permalink
Merge pull request #213 from gridap/release-0.8
Browse files Browse the repository at this point in the history
Preparing version 0.8.0
  • Loading branch information
fverdugo authored Mar 17, 2020
2 parents 1446181 + ce83ccf commit 3238d5e
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 4 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [unreleased]
## [0.8.0] - 2020-3-17

### Added

Expand Down
7 changes: 7 additions & 0 deletions docs/src/Arrays.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ test_array

```@docs
getitems!
getitems(a::Tuple{Vararg{<:AbstractArray}},i...)
array_caches
testitems
```
Expand Down Expand Up @@ -78,6 +79,12 @@ contract
```@docs
collect1d
reindex(i_to_v::AbstractArray, j_to_i::AbstractArray)
add_to_array!(a::AbstractArray{Ta,N},b::AbstractArray{Tb,N},combine=+) where {Ta,Tb,N}
get_array(a::AbstractArray)
get_arrays(a,b...)
matvec_muladd!(c::AbstractVector,a::AbstractMatrix,b::AbstractVector)
pair_arrays(a::AbstractArray,b::AbstractArray)
unpair_arrays(pair::AbstractArray{<:Tuple})
```

## Concrete array implementations
Expand Down
27 changes: 27 additions & 0 deletions docs/src/Geometry.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ integrate(cell_field,trian::Triangulation,quad::CellQuadrature)
TriangulationPortion
TriangulationPortion(oldtrian::Triangulation{Dc,Dp},cell_to_oldcell::Vector{Int}) where {Dc,Dp}
```

### RestrictedTriangulation

```@docs
RestrictedTriangulation
```

## BoundaryTriangulations

### Interface
Expand All @@ -61,6 +68,7 @@ BoundaryTriangulation(model::DiscreteModel,face_to_mask::Vector{Bool})
BoundaryTriangulation(model::DiscreteModel,tags::Vector{Int})
get_volume_triangulation(trian::BoundaryTriangulation)
get_face_to_cell(trian::BoundaryTriangulation)
get_face_to_lface(trian::BoundaryTriangulation)
get_face_to_cell_map(trian::BoundaryTriangulation)
get_normal_vector(trian::BoundaryTriangulation)
test_boundary_triangulation
Expand All @@ -78,8 +86,11 @@ GenericBoundaryTriangulation(model::DiscreteModel,face_to_mask::Vector{Bool})
```@docs
SkeletonTriangulation
SkeletonTriangulation(model::DiscreteModel,face_to_mask::Vector{Bool})
InterfaceTriangulation(model::DiscreteModel,cell_to_is_in::Vector{Bool})
get_volume_triangulation(trian::SkeletonTriangulation)
get_normal_vector(trian::SkeletonTriangulation)
get_left_boundary(trian::SkeletonTriangulation)
get_right_boundary(trian::SkeletonTriangulation)
```

### SkeletonPairs
Expand Down Expand Up @@ -163,6 +174,7 @@ num_facets(lab::FaceLabeling)
num_cells(lab::FaceLabeling)
get_face_entity(lab::FaceLabeling,d::Integer)
get_face_entity(lab::FaceLabeling)
get_cell_entity(lab::FaceLabeling)
get_tag_entities(lab::FaceLabeling,tag::Integer)
get_tag_entities(lab::FaceLabeling)
get_tag_name(lab::FaceLabeling,tag::Integer)
Expand Down Expand Up @@ -313,6 +325,19 @@ CartesianDiscreteModel(args...)
get_cartesian_descriptor(a::CartesianDiscreteModel)
```

### DiscreteModelPortion

```@docs
DiscreteModelPortion
```

### RestrictedDiscreteModel

```@docs
RestrictedDiscreteModel
```


## CellFields

### CellFieldLike interface
Expand Down Expand Up @@ -341,6 +366,8 @@ restrict(cf::CellField,trian::Triangulation)
```@docs
GenericCellField
SkeletonCellField
QPointCellField(value::Number,trian::Triangulation,quad::CellQuadrature)
CellField(value::Number,trian::Triangulation,quad::CellQuadrature)
get_cell_map(a::SkeletonCellField)
jump(sf::SkeletonCellField)
mean(sf::SkeletonCellField)
Expand Down
2 changes: 0 additions & 2 deletions src/Arrays/Interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,6 @@ function add_to_array!(a::AbstractArray{Ta,N},b::AbstractArray{Tb,N},combine=+)
end
end

"""
"""
function add_to_array!(a::AbstractArray,b::Number,combine=+)
@inbounds for i in eachindex(a)
a[i] = combine(a[i],b)
Expand Down
2 changes: 2 additions & 0 deletions src/FESpaces/FETerms.jl
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,8 @@ function get_cell_matrix_and_vector(t::AffineFETermFromCellMatVec,uhd,u,v)
(cellmatvec_with_diri, nothing, nothing)
end

"""
"""
struct FETermFromCellJacRes <: FETerm
jacresfun::Function
trian::Triangulation
Expand Down
2 changes: 2 additions & 0 deletions src/Geometry/RestrictedDiscreteModels.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@

"""
"""
struct RestrictedDiscreteModel{Dc,Dp} <: DiscreteModel{Dc,Dc}
model::DiscreteModelPortion{Dc,Dp}
end
Expand Down
2 changes: 1 addition & 1 deletion src/ReferenceFEs/NedelecRefFEs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
The `order` argument has the following meaning: the curl of the functions in this basis
is in the Q space of degree `order`.
"""
# @santiagobadia : Project, go to complex numbers
function NedelecRefFE(::Type{et},p::Polytope,order::Integer) where et

# @santiagobadia : Project, go to complex numbers
D = num_dims(p)

prebasis = QGradMonomialBasis{D}(et,order)
Expand Down

2 comments on commit 3238d5e

@fverdugo
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/11075

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.8.0 -m "<description of version>" 3238d5edd6fc066c1b86edd97e2957509ee2ce58
git push origin v0.8.0

Please sign in to comment.