All right, I will try and come back if something's wrong. Thanks, sir.
在 2017年1月5日星期四 UTC-6下午9:08:56,Wolfgang Bangerth写道:
>
> On 01/05/2017 08:07 PM, Weixiong Zheng wrote:
> >
> > I am coding up a code such that DG is used in one subdomain, while CG is
> used
> > in all other subdomains. The i
On 01/05/2017 08:07 PM, Weixiong Zheng wrote:
I am coding up a code such that DG is used in one subdomain, while CG is used
in all other subdomains. The implementation is with hp::FECollection class. As
the CG-subdomains are discontiguous, i.e. they are spatially disconnected, can
I still use on
Dear all,
I am coding up a code such that DG is used in one subdomain, while CG is
used in all other subdomains. The implementation is with hp::FECollection
class. As the CG-subdomains are discontiguous, i.e. they are spatially
disconnected, can I still use only one FE_Q for all disconnected
C
Dear Daniel,
You can obtain local DoF values from a global FE vector using
> FEValuesBase::get_function_values [1], create the right-hand side locally
> as you wish and use ConstraintMatrix::distribute_local_to_global to create
> the global right-hand side. This is outlined in step-21 for exam
> The following line gives me a headache:
>
> std::cout << cell->face(face_number)->boundary_id() << std::endl;
>
> ... since I cannot see anything. It outputs strange symbols such as � or
> some 0001 cube.
just do
std::cout << (int)cell->face(face_number)->boundary_id() << std::endl;
--
Timo H
Hi,
Sorry to disturb again, I have a problem. :)
The following line gives me a headache:
std::cout << cell->face(face_number)->boundary_id() << std::endl;
... since I cannot see anything. It outputs strange symbols such as � or
some 0001 cube.
My aim is to somehow write my RHS for distribu
Hamed,
[...]
>
However, to be able to use ConstraintMatrix::distribute_local_to_global, I
> can assemble system_matrix in local level instead of global level. Having
> that said, I can not do so for the system_rhs because solution and
> old_solution vectors are global vectors.
>
You can obtai