/[escript]/trunk/finley/src/Assemble_interpolate.cpp
ViewVC logotype

Diff of /trunk/finley/src/Assemble_interpolate.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4491 by caltinay, Fri Jun 7 02:23:49 2013 UTC revision 4492 by caltinay, Tue Jul 2 01:44:11 2013 UTC
# Line 26  Line 26 
26    
27  namespace finley {  namespace finley {
28    
29  void Assemble_interpolate(NodeFile* nodes, ElementFile* elements,  void Assemble_interpolate(const NodeFile* nodes, const ElementFile* elements,
30                            const escript::Data& data,                            const escript::Data& data,
31                            escript::Data& interpolated_data)                            escript::Data& interpolated_data)
32  {  {
# Line 36  void Assemble_interpolate(NodeFile* node Line 36  void Assemble_interpolate(NodeFile* node
36    
37      const int data_type=data.getFunctionSpace().getTypeCode();      const int data_type=data.getFunctionSpace().getTypeCode();
38      const bool reducedOrder = util::hasReducedIntegrationOrder(interpolated_data);      const bool reducedOrder = util::hasReducedIntegrationOrder(interpolated_data);
39      Finley_ReferenceElement *reference_element =      ReferenceElement *reference_element = ReferenceElementSet_borrowReferenceElement(
         Finley_ReferenceElementSet_borrowReferenceElement(  
40                  elements->referenceElementSet, reducedOrder);                  elements->referenceElementSet, reducedOrder);
41    
42      int *resort_nodes = NULL, *map = NULL;      const int *resort_nodes = NULL, *map = NULL;
43      int numSub = 0, numNodes = 0;      int numSub = 0, numNodes = 0;
44      Finley_ShapeFunction *basis = NULL;      ShapeFunction *basis = NULL;
45      int dof_offset = 0;      int dof_offset = 0;
46    
47      if (data_type==FINLEY_NODES) {      if (data_type==FINLEY_NODES) {

Legend:
Removed from v.4491  
changed lines
  Added in v.4492

  ViewVC Help
Powered by ViewVC 1.1.26