Skip to content
Snippets Groups Projects
Commit 6fec0607 authored by Matti Pellika's avatar Matti Pellika
Browse files

Some more stuff to Gmsh API ..

parent ef2d4a6a
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,8 @@ set(GMSH_API ...@@ -84,7 +84,8 @@ set(GMSH_API
${CMAKE_CURRENT_BINARY_DIR}/Common/GmshConfig.h ${CMAKE_CURRENT_BINARY_DIR}/Common/GmshConfig.h
${CMAKE_CURRENT_BINARY_DIR}/Common/GmshVersion.h ${CMAKE_CURRENT_BINARY_DIR}/Common/GmshVersion.h
Common/Gmsh.h Common/Context.h Common/GmshDefines.h Common/GmshMessage.h Common/Gmsh.h Common/Context.h Common/GmshDefines.h Common/GmshMessage.h
Common/VertexArray.h Common/Octree.h Common/OctreeInternals.h Common/VertexArray.h Common/Octree.h Common/OctreeInternals.h
Common/OS.h Common/StringUtils.h Common/OpenFile.h
Numeric/Numeric.h Numeric/GaussIntegration.h Numeric/polynomialBasis.h Numeric/Numeric.h Numeric/GaussIntegration.h Numeric/polynomialBasis.h
Numeric/JacobianBasis.h Numeric/fullMatrix.h Numeric/JacobianBasis.h Numeric/fullMatrix.h
Numeric/simpleFunction.h Numeric/cartesian.h Numeric/simpleFunction.h Numeric/cartesian.h
...@@ -108,8 +109,9 @@ set(GMSH_API ...@@ -108,8 +109,9 @@ set(GMSH_API
Solver/dofManager.h Solver/femTerm.h Solver/laplaceTerm.h Solver/elasticityTerm.h Solver/dofManager.h Solver/femTerm.h Solver/laplaceTerm.h Solver/elasticityTerm.h
Solver/crossConfTerm.h Solver/orthogonalTerm.h Solver/crossConfTerm.h Solver/orthogonalTerm.h
Solver/linearSystem.h Solver/linearSystemGMM.h Solver/linearSystemCSR.h Solver/linearSystem.h Solver/linearSystemGMM.h Solver/linearSystemCSR.h
Solver/linearSystemFull.h Solver/elasticitySolver.h Solver/sparsityPattern.h Solver/groupOfElements.h Solver/linearSystemFull.h Solver/elasticitySolver.h Solver/sparsityPattern.h Solver/groupOfElements.h Solver/linearSystemPETSc.h
Post/PView.h Post/PViewData.h Plugin/PluginManager.h Post/OctreePost.h Post/PViewDataGModel.h Post/PView.h Post/PViewData.h Plugin/PluginManager.h Post/OctreePost.h
Post/PViewDataGModel.h Post/PViewOptions.h Post/ColorTable.h
Numeric/nodalBasis.h Numeric/nodalBasis.h
Graphics/drawContext.h Graphics/drawContext.h
contrib/kbipack/gmp_normal_form.h contrib/kbipack/gmp_matrix.h contrib/kbipack/gmp_normal_form.h contrib/kbipack/gmp_matrix.h
......
...@@ -432,7 +432,7 @@ void Homology::findCompatibleBasisPair(int master, std::vector<int> dim) ...@@ -432,7 +432,7 @@ void Homology::findCompatibleBasisPair(int master, std::vector<int> dim)
} }
} }
void Homology::_addToModel(int dim, bool co, bool post, int physicalNumRequest) const std::vector<int> Homology::_addToModel(int dim, bool co, bool post, int physicalNumRequest) const
{ {
if(dim < 0 || dim > 3) return; if(dim < 0 || dim > 3) return;
int pgnum = -1; int pgnum = -1;
...@@ -460,11 +460,12 @@ void Homology::_addToModel(int dim, bool co, bool post, int physicalNumRequest) ...@@ -460,11 +460,12 @@ void Homology::_addToModel(int dim, bool co, bool post, int physicalNumRequest)
else Msg::Info("Span H^%d(%s) = %s", else Msg::Info("Span H^%d(%s) = %s",
dim, domain.c_str(), span.c_str()); dim, domain.c_str(), span.c_str());
} }
return physicals;
} }
void Homology::addChainsToModel(int dim, bool post, int physicalNumRequest) const void Homology::addChainsToModel(int dim, bool post, int physicalNumRequest) const
{ {
std::vector<int> physicals;
if(!_homologyComputed[dim]) if(!_homologyComputed[dim])
Msg::Warning("%d-Homology is not computed", dim); Msg::Warning("%d-Homology is not computed", dim);
if(dim == -1) { if(dim == -1) {
......
...@@ -90,7 +90,7 @@ class Homology ...@@ -90,7 +90,7 @@ class Homology
void _deleteChains(std::vector<int> dim=vecN0(4)); void _deleteChains(std::vector<int> dim=vecN0(4));
void _deleteCochains(std::vector<int> dim=vecN0(4)); void _deleteCochains(std::vector<int> dim=vecN0(4));
void _addToModel(int dim, bool co, bool post, int physicalNumRequest) const; std::vector<int> _addToModel(int dim, bool co, bool post, int physicalNumRequest) const;
public: public:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment