coordinate-dependent Dirichlet data for other than P1
See original GitHub issueThe specification of inhomogeneous Dirichlet data for the Laplace equation is demonstrated in ex14.py for ElementTriP1
:
https://github.com/kinnala/scikit-fem/blob/9c0cf416745941abd72f70865351ef0e095f83b2/docs/examples/ex14.py#L37
however, Mesh.p
only contains the nodal coordinates, so this doesn’t work if the element is changed to say ElementTriP2
.
How might one go about specifying inhomogeneous Dirichlet data for elements with degrees of freedom that aren’t all located at nodes of the mesh? Does this relate to #84? The P2 degrees of freedom on the boundary are available through basis.get_dofs().all()
.
I suppose one could fall back on other techniques like:
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Finding dof locations · Issue #84 · kinnala/scikit-fem - GitHub
Make local DOF locations to each element Map these to global coordinates Make nice interface ... coordinate-dependent Dirichlet data for other than P1...
Read more >The Dependent Dirichlet Process and Related Models - arXiv
We review the popular class of dependent Dirichlet process (DDP) models. These define a widely used fully nonparametric Bayesian regression for ...
Read more >Order-Based Dependent Dirichlet Processes - JStor
We focus mostly on the class of random distributions that induces a Dirichlet process at each covariate value.
Read more >A vector of Dirichlet processes - Project Euclid
accommodating for forms of dependence more general than exchangeability and able to capture the “heterogeneity” featured by the data. Here we shall focus....
Read more >Order-Based Dependent Dirichlet Processes - CiteSeerX
In this paper we propose a new framework for Bayesian nonparametric modelling with continuous covariates. In particular, we allow the nonparametric ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes this is L^2 projection on the boundary. Consistency error in the sense that in this case we would know exactly the value for the degree-of-freedom but when using L^2 projection you are unlikely to get the exact correct value. This is probably just fine for any practical applications and has only some theoretical implications.
Have you tried doing something like
where
I
contains the DOF indices belonging to the respective boundary. I didn’t try it but I think it should work fine. This must be of course adapted to the vectorial case.