Skip to content
Snippets Groups Projects
Commit dd98fbe6 authored by Van Dung Nguyen's avatar Van Dung Nguyen
Browse files

add pbc for 3D case

parent dddfa183
No related branches found
No related tags found
No related merge requests found
...@@ -69,6 +69,9 @@ class FunctionSpaceBase ...@@ -69,6 +69,9 @@ class FunctionSpaceBase
virtual ~FunctionSpaceBase(){} virtual ~FunctionSpaceBase(){}
virtual int getNumKeys(MElement *ele) = 0; // if one needs the number of dofs virtual int getNumKeys(MElement *ele) = 0; // if one needs the number of dofs
virtual void getKeys(MElement *ele, std::vector<Dof> &keys) = 0; virtual void getKeys(MElement *ele, std::vector<Dof> &keys) = 0;
virtual void getKeysOnVertex(MElement* ele, MVertex* v, const std::vector<int>& comp, std::vector<Dof>& keys){
Msg::Warning("this function is defined to get Dofs of vertex %d on element %d",v->getNum(),ele->getNum());
}
virtual FunctionSpaceBase* clone(const std::vector<int>& comp) const {return NULL;} virtual FunctionSpaceBase* clone(const std::vector<int>& comp) const {return NULL;}
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment