Skip to content
Snippets Groups Projects
Commit 7223d51b authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

correct bindings in elasticitySolver

parent 63b90b51
No related branches found
No related tags found
No related merge requests found
......@@ -290,6 +290,7 @@ void binding::checkDocCompleteness()
nBad++;
}
luaMethodBinding *constructor = cb->second->getConstructor();
printf("checking %s\n", cb->first.c_str());
if(constructor){
if(constructor->getDescription().empty()){
Msg::Error("binded constructor of class %s has no description.",
......@@ -313,6 +314,7 @@ void binding::checkDocCompleteness()
mb->first.c_str());
nBad++;
}
printf("checking %s\n", mb->first.c_str());
std::vector<std::string> argTypeNames;
mb->second->getArgTypeNames(argTypeNames);
int nTypeArg = countInArguments(argTypeNames);
......
......@@ -82,7 +82,7 @@ class elasticitySolver
if (pAssembler) delete pAssembler;
}
void readInputFile(const std::string &meshFileName);
void read(char *s) {readInputFile(s);}
void read(const std::string s) {readInputFile(s.c_str());}
virtual void setMesh(const std::string &meshFileName);
void solve();
virtual PView *buildDisplacementView(const std::string &postFileName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment