[Trilinos-Users] error wehn using stk
Dharmendar Reddy
dharmareddy84 at gmail.com
Fri Feb 26 01:40:37 EST 2016
Hello,
I see a compile error when i am trying to use stk. Can you help
me fix this:
In the include directory of the trilinos installation i see the following
folders related to stk:
stk_algsup/ stk_mesh/ stk_search/ stk_transfer/
stk_expreval/ stk_rebalance/ stk_search_util/ stk_util/
stk_io/ stk_rebalance_utils/ stk_topology/
note that stk_classic is missing
error message at compile says:
/work/LocalApps/trilinos/12.6.1/include/stk_mesh/base/FEMHelpers.hpp(49):
error:
identifier "Entity" is undefined
Entity declare_element( BulkData & mesh ,
FEMHelpers.hpp has the following include for entity:
42 #include "stk_mesh/base/Entity.hpp" // for Entity
43 namespace stk { namespace mesh { class BulkData; } }
44 namespace stk { namespace mesh { class Part; } }
45
46 namespace stk {
47 namespace mesh {
48
49 Entity declare_element( BulkData & mesh ,
Entity is in the name space stk::mesh
But the Entity.hpp in stk_mesh/base has the following:
23 #ifdef SIERRA_MIGRATION
24 #include <stk_mesh/base/Relation.hpp>
25
26 namespace stk_classic {
27 namespace mesh {
28 typedef RelationVector::const_iterator RelationIterator;
29 typedef boost::iterator_range<RelationIterator> RelationRange;
30 class Entity;
the above Entitiy.hpp is actually from stk_classic/stk_mesh/base
Why is it installed in stk_mesh/base
instead of stk_classic/stk_mesh/base ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20160226/ccb9087d/attachment.html>
More information about the Trilinos-Users
mailing list