Releases: gridap/Gridap.jl
Releases · gridap/Gridap.jl
v0.20.3
v0.20.2
v0.20.1
v0.20.0
Gridap v0.20.0
Breaking changes
Nedelec→Nedelec{kind}: replaceNedelec()withnedelec(=Nedelec{1}()) ornedelec2(=Nedelec{2}()).DivConformingabstract type removed:RaviartThomasandBDMnow directly subtypeReferenceFEName.CellFEconstructor: trailing positional args are now keyword args.SignFlipMap,TransformRTDofBasis,TransformNedelecDofBasisremoved: handled internally by the newPullbacks.jlpipeline.ReferenceFE(name, args...; kwargs...)now returns a tuple(name, args, kwargs)instead of directly constructing a RefFE.- Default polynomial bases changed: internal representations differ from v0.19 — affects serialised data and exact numerical values.
ThirdOrderTensorValueis now a type alias forHighOrderTensorValue. Code relying on type identity may break.MacroReferenceFEconstructor gains a 3rd positional argumentName.Conformity(reffe, sym::Symbol)per-element overloads removed: custom elements must implementvalid_conformity_symbolsinstead.FineToCoarseReferenceFEs.jlno longer loaded.- Old stubs
apply,FETerm,AffineFETerm,LinearFETerm,FESource,FEEnergyremoved from theGridapnamespace.
New features
- Polynomials: new
ChebyshevandBernsteinpolynomial types; newCartProdPolyBasisandCompWiseTensorPolyBasisgeneralising the old monomial bases; new high-level factoryFEEC_poly_basiscovering all spaces in the Periodic Table of the Finite Elements. - ReferenceFEs: new
ReferenceFE(F, r, k[, T]; kwargs...)constructor using FEEC notation; newMomentBasedReferenceFEfactory unifying moment-based element construction; new elementsmodal_lagrangian,modal_serendipity,CrouzeixRaviart, andnedelec2; unified Piola map hierarchy (Pullbacks.jl) and geometric decomposition API. - TensorValues: new
SkewSymTensorValueandHighOrderTensorValuetypes; new operationscongruent_prod,contracted_product, andcomponent_basis. - Default bases and quadratures: simplex elements (RT, BDM, Nédélec) now use Bernstein bases by default; n-cube elements use Legendre.
Deprecations
| Deprecated | Replacement |
|---|---|
MonomialBasis{D}(args...) |
MonomialBasis(Val(D), args...) |
JacobiPolynomialBasis{D}(args...) |
LegendreBasis(Val(D), args...) |
JacobiPolynomial |
Legendre |
QGradMonomialBasis{D}(T, order) |
FEEC_poly_basis(Val(D), T, order+1, 1, :Q⁻) |
QCurlGradMonomialBasis{D}(T, order) |
FEEC_poly_basis(Val(D), T, order+1, D-1, :Q⁻; rotate_90=(D==2)) |
PCurlGradMonomialBasis{D}(T, order) |
FEEC_poly_basis(Val(D), T, order+1, D-1, :P⁻; rotate_90=(D==2)) |
NedelecPreBasisOnSimplex{D}(order) |
NedelecPolyBasisOnSimplex(Val(D), Float64, order) |
num_terms(f) |
length(f) |
return_type(::PolynomialBasis) |
value_type(::PolynomialBasis) |
n_components |
num_components |
get_cell_shapefuns(model, cell_reffe, conf) |
get_cell_shapefuns_and_dof_basis(...)[1] |
get_cell_dof_basis(model, cell_reffe, conf) |
get_cell_shapefuns_and_dof_basis(...)[2] |
get_free_values(space) |
get_free_dof_values(space) |
get_dirichlet_values(space) |
get_dirichlet_dof_values(space) |
Merged pull requests:
- Moment based reffes (#1048) (@JordiManyer)
- [Moment based reffes] last of the last ? (#1255) (@Antoinemarteau)
v0.19.9
Gridap v0.19.9
Merged pull requests:
- Fix Nedelec DOF basis Jacobian indexing on multi-face elements (#1222) (@Ady0333)
- Fix/ftc field cmaps index (#1224) (@Ady0333)
- Fix/issue 1224 mapped grid cell map (#1226) (@Ady0333)
- [Moment based reffes] merge master (#1227) (@Antoinemarteau)
- Fix: Use correct side for time derivatives in skeleton field access (#1229) (@anusha19murthy)
- [Moment based reffes] DOF scaling, minor fixes and documentation improvements (#1230) (@Antoinemarteau)
- Bump actions/upload-artifact from 6 to 7 (#1239) (@dependabot[bot])
- Fix outer(f, s::ShiftedNabla) ignoring shift term (#1240) (@Ady0333)
- Fix get_tangent_vector and barycentric refinement HEX control flow (#1246) (@Ady0333)
- Fix/block multifield permutation (#1247) (@Ady0333)
- Fixing
change_domain_o2nfor_trian_portions (#1249) (@amartinhuertas) - CI Improvements (#1251) (@JordiManyer)
- Add sign flip for nedelec hexa facet dofs (#1252) (@amartinhuertas)
Closed issues:
- Incorrect Jacobian indexing in Nedelec DOF basis transformation (#1221)
- Incorrect inverse cell map indexing in FineToCoarseField fast-path (#1223)
- TransientSingleFieldCellField: minus-side time derivatives evaluated on plus side (#1228)
- TransientSingleFieldCellField.⁻ returns plus-side time derivatives on skeleton facets (#1237)
- outer(f, s::ShiftedNabla) ignores shift term (#1241)
- Review default quadrature on embedded boundaries (#1242)
- Precompilation warnings and slowdown due to method overwrite (
num_fields(::DistributedFESpace)) (#1243) - Bug: Incorrect
else p == HEXbranch in EdgeBasedRefinement (#1245) - [BUG]: NormalSampling uses Uniform distribution instead of Normal in generate_param (#1248)
v0.19.8
Gridap v0.19.8
Merged pull requests:
- Testing Julia 1.12 in CI (#1200) (@JordiManyer)
- Bump actions/upload-artifact from 5 to 6 (#1202) (@dependabot[bot])
- Bump actions/cache from 4 to 5 (#1203) (@dependabot[bot])
- Add
testvaluefor arbitrary-sized tuples (#1210) (@JordiManyer) - Proposal: added
normalizefunction (#1211) (@miguelmaso) - Added support for
sqrt(#1212) (@miguelmaso) - fix and refactor Arrays.getindex! (#1213) (@Antoinemarteau)
- bug fix in RungeKuttaIMEX.jl (#1214) (@oriolcg)
- Add nedelec test facet dofs normals (#1216) (@amartinhuertas)
- Improvements to the polytopal and hybrid methods API (#1218) (@JordiManyer)
- Raise Julia minimum compatibility to 1.10 (#1219) (@JordiManyer)
Closed issues:
v0.19.7
Gridap v0.19.7
Merged pull requests:
- Refactoring quadratures and adding Witherden-Vincent symmetric quadrature rules (#1169) (@AlexandreMagueresse)
- [Moment based reffes] Improve CompWiseTensorPolyBasis and fix perf regression, minor renamings (#1176) (@Antoinemarteau)
- Generalize _convert_to_collectable() helper/private function (#1177) (@amartinhuertas)
- Bump actions/upload-artifact from 4 to 5 (#1179) (@dependabot[bot])
- Allow nested AD derivatives (#1181) (@ConnorMallon)
- [Moment based reffes] small TensorValues and Polynomials improvements, MomentDofBasis generalization to differential operators (#1184) (@Antoinemarteau)
- fix_#1188_implementation_of_one (#1190) (@arvedjo)
- Bump actions/checkout from 5 to 6 (#1192) (@dependabot[bot])
- [Moment based reffes] Generalized MultiValue types and product operation to arbitrary order (#1193) (@Antoinemarteau)
- Better documentation of Polytope's type parameter (#1194) (@Antoinemarteau)
- [Moment based reffes] Merge master and minor Polynomials optimization (#1197) (@Antoinemarteau)
- Updated compats for JSON and JDL2 (#1198) (@JordiManyer)
Closed issues:
v0.19.6
Gridap v0.19.6
Merged pull requests:
- Uniformly refine unstructured mesh (#1143) (@DimhamT)
- [moment-based-reffes] Geometric decomposition on n-cubes, choice of poly basis in Lagrangian and Serendipity FES (#1173) (@Antoinemarteau)
- Fix ambiguities in BoundaryTiangulation for AdaptedDiscreteModels (#1175) (@JordiManyer)
Closed issues:
v0.19.5
Gridap v0.19.5
Merged pull requests:
- Split AD for Multifield (#1136) (@zjwegert)
- [moment-based-reffes] FEEC APIs, Bernstein bases for FEEC spaces on simplices, small Polynomials cleaning (#1144) (@Antoinemarteau)
- TikzPictures.jl extension (#1150) (@JordiManyer)
- [Moment based reffes] Fix tensor product bases and Polynomials optimization (#1152) (@Antoinemarteau)
- Bump actions/checkout from 4 to 5 (#1155) (@dependabot[bot])
- Add eigen function support for TensorValue (#1157) (@JordiManyer)
- Added isapprox support for MultiValue (#1158) (@miguelmaso)
- Misc TensorValue indexing improvements. (#1162) (@Antoinemarteau)
- Fix extensions (#1163) (@JordiManyer)
- Fix MultiValues indexing on 32bit systems ? (#1164) (@Antoinemarteau)
- Fix 32-bit MultiField Test (#1167) (@zjwegert)
- Skipping some tests on 32-bit machines (#1168) (@JordiManyer)
Closed issues:
v0.19.4
Gridap v0.19.4
Merged pull requests:
- implemented invalidate_cache! (#1137) (@Antoinemarteau)
- Star patches (#1138) (@JordiManyer)
- Fix issue #1119 (#1139) (@JordiManyer)
- [Moment based reffes] Fix broken links, BubbleRefFE improvements (#1140) (@Antoinemarteau)
- Bump julia-actions/julia-downgrade-compat from 1 to 2 (#1146) (@dependabot[bot])
- Minor changes to PolytopalQuadrature constructors (#1149) (@JordiManyer)
Closed issues: