add periodic basis in dd
This commit is contained in:
parent
1adfcf1804
commit
91a02aefbd
@ -321,8 +321,15 @@ bool DomainDecomposition::calcGlobalNodeNumbers(const ProcessAdm& adm,
|
||||
if (sidx < 1)
|
||||
continue;
|
||||
|
||||
std::set<int> cbasis;
|
||||
IntVec lNodes;
|
||||
if (it.basis != 0) {
|
||||
cbasis = utl::getDigits(it.basis);
|
||||
for (auto& it2 : cbasis)
|
||||
sim.getPatch(sidx)->getBoundaryNodes(it.sidx, lNodes, it2);
|
||||
} else
|
||||
sim.getPatch(sidx)->getBoundaryNodes(it.sidx, lNodes);
|
||||
|
||||
int nRecv;
|
||||
adm.receive(nRecv, getPatchOwner(it.master));
|
||||
if (nRecv =! lNodes.size()) {
|
||||
@ -335,6 +342,7 @@ bool DomainDecomposition::calcGlobalNodeNumbers(const ProcessAdm& adm,
|
||||
adm.receive(glbNodes, getPatchOwner(it.master));
|
||||
size_t ofs = 0;
|
||||
for (size_t b = 1; b <= sim.getPatch(sidx)->getNoBasis(); ++b) {
|
||||
if (cbasis.empty() || cbasis.find(b) != cbasis.end()) {
|
||||
NodeIterator iter(dynamic_cast<const ASMstruct*>(sim.getPatch(sidx)),
|
||||
it.orient, it.sidx, b);
|
||||
auto it_n = iter.begin();
|
||||
@ -345,6 +353,7 @@ bool DomainDecomposition::calcGlobalNodeNumbers(const ProcessAdm& adm,
|
||||
ofs += iter.size();
|
||||
}
|
||||
}
|
||||
}
|
||||
// add multiplier remappings
|
||||
for (size_t i = 0; i < locLMs.size() && adm.getProcId() > 0; ++i)
|
||||
old2new[MLGN[sim.getPatch(1)->getNodeID(locLMs[i])-1]] = glbLMs[i];
|
||||
@ -379,8 +388,15 @@ bool DomainDecomposition::calcGlobalNodeNumbers(const ProcessAdm& adm,
|
||||
if (midx < 1)
|
||||
continue;
|
||||
|
||||
std::set<int> cbasis;
|
||||
if (it.basis != 0)
|
||||
cbasis = utl::getDigits(it.basis);
|
||||
|
||||
std::vector<int> glbNodes;
|
||||
sim.getPatch(midx)->getBoundaryNodes(it.midx, glbNodes);
|
||||
for (size_t b = 1; b <= sim.getPatch(midx)->getNoBasis(); ++b)
|
||||
if (cbasis.empty() || cbasis.find(b) != cbasis.end())
|
||||
sim.getPatch(midx)->getBoundaryNodes(it.midx, glbNodes, b);
|
||||
|
||||
for (size_t i = 0; i < glbNodes.size(); ++i)
|
||||
glbNodes[i] = MLGN[glbNodes[i]-1];
|
||||
|
||||
@ -394,7 +410,7 @@ bool DomainDecomposition::calcGlobalNodeNumbers(const ProcessAdm& adm,
|
||||
|
||||
|
||||
std::vector<int> DomainDecomposition::setupEquationNumbers(const SIMbase& sim,
|
||||
int pidx, int lidx)
|
||||
int pidx, int lidx, const std::set<int>& cbasis)
|
||||
{
|
||||
std::vector<IntVec> lNodes(sim.getPatch(pidx)->getNoBasis());
|
||||
std::vector<int> result;
|
||||
@ -408,6 +424,9 @@ std::vector<int> DomainDecomposition::setupEquationNumbers(const SIMbase& sim,
|
||||
bases = utl::getDigits(sim.getSolParams()->getBlock(block-1).basis);
|
||||
|
||||
for (const int& basis : bases) {
|
||||
if (!cbasis.empty() && cbasis.find(basis) == cbasis.end())
|
||||
continue;
|
||||
|
||||
if (lNodes[basis-1].empty())
|
||||
sim.getPatch(pidx)->getBoundaryNodes(lidx, lNodes[basis-1], basis);
|
||||
|
||||
@ -529,7 +548,11 @@ bool DomainDecomposition::calcGlobalEqNumbers(const ProcessAdm& adm,
|
||||
if (sidx < 1)
|
||||
continue;
|
||||
|
||||
IntVec locEqs = setupEquationNumbers(sim, sidx, it.sidx);
|
||||
std::set<int> cbasis;
|
||||
if (it.basis != 0)
|
||||
cbasis = utl::getDigits(it.basis);
|
||||
|
||||
IntVec locEqs = setupEquationNumbers(sim, sidx, it.sidx, cbasis);
|
||||
|
||||
int nRecv;
|
||||
adm.receive(nRecv, getPatchOwner(it.master));
|
||||
@ -553,6 +576,9 @@ bool DomainDecomposition::calcGlobalEqNumbers(const ProcessAdm& adm,
|
||||
bases = utl::getDigits(sim.getSolParams()->getBlock(block-1).basis);
|
||||
|
||||
for (const int& basis : bases) {
|
||||
if (!cbasis.empty() && cbasis.find(basis) == cbasis.end())
|
||||
continue;
|
||||
|
||||
std::set<int> components;
|
||||
if (block == 0 || sim.getSolParams()->getBlock(block-1).comps == 0) {
|
||||
for (size_t i = 1; i <= sim.getPatch(sidx)->getNoFields(basis); ++i)
|
||||
@ -569,7 +595,7 @@ bool DomainDecomposition::calcGlobalEqNumbers(const ProcessAdm& adm,
|
||||
int leq = locEqs[ofs+i*nodeDofs+comp];
|
||||
int geq = glbEqs[ofs+(*it_n)*nodeDofs+comp];
|
||||
if (leq < 1 && geq > 0) {
|
||||
std::cerr <<"\n *** DomainDecomposition::calcGlobalNodeNumbers(): "
|
||||
std::cerr <<"\n *** DomainDecomposition::calcGlobalEqNumbers(): "
|
||||
<< "Topology error on process " << adm.getProcId()
|
||||
<< ", dof constraint mismatch "
|
||||
<< "local: " << leq << " global " << geq << std::endl;
|
||||
@ -637,7 +663,11 @@ bool DomainDecomposition::calcGlobalEqNumbers(const ProcessAdm& adm,
|
||||
if (midx < 1)
|
||||
continue;
|
||||
|
||||
IntVec glbEqs = setupEquationNumbers(sim, midx, it.midx);
|
||||
std::set<int> cbasis;
|
||||
if (it.basis != 0)
|
||||
cbasis = utl::getDigits(it.basis);
|
||||
|
||||
IntVec glbEqs = setupEquationNumbers(sim, midx, it.midx, cbasis);
|
||||
adm.send(int(glbEqs.size()), getPatchOwner(it.slave));
|
||||
adm.send(glbEqs, getPatchOwner(it.slave));
|
||||
}
|
||||
|
@ -35,10 +35,11 @@ public:
|
||||
struct Interface {
|
||||
int master; //!< Master patch (global number).
|
||||
int slave; //!< Slave patch (global number).
|
||||
int midx; //!< Index of boundary on master:
|
||||
int midx; //!< Index of boundary on master.
|
||||
int sidx; //!< Index of boundary on slave.
|
||||
int orient; //!< Orientation.
|
||||
int dim; //!< Dimension of boundary.
|
||||
int basis; //!< Basis of boundary.
|
||||
};
|
||||
|
||||
//! \brief Functor to order ghost connections.
|
||||
@ -177,8 +178,10 @@ private:
|
||||
//! \param sim Simulator with patches and linear solver block information
|
||||
//! \param pidx Patch index
|
||||
//! \param lidx Boundary index on patch
|
||||
//! \param cbasis If non-empty, bases to connect
|
||||
std::vector<int> setupEquationNumbers(const SIMbase& sim,
|
||||
int pidx, int lidx);
|
||||
int pidx, int lidx,
|
||||
const std::set<int>& cbasis);
|
||||
|
||||
//! \brief Calculate the global node numbers for given finite element model.
|
||||
bool calcGlobalNodeNumbers(const ProcessAdm& adm, const SIMbase& sim);
|
||||
|
@ -20,13 +20,14 @@
|
||||
#include <fstream>
|
||||
|
||||
|
||||
class TestGlobalLMSIM : public SIM2D {
|
||||
template<class Dim>
|
||||
class TestGlobalLMSIM : public Dim {
|
||||
public:
|
||||
TestGlobalLMSIM(unsigned char n1 = 2, bool check = false) :
|
||||
SIM2D(n1, check) {}
|
||||
Dim(n1, check) {}
|
||||
|
||||
TestGlobalLMSIM(const std::vector<unsigned char>& nf, bool check = false) :
|
||||
SIM2D(nf, check) {}
|
||||
Dim(nf, check) {}
|
||||
|
||||
protected:
|
||||
bool preprocessBeforeAsmInit(int& nnod)
|
||||
@ -111,9 +112,29 @@ TEST_P(TestDomainDecomposition2D, SetupSingleBasis)
|
||||
}
|
||||
|
||||
|
||||
TEST_P(TestDomainDecomposition2D, SetupSingleBasisPeriodic)
|
||||
{
|
||||
SIM2D sim(2);
|
||||
std::stringstream str;
|
||||
str << "src/ASM/Test/refdata/DomainDecomposition_MPI_2D_4_periodic";
|
||||
str << GetParam() << ".xinp";
|
||||
sim.read(str.str().c_str());
|
||||
sim.preprocess();
|
||||
|
||||
const ProcessAdm& adm = sim.getProcessAdm();
|
||||
const SAM* sam = sim.getSAM();
|
||||
str.str("");
|
||||
str << "src/ASM/Test/refdata/DomainDecomposition_MPI_2D_4_periodic";
|
||||
str << GetParam() << "_nodes" << adm.getProcId() << ".ref";
|
||||
IntVec B = readIntVector(str.str());
|
||||
check_intvectors_equal(adm.dd.getMLGN(), B);
|
||||
ASSERT_EQ(sam->getNoNodes(), 9);
|
||||
}
|
||||
|
||||
|
||||
TEST_P(TestDomainDecomposition2D, SetupSingleBasisGlobalLM)
|
||||
{
|
||||
TestGlobalLMSIM sim(2);
|
||||
TestGlobalLMSIM<SIM2D> sim(2);
|
||||
std::stringstream str;
|
||||
str << "src/ASM/Test/refdata/DomainDecomposition_MPI_2D_4_orient";
|
||||
str << GetParam() << ".xinp";
|
||||
@ -121,7 +142,6 @@ TEST_P(TestDomainDecomposition2D, SetupSingleBasisGlobalLM)
|
||||
sim.preprocess();
|
||||
|
||||
const ProcessAdm& adm = sim.getProcessAdm();
|
||||
|
||||
str.str("");
|
||||
str << "src/ASM/Test/refdata/DomainDecomposition_MPI_2D_4_orient";
|
||||
str << GetParam() << "_eqs" << adm.getProcId() << ".ref";
|
||||
@ -191,6 +211,32 @@ TEST_P(TestDomainDecomposition2D, SetupMixedBasis)
|
||||
}
|
||||
|
||||
|
||||
TEST_P(TestDomainDecomposition2D, SetupMixedBasisPeriodic)
|
||||
{
|
||||
SIM2D sim({2,2});
|
||||
std::stringstream str;
|
||||
str << "src/ASM/Test/refdata/DomainDecomposition_MPI_2D_4_periodic";
|
||||
str << GetParam() << ".xinp";
|
||||
sim.read(str.str().c_str());
|
||||
sim.preprocess();
|
||||
|
||||
const ProcessAdm& adm = sim.getProcessAdm();
|
||||
const SAM* sam = sim.getSAM();
|
||||
str.str("");
|
||||
str << "src/ASM/Test/refdata/DomainDecomposition_MPI_2D_4_mixed_periodic";
|
||||
str << GetParam() << "_nodes" << adm.getProcId() << ".ref";
|
||||
IntVec B = readIntVector(str.str());
|
||||
check_intvectors_equal(adm.dd.getMLGN(), B);
|
||||
ASSERT_EQ(sam->getNoNodes(), 25);
|
||||
ASSERT_EQ(sam->getNoDOFs(), 50);
|
||||
str.str("");
|
||||
str << "src/ASM/Test/refdata/DomainDecomposition_MPI_2D_4_mixed_periodic";
|
||||
str << GetParam() << "_eqs" << adm.getProcId() << ".ref";
|
||||
B = readIntVector(str.str());
|
||||
check_intvectors_equal(adm.dd.getMLGEQ(), B);
|
||||
}
|
||||
|
||||
|
||||
TEST_P(TestDomainDecomposition2D, SetupMixedBasisBlockEqsBasis)
|
||||
{
|
||||
SIM2D sim({2,2});
|
||||
@ -221,7 +267,7 @@ TEST_P(TestDomainDecomposition2D, SetupMixedBasisBlockEqsBasis)
|
||||
|
||||
TEST_P(TestDomainDecomposition2D, SetupMixedBasisBlockEqsBasisGlobalLM)
|
||||
{
|
||||
TestGlobalLMSIM sim({2,2});
|
||||
TestGlobalLMSIM<SIM2D> sim({2,2});
|
||||
std::stringstream str;
|
||||
str << "src/ASM/Test/refdata/DomainDecomposition_MPI_2D_4_blocks_basis_orient";
|
||||
str << GetParam() << ".xinp";
|
||||
@ -229,7 +275,6 @@ TEST_P(TestDomainDecomposition2D, SetupMixedBasisBlockEqsBasisGlobalLM)
|
||||
sim.preprocess();
|
||||
|
||||
const ProcessAdm& adm = sim.getProcessAdm();
|
||||
|
||||
str.str("");
|
||||
str << "src/ASM/Test/refdata/DomainDecomposition_MPI_2D_4_mixed_orient";
|
||||
str << GetParam() << "_eqs" << adm.getProcId() << ".ref";
|
||||
@ -292,6 +337,27 @@ TEST_P(TestDomainDecomposition3D, SetupSingleBasis)
|
||||
}
|
||||
|
||||
|
||||
TEST_P(TestDomainDecomposition3D, SetupSingleBasisPeriodic)
|
||||
{
|
||||
if (GetParam() > 2)
|
||||
return;
|
||||
|
||||
SIM3D sim(3);
|
||||
std::stringstream str;
|
||||
str << "src/ASM/Test/refdata/DomainDecomposition_MPI_3D_4_periodic";
|
||||
str << GetParam() << ".xinp";
|
||||
sim.read(str.str().c_str());
|
||||
sim.preprocess();
|
||||
|
||||
const ProcessAdm& adm = sim.getProcessAdm();
|
||||
str.str("");
|
||||
str << "src/ASM/Test/refdata/DomainDecomposition_MPI_3D_4_periodic";
|
||||
str << GetParam() << "_nodes" << adm.getProcId() << ".ref";
|
||||
IntVec B = readIntVector(str.str());
|
||||
check_intvectors_equal(adm.dd.getMLGN(), B);
|
||||
}
|
||||
|
||||
|
||||
TEST_P(TestDomainDecomposition3D, SetupSingleBasisBlockEqsComponent)
|
||||
{
|
||||
if (GetParam() > 0)
|
||||
@ -348,6 +414,60 @@ TEST_P(TestDomainDecomposition3D, SetupMixedBasis)
|
||||
}
|
||||
|
||||
|
||||
TEST_P(TestDomainDecomposition3D, SetupMixedBasisPeriodic)
|
||||
{
|
||||
if (GetParam() > 2)
|
||||
return;
|
||||
|
||||
SIM3D sim({1,1});
|
||||
std::stringstream str;
|
||||
str << "src/ASM/Test/refdata/DomainDecomposition_MPI_3D_4_periodic";
|
||||
str << GetParam() << ".xinp";
|
||||
sim.read(str.str().c_str());
|
||||
sim.preprocess();
|
||||
|
||||
const ProcessAdm& adm = sim.getProcessAdm();
|
||||
str.str("");
|
||||
str << "src/ASM/Test/refdata/DomainDecomposition_MPI_3D_4_mixed_periodic";
|
||||
str << GetParam() << "_nodes" << adm.getProcId() << ".ref";
|
||||
IntVec B = readIntVector(str.str());
|
||||
|
||||
check_intvectors_equal(adm.dd.getMLGN(), B);
|
||||
str.str("");
|
||||
str << "src/ASM/Test/refdata/DomainDecomposition_MPI_3D_4_mixed_periodic";
|
||||
str << GetParam() << "_eqs" << adm.getProcId() << ".ref";
|
||||
B = readIntVector(str.str());
|
||||
check_intvectors_equal(adm.dd.getMLGEQ(), B);
|
||||
}
|
||||
|
||||
|
||||
TEST_P(TestDomainDecomposition3D, SetupMixedBasisPeriodicLM)
|
||||
{
|
||||
if (GetParam() > 0)
|
||||
return;
|
||||
|
||||
TestGlobalLMSIM<SIM3D> sim({1,1});
|
||||
std::stringstream str;
|
||||
str << "src/ASM/Test/refdata/DomainDecomposition_MPI_3D_4_periodiclm";
|
||||
str << GetParam() << ".xinp";
|
||||
sim.read(str.str().c_str());
|
||||
sim.preprocess();
|
||||
|
||||
const ProcessAdm& adm = sim.getProcessAdm();
|
||||
str.str("");
|
||||
str << "src/ASM/Test/refdata/DomainDecomposition_MPI_3D_4_mixed_periodiclm";
|
||||
str << GetParam() << "_nodes" << adm.getProcId() << ".ref";
|
||||
IntVec B = readIntVector(str.str());
|
||||
check_intvectors_equal(adm.dd.getMLGN(), B);
|
||||
|
||||
str.str("");
|
||||
str << "src/ASM/Test/refdata/DomainDecomposition_MPI_3D_4_mixed_periodiclm";
|
||||
str << GetParam() << "_eqs" << adm.getProcId() << ".ref";
|
||||
B = readIntVector(str.str());
|
||||
check_intvectors_equal(adm.dd.getMLGEQ(), B);
|
||||
}
|
||||
|
||||
|
||||
const std::vector<int> orientations2D = {0,1};
|
||||
INSTANTIATE_TEST_CASE_P(TestDomainDecomposition2D, TestDomainDecomposition2D, testing::ValuesIn(orientations2D));
|
||||
const std::vector<int> orientations3D = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16};
|
||||
|
@ -2,10 +2,6 @@
|
||||
|
||||
<simulation>
|
||||
|
||||
<postprocessing>
|
||||
<logging output_prefix="foo"/>
|
||||
</postprocessing>
|
||||
|
||||
<!-- General - geometry definitions !-->
|
||||
<geometry>
|
||||
<partitioning procs="4" nperproc="1"/>
|
||||
|
@ -0,0 +1,2 @@
|
||||
47
|
||||
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
@ -0,0 +1,2 @@
|
||||
46
|
||||
23 24 25 26 27 28 29 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 42 43 44 45 46 47 69 70 71 72 73 74 75 76 77 78 79 80
|
@ -0,0 +1,2 @@
|
||||
45
|
||||
6 81 82 1 13 14 83 84 85 86 7 8 21 22 87 88 89 90 15 16 28 29 91 92 93 94 23 34 35 95 96 97 98 40 41 99 100 101 102 46 47 103 104 105 106
|
@ -0,0 +1,2 @@
|
||||
46
|
||||
28 29 91 92 93 94 23 53 54 107 108 109 110 48 60 61 111 112 113 114 55 67 68 115 116 117 118 62 46 47 103 104 105 106 73 74 119 120 121 122 79 80 123 124 125 126
|
@ -0,0 +1,2 @@
|
||||
25
|
||||
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
@ -0,0 +1,2 @@
|
||||
25
|
||||
13 14 15 16 26 27 28 29 30 31 32 33 34 35 36 37 23 24 25 38 39 40 41 42 43
|
@ -0,0 +1,2 @@
|
||||
25
|
||||
4 44 45 1 8 46 47 5 12 48 49 9 16 50 51 13 19 52 53 22 54 55 25 56 57
|
@ -0,0 +1,2 @@
|
||||
25
|
||||
16 50 51 13 29 58 59 26 33 60 61 30 37 62 63 34 25 56 57 40 64 65 43 66 67
|
@ -0,0 +1,2 @@
|
||||
46
|
||||
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
@ -0,0 +1,2 @@
|
||||
48
|
||||
22 23 24 25 26 27 28 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 1 2 3 4 5 6 7 41 42 43 44 45 46 63 64 65 66 67 68 69 70 71 72 73 74
|
@ -0,0 +1,2 @@
|
||||
50
|
||||
27 28 20 21 13 14 6 7 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 45 46 39 40 33 34 99 100 101 102 103 104 105 106 107 108 109 110
|
@ -0,0 +1,2 @@
|
||||
50
|
||||
27 28 75 76 83 84 91 92 53 54 111 112 113 114 115 116 61 62 117 118 119 120 121 122 6 7 81 82 89 90 97 98 45 46 99 100 105 106 67 68 123 124 125 126 73 74 127 128 129 130
|
@ -0,0 +1,2 @@
|
||||
25
|
||||
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
@ -0,0 +1,2 @@
|
||||
25
|
||||
13 14 15 16 26 27 28 29 30 31 32 33 1 2 3 4 23 24 25 34 35 36 37 38 39
|
@ -0,0 +1,2 @@
|
||||
25
|
||||
16 12 8 4 40 41 42 43 44 45 46 47 48 49 50 51 25 22 19 52 53 54 55 56 57
|
@ -0,0 +1,2 @@
|
||||
25
|
||||
16 40 44 48 29 58 59 60 33 61 62 63 4 43 47 51 25 52 55 36 64 65 39 66 67
|
@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
|
||||
<simulation>
|
||||
|
||||
<!-- General - geometry definitions !-->
|
||||
<geometry>
|
||||
<partitioning procs="4" nperproc="1"/>
|
||||
<patchfile>src/ASM/Test/refdata/square-4-orient0.g2</patchfile>
|
||||
<refine patch="1" u="1" v="1"/>
|
||||
<refine patch="2" u="1" v="1"/>
|
||||
<refine patch="3" u="1" v="1"/>
|
||||
<refine patch="4" u="1" v="1"/>
|
||||
<topology>
|
||||
<connection master="1" medge="4" slave="2" sedge="3"/>
|
||||
<connection master="1" medge="2" slave="3" sedge="1"/>
|
||||
<connection master="2" medge="2" slave="4" sedge="1"/>
|
||||
<connection master="3" medge="4" slave="4" sedge="3"/>
|
||||
|
||||
<connection master="1" medge="1" slave="3" sedge="2" basis="1" periodic="true"/>
|
||||
<connection master="2" medge="1" slave="4" sedge="2" basis="1" periodic="true"/>
|
||||
</topology>
|
||||
|
||||
<topologysets>
|
||||
<set name="dir" type="vertex">
|
||||
<item patch="1">1 2 3</item>
|
||||
<item patch="3">4</item>
|
||||
</set>
|
||||
<set name="dir" type="edge">
|
||||
<item patch="2">1</item>
|
||||
<item patch="3">3</item>
|
||||
<item patch="4">2</item>
|
||||
</set>
|
||||
</topologysets>
|
||||
</geometry>
|
||||
|
||||
<boundaryconditions>
|
||||
<dirichlet set="dir" basis="1" comp="1"/>
|
||||
</boundaryconditions>
|
||||
|
||||
</simulation>
|
@ -0,0 +1,2 @@
|
||||
9
|
||||
1 2 3 4 5 6 7 8 9
|
@ -0,0 +1,2 @@
|
||||
9
|
||||
7 8 9 10 11 12 13 14 15
|
@ -0,0 +1,2 @@
|
||||
9
|
||||
3 16 1 6 17 4 9 18 7
|
@ -0,0 +1,2 @@
|
||||
9
|
||||
9 18 7 12 19 10 15 20 13
|
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
|
||||
<simulation>
|
||||
|
||||
<!-- General - geometry definitions !-->
|
||||
<geometry>
|
||||
<partitioning procs="4" nperproc="1"/>
|
||||
<patchfile>src/ASM/Test/refdata/square-4-orient1.g2</patchfile>
|
||||
<refine patch="1" u="1" v="1"/>
|
||||
<refine patch="2" u="1" v="1"/>
|
||||
<refine patch="3" u="1" v="1"/>
|
||||
<refine patch="4" u="1" v="1"/>
|
||||
<topology>
|
||||
<connection master="1" medge="4" slave="2" sedge="3"/>
|
||||
<connection master="1" medge="2" slave="3" sedge="3" reverse="true"/>
|
||||
<connection master="2" medge="2" slave="4" sedge="1"/>
|
||||
<connection master="3" medge="1" slave="4" sedge="3"/>
|
||||
|
||||
<connection master="1" medge="3" slave="2" sedge="4" basis="1" periodic="true"/>
|
||||
<connection master="3" medge="2" slave="4" sedge="4" basis="1" periodic="true"/>
|
||||
</topology>
|
||||
|
||||
<topologysets>
|
||||
<set name="dir" type="vertex">
|
||||
<item patch="2">1 3</item>
|
||||
</set>
|
||||
<set name="dir" type="edge">
|
||||
<item patch="1">1</item>
|
||||
</set>
|
||||
</topologysets>
|
||||
</geometry>
|
||||
|
||||
<boundaryconditions>
|
||||
<dirichlet set="dir" basis="1" comp="1"/>
|
||||
</boundaryconditions>
|
||||
|
||||
</simulation>
|
@ -0,0 +1,2 @@
|
||||
9
|
||||
1 2 3 4 5 6 7 8 9
|
@ -0,0 +1,2 @@
|
||||
9
|
||||
7 8 9 10 11 12 1 2 3
|
@ -0,0 +1,2 @@
|
||||
9
|
||||
9 6 3 13 14 15 16 17 18
|
@ -0,0 +1,2 @@
|
||||
9
|
||||
9 13 16 12 19 20 3 15 18
|
@ -0,0 +1,2 @@
|
||||
141
|
||||
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141
|
@ -0,0 +1,2 @@
|
||||
141
|
||||
13 14 15 16 142 143 144 145 146 147 148 149 150 151 152 153 29 30 31 32 154 155 156 157 158 159 160 161 162 163 164 165 45 46 47 48 166 167 168 169 170 171 172 173 174 175 176 177 61 62 63 64 178 179 180 181 182 183 184 185 186 187 188 189 71 72 73 190 191 192 193 194 195 80 81 82 196 197 198 199 200 201 89 90 91 202 203 204 205 206 207 98 99 208 209 210 211 212 213 106 107 214 215 216 217 218 219 114 115 220 221 222 223 224 225 122 123 226 227 228 229 230 231 128 129 232 233 234 235 134 135 236 237 238 239 140 141 240 241 242 243
|
@ -0,0 +1,2 @@
|
||||
141
|
||||
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 83 84 85 86 87 88 89 90 91 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 116 117 118 119 120 121 122 123 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 136 137 138 139 140 141 334 335 336 337 338 339 340 341 342 343 344 345
|
@ -0,0 +1,2 @@
|
||||
141
|
||||
61 62 63 64 178 179 180 181 182 183 184 185 186 187 188 189 256 257 258 259 346 347 348 349 350 351 352 353 354 355 356 357 272 273 274 275 358 359 360 361 362 363 364 365 366 367 368 369 288 289 290 291 370 371 372 373 374 375 376 377 378 379 380 381 89 90 91 202 203 204 205 206 207 298 299 300 382 383 384 385 386 387 307 308 309 388 389 390 391 392 393 122 123 226 227 228 229 230 231 316 317 394 395 396 397 398 399 324 325 400 401 402 403 404 405 332 333 406 407 408 409 410 411 140 141 240 241 242 243 338 339 412 413 414 415 344 345 416 417 418 419
|
@ -0,0 +1,2 @@
|
||||
141
|
||||
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141
|
@ -0,0 +1,2 @@
|
||||
141
|
||||
13 14 15 16 142 143 144 145 146 147 148 149 150 151 152 153 29 30 31 32 154 155 156 157 158 159 160 161 162 163 164 165 45 46 47 48 166 167 168 169 170 171 172 173 174 175 176 177 61 62 63 64 178 179 180 181 182 183 184 185 186 187 188 189 71 72 73 190 191 192 193 194 195 80 81 82 196 197 198 199 200 201 89 90 91 202 203 204 205 206 207 98 99 208 209 210 211 212 213 106 107 214 215 216 217 218 219 114 115 220 221 222 223 224 225 122 123 226 227 228 229 230 231 128 129 232 233 234 235 134 135 236 237 238 239 140 141 240 241 242 243
|
@ -0,0 +1,2 @@
|
||||
141
|
||||
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 83 84 85 86 87 88 89 90 91 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 116 117 118 119 120 121 122 123 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 136 137 138 139 140 141 334 335 336 337 338 339 340 341 342 343 344 345
|
@ -0,0 +1,2 @@
|
||||
141
|
||||
61 62 63 64 178 179 180 181 182 183 184 185 186 187 188 189 256 257 258 259 346 347 348 349 350 351 352 353 354 355 356 357 272 273 274 275 358 359 360 361 362 363 364 365 366 367 368 369 288 289 290 291 370 371 372 373 374 375 376 377 378 379 380 381 89 90 91 202 203 204 205 206 207 298 299 300 382 383 384 385 386 387 307 308 309 388 389 390 391 392 393 122 123 226 227 228 229 230 231 316 317 394 395 396 397 398 399 324 325 400 401 402 403 404 405 332 333 406 407 408 409 410 411 140 141 240 241 242 243 338 339 412 413 414 415 344 345 416 417 418 419
|
@ -0,0 +1,2 @@
|
||||
157
|
||||
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
|
@ -0,0 +1,2 @@
|
||||
157
|
||||
13 14 15 16 158 159 160 161 162 163 164 165 1 2 3 4 29 30 31 32 166 167 168 169 170 171 172 173 17 18 19 20 45 46 47 48 174 175 176 177 178 179 180 181 33 34 35 36 61 62 63 64 182 183 184 185 186 187 188 189 49 50 51 52 71 72 73 190 191 192 193 194 195 80 81 82 196 197 198 199 200 201 89 90 91 202 203 204 205 206 207 101 102 103 208 209 210 211 212 213 92 93 94 113 114 115 214 215 216 217 218 219 104 105 106 125 126 127 220 221 222 223 224 225 116 117 118 137 138 139 226 227 228 229 230 231 128 129 130 144 145 232 233 234 235 150 151 236 237 238 239 156 157 240 241 242 243
|
@ -0,0 +1,2 @@
|
||||
157
|
||||
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 83 84 85 86 87 88 89 90 91 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 128 129 130 131 132 133 134 135 136 137 138 139 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 152 153 154 155 156 157 346 347 348 349 350 351 352 353 354 355 356 357
|
@ -0,0 +1,2 @@
|
||||
157
|
||||
61 62 63 64 182 183 184 185 186 187 188 189 49 50 51 52 256 257 258 259 358 359 360 361 362 363 364 365 244 245 246 247 272 273 274 275 366 367 368 369 370 371 372 373 260 261 262 263 288 289 290 291 374 375 376 377 378 379 380 381 276 277 278 279 89 90 91 202 203 204 205 206 207 298 299 300 382 383 384 385 386 387 307 308 309 388 389 390 391 392 393 137 138 139 226 227 228 229 230 231 128 129 130 319 320 321 394 395 396 397 398 399 310 311 312 331 332 333 400 401 402 403 404 405 322 323 324 343 344 345 406 407 408 409 410 411 334 335 336 156 157 240 241 242 243 350 351 412 413 414 415 356 357 416 417 418 419
|
@ -0,0 +1,2 @@
|
||||
157
|
||||
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
|
@ -0,0 +1,2 @@
|
||||
157
|
||||
13 14 15 16 158 159 160 161 162 163 164 165 1 2 3 4 29 30 31 32 166 167 168 169 170 171 172 173 17 18 19 20 45 46 47 48 174 175 176 177 178 179 180 181 33 34 35 36 61 62 63 64 182 183 184 185 186 187 188 189 49 50 51 52 71 72 73 190 191 192 193 194 195 80 81 82 196 197 198 199 200 201 89 90 91 202 203 204 205 206 207 101 102 103 208 209 210 211 212 213 92 93 94 113 114 115 214 215 216 217 218 219 104 105 106 125 126 127 220 221 222 223 224 225 116 117 118 137 138 139 226 227 228 229 230 231 128 129 130 144 145 232 233 234 235 150 151 236 237 238 239 156 157 240 241 242 243
|
@ -0,0 +1,2 @@
|
||||
157
|
||||
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 83 84 85 86 87 88 89 90 91 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 128 129 130 131 132 133 134 135 136 137 138 139 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 152 153 154 155 156 157 346 347 348 349 350 351 352 353 354 355 356 357
|
@ -0,0 +1,2 @@
|
||||
157
|
||||
61 62 63 64 182 183 184 185 186 187 188 189 49 50 51 52 256 257 258 259 358 359 360 361 362 363 364 365 244 245 246 247 272 273 274 275 366 367 368 369 370 371 372 373 260 261 262 263 288 289 290 291 374 375 376 377 378 379 380 381 276 277 278 279 89 90 91 202 203 204 205 206 207 298 299 300 382 383 384 385 386 387 307 308 309 388 389 390 391 392 393 137 138 139 226 227 228 229 230 231 128 129 130 319 320 321 394 395 396 397 398 399 310 311 312 331 332 333 400 401 402 403 404 405 322 323 324 343 344 345 406 407 408 409 410 411 334 335 336 156 157 240 241 242 243 350 351 412 413 414 415 356 357 416 417 418 419
|
@ -0,0 +1,2 @@
|
||||
157
|
||||
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
|
@ -0,0 +1,2 @@
|
||||
157
|
||||
13 14 15 16 158 159 160 161 162 163 164 165 166 167 168 169 29 30 31 32 170 171 172 173 174 175 176 177 178 179 180 181 45 46 47 48 182 183 184 185 186 187 188 189 190 191 192 193 61 62 63 64 194 195 196 197 198 199 200 201 202 203 204 205 71 72 73 206 207 208 209 210 211 80 81 82 212 213 214 215 216 217 89 90 91 218 219 220 221 222 223 101 102 103 224 225 226 227 228 229 230 231 232 113 114 115 233 234 235 236 237 238 239 240 241 125 126 127 242 243 244 245 246 247 248 249 250 137 138 139 251 252 253 254 255 256 257 258 259 144 145 260 261 262 263 150 151 264 265 266 267 156 157 268 269 270 271
|
@ -0,0 +1,2 @@
|
||||
157
|
||||
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 83 84 85 86 87 88 89 90 91 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 128 129 130 131 132 133 134 135 136 137 138 139 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 92 93 94 95 96 97 98 99 100 101 102 103 152 153 154 155 156 157 346 347 348 349 350 351 352 353 354 355 356 357
|
@ -0,0 +1,2 @@
|
||||
157
|
||||
61 62 63 64 194 195 196 197 198 199 200 201 202 203 204 205 284 285 286 287 358 359 360 361 362 363 364 365 366 367 368 369 300 301 302 303 370 371 372 373 374 375 376 377 378 379 380 381 13 14 15 16 158 159 160 161 162 163 164 165 166 167 168 169 89 90 91 218 219 220 221 222 223 310 311 312 382 383 384 385 386 387 319 320 321 388 389 390 391 392 393 137 138 139 251 252 253 254 255 256 257 258 259 331 332 333 394 395 396 397 398 399 400 401 402 343 344 345 403 404 405 406 407 408 409 410 411 101 102 103 224 225 226 227 228 229 230 231 232 156 157 268 269 270 271 350 351 412 413 414 415 356 357 416 417 418 419
|
@ -0,0 +1,2 @@
|
||||
157
|
||||
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
|
@ -0,0 +1,2 @@
|
||||
157
|
||||
13 14 15 16 158 159 160 161 162 163 164 165 166 167 168 169 29 30 31 32 170 171 172 173 174 175 176 177 178 179 180 181 45 46 47 48 182 183 184 185 186 187 188 189 190 191 192 193 61 62 63 64 194 195 196 197 198 199 200 201 202 203 204 205 71 72 73 206 207 208 209 210 211 80 81 82 212 213 214 215 216 217 89 90 91 218 219 220 221 222 223 101 102 103 224 225 226 227 228 229 230 231 232 113 114 115 233 234 235 236 237 238 239 240 241 125 126 127 242 243 244 245 246 247 248 249 250 137 138 139 251 252 253 254 255 256 257 258 259 144 145 260 261 262 263 150 151 264 265 266 267 156 157 268 269 270 271
|
@ -0,0 +1,2 @@
|
||||
157
|
||||
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 83 84 85 86 87 88 89 90 91 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 128 129 130 131 132 133 134 135 136 137 138 139 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 92 93 94 95 96 97 98 99 100 101 102 103 152 153 154 155 156 157 346 347 348 349 350 351 352 353 354 355 356 357
|
@ -0,0 +1,2 @@
|
||||
157
|
||||
61 62 63 64 194 195 196 197 198 199 200 201 202 203 204 205 284 285 286 287 358 359 360 361 362 363 364 365 366 367 368 369 300 301 302 303 370 371 372 373 374 375 376 377 378 379 380 381 13 14 15 16 158 159 160 161 162 163 164 165 166 167 168 169 89 90 91 218 219 220 221 222 223 310 311 312 382 383 384 385 386 387 319 320 321 388 389 390 391 392 393 137 138 139 251 252 253 254 255 256 257 258 259 331 332 333 394 395 396 397 398 399 400 401 402 343 344 345 403 404 405 406 407 408 409 410 411 101 102 103 224 225 226 227 228 229 230 231 232 156 157 268 269 270 271 350 351 412 413 414 415 356 357 416 417 418 419
|
@ -0,0 +1,2 @@
|
||||
133
|
||||
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
|
@ -0,0 +1,2 @@
|
||||
133
|
||||
13 14 15 16 134 135 136 137 138 139 140 141 1 2 3 4 29 30 31 32 142 143 144 145 146 147 148 149 17 18 19 20 45 46 47 48 150 151 152 153 154 155 156 157 33 34 35 36 61 62 63 64 158 159 160 161 162 163 164 165 49 50 51 52 71 72 73 166 167 168 65 66 67 80 81 82 169 170 171 74 75 76 89 90 91 172 173 174 83 84 85 98 99 175 176 177 178 92 93 106 107 179 180 181 182 100 101 114 115 183 184 185 186 108 109 122 123 187 188 189 190 116 117 126 191 124 129 192 127 132 193 130 133
|
@ -0,0 +1,2 @@
|
||||
133
|
||||
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 83 84 85 86 87 88 89 90 91 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 116 117 118 119 120 121 122 123 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 130 131 132 284 285 286 287 288 289 133
|
@ -0,0 +1,2 @@
|
||||
133
|
||||
61 62 63 64 158 159 160 161 162 163 164 165 49 50 51 52 206 207 208 209 290 291 292 293 294 295 296 297 194 195 196 197 222 223 224 225 298 299 300 301 302 303 304 305 210 211 212 213 238 239 240 241 306 307 308 309 310 311 312 313 226 227 228 229 89 90 91 172 173 174 83 84 85 248 249 250 314 315 316 242 243 244 257 258 259 317 318 319 251 252 253 122 123 187 188 189 190 116 117 266 267 320 321 322 323 260 261 274 275 324 325 326 327 268 269 282 283 328 329 330 331 276 277 132 193 130 286 332 284 289 333 287 133
|
@ -0,0 +1,2 @@
|
||||
133
|
||||
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
|
@ -0,0 +1,2 @@
|
||||
133
|
||||
13 14 15 16 134 135 136 137 138 139 140 141 1 2 3 4 29 30 31 32 142 143 144 145 146 147 148 149 17 18 19 20 45 46 47 48 150 151 152 153 154 155 156 157 33 34 35 36 61 62 63 64 158 159 160 161 162 163 164 165 49 50 51 52 71 72 73 166 167 168 65 66 67 80 81 82 169 170 171 74 75 76 89 90 91 172 173 174 83 84 85 98 99 175 176 177 178 92 93 106 107 179 180 181 182 100 101 114 115 183 184 185 186 108 109 122 123 187 188 189 190 116 117 126 191 124 129 192 127 132 193 130 133
|
@ -0,0 +1,2 @@
|
||||
133
|
||||
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 83 84 85 86 87 88 89 90 91 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 116 117 118 119 120 121 122 123 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 130 131 132 284 285 286 287 288 289 133
|
@ -0,0 +1,2 @@
|
||||
133
|
||||
61 62 63 64 158 159 160 161 162 163 164 165 49 50 51 52 206 207 208 209 290 291 292 293 294 295 296 297 194 195 196 197 222 223 224 225 298 299 300 301 302 303 304 305 210 211 212 213 238 239 240 241 306 307 308 309 310 311 312 313 226 227 228 229 89 90 91 172 173 174 83 84 85 248 249 250 314 315 316 242 243 244 257 258 259 317 318 319 251 252 253 122 123 187 188 189 190 116 117 266 267 320 321 322 323 260 261 274 275 324 325 326 327 268 269 282 283 328 329 330 331 276 277 132 193 130 286 332 284 289 333 287 133
|
@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
|
||||
<simulation>
|
||||
|
||||
<!-- General - geometry definitions !-->
|
||||
<geometry>
|
||||
<partitioning procs="4" nperproc="2"/>
|
||||
<patchfile>src/ASM/Test/refdata/cube-8-orient0.g2</patchfile>
|
||||
<refine patch="1" u="1" v="1" w="1"/>
|
||||
<refine patch="2" u="1" v="1" w="1"/>
|
||||
<refine patch="3" u="1" v="1" w="1"/>
|
||||
<refine patch="4" u="1" v="1" w="1"/>
|
||||
<refine patch="5" u="1" v="1" w="1"/>
|
||||
<refine patch="6" u="1" v="1" w="1"/>
|
||||
<refine patch="7" u="1" v="1" w="1"/>
|
||||
<refine patch="8" u="1" v="1" w="1"/>
|
||||
|
||||
<topology>
|
||||
<connection master="1" mface="2" slave="2" sface="1"/>
|
||||
<connection master="1" mface="4" slave="3" sface="3"/>
|
||||
<connection master="1" mface="6" slave="5" sface="5"/>
|
||||
|
||||
<connection master="2" mface="4" slave="4" sface="3"/>
|
||||
<connection master="2" mface="6" slave="6" sface="5"/>
|
||||
|
||||
<connection master="3" mface="2" slave="4" sface="1"/>
|
||||
<connection master="3" mface="6" slave="7" sface="5"/>
|
||||
|
||||
<connection master="4" mface="6" slave="8" sface="5"/>
|
||||
|
||||
<connection master="5" mface="2" slave="6" sface="1"/>
|
||||
<connection master="5" mface="4" slave="7" sface="3"/>
|
||||
|
||||
<connection master="6" mface="4" slave="8" sface="3"/>
|
||||
|
||||
<connection master="7" mface="2" slave="8" sface="1"/>
|
||||
|
||||
<connection master="1" mface="1" slave="2" sface="2" basis="1" periodic="true"/>
|
||||
<connection master="3" mface="1" slave="4" sface="2" basis="1" periodic="true"/>
|
||||
<connection master="5" mface="1" slave="6" sface="2" basis="1" periodic="true"/>
|
||||
<connection master="7" mface="1" slave="8" sface="2" basis="1" periodic="true"/>
|
||||
</topology>
|
||||
|
||||
</geometry>
|
||||
|
||||
</simulation>
|
@ -0,0 +1,2 @@
|
||||
36
|
||||
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
@ -0,0 +1,2 @@
|
||||
36
|
||||
7 8 9 37 38 39 40 41 42 16 17 18 43 44 45 46 47 48 25 26 27 49 50 51 52 53 54 30 55 56 33 57 58 36 59 60
|
@ -0,0 +1,2 @@
|
||||
36
|
||||
19 20 21 22 23 24 25 26 27 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 34 35 36 79 80 81 82 83 84
|
@ -0,0 +1,2 @@
|
||||
36
|
||||
25 26 27 49 50 51 52 53 54 67 68 69 85 86 87 88 89 90 76 77 78 91 92 93 94 95 96 36 59 60 81 97 98 84 99 100
|
@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
|
||||
<simulation>
|
||||
|
||||
<!-- General - geometry definitions !-->
|
||||
<geometry>
|
||||
<partitioning procs="4" nperproc="2"/>
|
||||
<patchfile>src/ASM/Test/refdata/cube-8-orient0.g2</patchfile>
|
||||
<refine patch="1" u="1" v="1" w="1"/>
|
||||
<refine patch="2" u="1" v="1" w="1"/>
|
||||
<refine patch="3" u="1" v="1" w="1"/>
|
||||
<refine patch="4" u="1" v="1" w="1"/>
|
||||
<refine patch="5" u="1" v="1" w="1"/>
|
||||
<refine patch="6" u="1" v="1" w="1"/>
|
||||
<refine patch="7" u="1" v="1" w="1"/>
|
||||
<refine patch="8" u="1" v="1" w="1"/>
|
||||
|
||||
<topology>
|
||||
<connection master="1" mface="2" slave="2" sface="1"/>
|
||||
<connection master="1" mface="4" slave="3" sface="3"/>
|
||||
<connection master="1" mface="6" slave="5" sface="5"/>
|
||||
|
||||
<connection master="2" mface="4" slave="4" sface="3"/>
|
||||
<connection master="2" mface="6" slave="6" sface="5"/>
|
||||
|
||||
<connection master="3" mface="2" slave="4" sface="1"/>
|
||||
<connection master="3" mface="6" slave="7" sface="5"/>
|
||||
|
||||
<connection master="4" mface="6" slave="8" sface="5"/>
|
||||
|
||||
<connection master="5" mface="2" slave="6" sface="1"/>
|
||||
<connection master="5" mface="4" slave="7" sface="3"/>
|
||||
|
||||
<connection master="6" mface="4" slave="8" sface="3"/>
|
||||
|
||||
<connection master="7" mface="2" slave="8" sface="1"/>
|
||||
|
||||
<connection master="1" mface="3" slave="3" sface="4" periodic="true" basis="1"/>
|
||||
<connection master="2" mface="3" slave="4" sface="4" periodic="true" basis="1"/>
|
||||
<connection master="5" mface="3" slave="7" sface="4" periodic="true" basis="1"/>
|
||||
<connection master="6" mface="3" slave="8" sface="4" periodic="true" basis="1"/>
|
||||
</topology>
|
||||
</geometry>
|
||||
</simulation>
|
@ -0,0 +1,2 @@
|
||||
45
|
||||
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
@ -0,0 +1,2 @@
|
||||
45
|
||||
7 8 9 46 47 48 1 2 3 16 17 18 49 50 51 10 11 12 25 26 27 52 53 54 19 20 21 32 33 55 56 28 29 38 39 57 58 34 35 44 45 59 60 40 41
|
@ -0,0 +1,2 @@
|
||||
45
|
||||
19 20 21 22 23 24 25 26 27 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 40 41 42 43 44 45 79 80 81 82 83 84 85 86 87 88 89 90
|
@ -0,0 +1,2 @@
|
||||
45
|
||||
25 26 27 52 53 54 19 20 21 67 68 69 91 92 93 61 62 63 76 77 78 94 95 96 70 71 72 44 45 59 60 40 41 83 84 97 98 79 80 89 90 99 100 85 86
|
@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
|
||||
<simulation>
|
||||
|
||||
<!-- General - geometry definitions !-->
|
||||
<geometry>
|
||||
<partitioning procs="4" nperproc="2"/>
|
||||
<patchfile>src/ASM/Test/refdata/cube-8-orient0.g2</patchfile>
|
||||
<refine patch="1" u="1" v="1" w="1"/>
|
||||
<refine patch="2" u="1" v="1" w="1"/>
|
||||
<refine patch="3" u="1" v="1" w="1"/>
|
||||
<refine patch="4" u="1" v="1" w="1"/>
|
||||
<refine patch="5" u="1" v="1" w="1"/>
|
||||
<refine patch="6" u="1" v="1" w="1"/>
|
||||
<refine patch="7" u="1" v="1" w="1"/>
|
||||
<refine patch="8" u="1" v="1" w="1"/>
|
||||
|
||||
<topology>
|
||||
<connection master="1" mface="2" slave="2" sface="1"/>
|
||||
<connection master="1" mface="4" slave="3" sface="3"/>
|
||||
<connection master="1" mface="6" slave="5" sface="5"/>
|
||||
|
||||
<connection master="2" mface="4" slave="4" sface="3"/>
|
||||
<connection master="2" mface="6" slave="6" sface="5"/>
|
||||
|
||||
<connection master="3" mface="2" slave="4" sface="1"/>
|
||||
<connection master="3" mface="6" slave="7" sface="5"/>
|
||||
|
||||
<connection master="4" mface="6" slave="8" sface="5"/>
|
||||
|
||||
<connection master="5" mface="2" slave="6" sface="1"/>
|
||||
<connection master="5" mface="4" slave="7" sface="3"/>
|
||||
|
||||
<connection master="6" mface="4" slave="8" sface="3"/>
|
||||
|
||||
<connection master="7" mface="2" slave="8" sface="1"/>
|
||||
|
||||
<connection master="1" mface="5" slave="5" sface="6" periodic="true" basis="1"/>
|
||||
<connection master="2" mface="5" slave="6" sface="6" periodic="true" basis="1"/>
|
||||
<connection master="3" mface="5" slave="7" sface="6" periodic="true" basis="1"/>
|
||||
<connection master="4" mface="5" slave="8" sface="6" periodic="true" basis="1"/>
|
||||
</topology>
|
||||
</geometry>
|
||||
|
||||
</simulation>
|
@ -0,0 +1,2 @@
|
||||
45
|
||||
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
@ -0,0 +1,2 @@
|
||||
45
|
||||
7 8 9 46 47 48 49 50 51 16 17 18 52 53 54 55 56 57 25 26 27 58 59 60 61 62 63 32 33 64 65 66 67 38 39 68 69 70 71 44 45 72 73 74 75
|
@ -0,0 +1,2 @@
|
||||
45
|
||||
19 20 21 22 23 24 25 26 27 76 77 78 79 80 81 82 83 84 1 2 3 4 5 6 7 8 9 40 41 42 43 44 45 85 86 87 88 89 90 28 29 30 31 32 33
|
@ -0,0 +1,2 @@
|
||||
45
|
||||
25 26 27 58 59 60 61 62 63 82 83 84 91 92 93 94 95 96 7 8 9 46 47 48 49 50 51 44 45 72 73 74 75 89 90 97 98 99 100 32 33 64 65 66 67
|
@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
|
||||
<simulation>
|
||||
|
||||
<!-- General - geometry definitions !-->
|
||||
<geometry>
|
||||
<partitioning procs="4" nperproc="2"/>
|
||||
<partitioning procs="8" nperproc="1"/>
|
||||
<patchfile>src/ASM/Test/refdata/cube-8-orient0.g2</patchfile>
|
||||
<refine patch="1" u="1" v="1" w="1"/>
|
||||
<refine patch="2" u="1" v="1" w="1"/>
|
||||
<refine patch="3" u="1" v="1" w="1"/>
|
||||
<refine patch="4" u="1" v="1" w="1"/>
|
||||
<refine patch="5" u="1" v="1" w="1"/>
|
||||
<refine patch="6" u="1" v="1" w="1"/>
|
||||
<refine patch="7" u="1" v="1" w="1"/>
|
||||
<refine patch="8" u="1" v="1" w="1"/>
|
||||
|
||||
<topology>
|
||||
<connection master="1" mface="2" slave="2" sface="1"/>
|
||||
<connection master="1" mface="4" slave="3" sface="3"/>
|
||||
<connection master="1" mface="6" slave="5" sface="5"/>
|
||||
|
||||
<connection master="2" mface="4" slave="4" sface="3"/>
|
||||
<connection master="2" mface="6" slave="6" sface="5"/>
|
||||
|
||||
<connection master="3" mface="2" slave="4" sface="1"/>
|
||||
<connection master="3" mface="6" slave="7" sface="5"/>
|
||||
|
||||
<connection master="4" mface="6" slave="8" sface="5"/>
|
||||
|
||||
<connection master="5" mface="2" slave="6" sface="1"/>
|
||||
<connection master="5" mface="4" slave="7" sface="3"/>
|
||||
|
||||
<connection master="6" mface="4" slave="8" sface="3"/>
|
||||
|
||||
<connection master="7" mface="2" slave="8" sface="1"/>
|
||||
|
||||
<connection master="1" mface="1" slave="2" sface="2" periodic="true"/>
|
||||
<connection master="3" mface="1" slave="4" sface="2" periodic="true"/>
|
||||
<connection master="5" mface="1" slave="6" sface="2" periodic="true"/>
|
||||
<connection master="7" mface="1" slave="8" sface="2" periodic="true"/>
|
||||
|
||||
<connection master="1" mface="3" slave="3" sface="4" periodic="true"/>
|
||||
<connection master="2" mface="3" slave="4" sface="4" periodic="true"/>
|
||||
<connection master="5" mface="3" slave="7" sface="4" periodic="true"/>
|
||||
<connection master="6" mface="3" slave="8" sface="4" periodic="true"/>
|
||||
</topology>
|
||||
|
||||
<topologysets>
|
||||
<set name="fix" type="face">
|
||||
<item patch="1">5</item>
|
||||
<item patch="2">5</item>
|
||||
<item patch="3">5</item>
|
||||
<item patch="4">5</item>
|
||||
<item patch="5">6</item>
|
||||
<item patch="6">6</item>
|
||||
<item patch="7">6</item>
|
||||
<item patch="8">6</item>
|
||||
</set>
|
||||
</topologysets>
|
||||
</geometry>
|
||||
|
||||
<!--
|
||||
<boundaryconditions>
|
||||
<dirichlet set="fix" basis="1"/>
|
||||
</boundaryconditions>
|
||||
-->
|
||||
|
||||
</simulation>
|
@ -102,7 +102,9 @@ bool SIM2D::addConnection (int master, int slave, int mIdx,
|
||||
return false;
|
||||
}
|
||||
else
|
||||
adm.dd.ghostConnections.insert(DomainDecomposition::Interface{master, slave, mIdx, sIdx, orient, 1});
|
||||
adm.dd.ghostConnections.insert(DomainDecomposition::Interface{master, slave,
|
||||
mIdx, sIdx,
|
||||
orient, 1, basis});
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -77,9 +77,10 @@ bool SIM3D::addConnection (int master, int slave, int mIdx,
|
||||
for (const int& b : bases)
|
||||
if (!spch->connectPatch(sIdx,*mpch,mIdx,orient,b,coordCheck))
|
||||
return false;
|
||||
}
|
||||
else
|
||||
adm.dd.ghostConnections.insert(DomainDecomposition::Interface{master, slave, mIdx, sIdx, orient, 2});
|
||||
} else
|
||||
adm.dd.ghostConnections.insert(DomainDecomposition::Interface{master, slave,
|
||||
mIdx, sIdx,
|
||||
orient, 2, basis});
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user