mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-13 17:48:34 +05:00
Merge branch 'revert-6894a8c9' into 'master'
Revert "Merge branch 'neighbouringdomains' into 'master'" See merge request !39
This commit is contained in:
commit
f9612d0b59
@ -271,8 +271,8 @@ namespace netgen
|
|||||||
|
|
||||||
// returns domain numbers of domains next to boundary bnr -> (domin, domout)
|
// returns domain numbers of domains next to boundary bnr -> (domin, domout)
|
||||||
// 3D only
|
// 3D only
|
||||||
std::pair<int,int> GetBoundaryNeighbouringDomains (int bnr);
|
// std::pair<int,int> GetBoundaryNeighbouringDomains (int bnr);
|
||||||
|
|
||||||
void Refine (NG_REFINEMENT_TYPE reftype,
|
void Refine (NG_REFINEMENT_TYPE reftype,
|
||||||
void (*taskmanager)(function<void(int,int)>) = &DummyTaskManager2);
|
void (*taskmanager)(function<void(int,int)>) = &DummyTaskManager2);
|
||||||
|
|
||||||
|
@ -141,16 +141,6 @@ namespace netgen
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::pair<int,int> Ngx_Mesh :: GetBoundaryNeighbouringDomains (int bnr)
|
|
||||||
{
|
|
||||||
if ( mesh->GetDimension() == 3 )
|
|
||||||
return std::pair<int,int>(mesh->GetFaceDescriptor(bnr+1).DomainIn(),
|
|
||||||
mesh->GetFaceDescriptor(bnr+1).DomainOut());
|
|
||||||
else
|
|
||||||
return std::pair<int,int>(-1,-1);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Ng_Point Ngx_Mesh :: GetPoint (int nr) const
|
Ng_Point Ngx_Mesh :: GetPoint (int nr) const
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user