-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* First brush strokes for a hierarchy of DistributedFESpaces
* Developed ZeroMeanDistributedFESpace within this hierarchy. * The old, unique DistributedFESpace is now called DistributedFESpaceFromLocalFESpaces (in the lack of a better name)
- Loading branch information
1 parent
11158c7
commit e92b9c3
Showing
9 changed files
with
434 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
function Gridap.FESpace(::Type{V}; model::DistributedDiscreteModel,kwargs...) where V | ||
constraint=Gridap.FESpaces._get_kwarg(:constraint,kwargs,nothing) | ||
if constraint == nothing | ||
DistributedFESpaceFromLocalFESpaces(V;model=model,kwargs...) | ||
elseif constraint == :zeromean | ||
dkwargs=Dict(kwargs) | ||
delete!(dkwargs,:constraint) | ||
ZeroMeanDistributedFESpace(V;model=model,dkwargs...) | ||
else | ||
@unreachable "Unknown constraint value $constraint" | ||
end | ||
end |
Oops, something went wrong.