Commit 0d5615fc authored by Michael Turner's avatar Michael Turner
Browse files

prisms only

parent 0de34198
......@@ -53,6 +53,8 @@ ProcessLinear::ProcessLinear(MeshSharedPtr m) : ProcessModule(m)
ConfigOption(true, "0", "remove curve nodes for all elements.");
m_config["invalid"] =
ConfigOption(true, "0", "remove curve nodes if element is invalid.");
m_config["prismonly"] =
ConfigOption(false, "", "only acts on prims");
}
ProcessLinear::~ProcessLinear()
......@@ -139,6 +141,14 @@ void ProcessLinear::Process()
{
for (int i = 0; i < el.size(); ++i)
{
if(m_config["prismonly"].beenSet)
{
if(el[i]->GetConf().m_e != LibUtilities::ePrism)
{
continue;
}
}
// Create elemental geometry.
SpatialDomains::GeometrySharedPtr geom =
el[i]->GetGeom(m_mesh->m_spaceDim);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment