~vcs-imports/escript-finley/trunk

« back to all changes in this revision

Viewing changes to finley/src/CPPAdapter/MeshAdapter.h

  • Committer: jfenwick
  • Date: 2010-10-11 01:48:14 UTC
  • Revision ID: svn-v4:77569008-7704-0410-b7a0-a92fef0b09fd:trunk:3259
Merging dudley and scons updates from branches

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include "finley/Assemble.h"
23
23
#include "paso/SystemMatrix.h"
24
24
#include "paso/Transport.h"
25
 
#include "paso/Paso_MPI.h"
 
25
#include "esysUtils/Esys_MPI.h"
26
26
}
27
27
 
28
28
#include "FinleyError.h"
151
151
  virtual bool onMasterProcessor() const;
152
152
 
153
153
  FINLEY_DLL_API
154
 
#ifdef PASO_MPI
 
154
#ifdef ESYS_MPI
155
155
  MPI_Comm
156
156
#else
157
157
  unsigned int
160
160
 
161
161
  /**
162
162
     \brief
163
 
     return this as an AbstractContinuousDomain.
164
 
  */
165
 
  inline const AbstractContinuousDomain& asAbstractContinuousDomain() const 
166
 
  {
167
 
     return *(static_cast<const AbstractContinuousDomain*>(this));
168
 
  }
169
 
 
170
 
  /**
171
 
     \brief
172
 
     return this as an AbstractDomain.
173
 
  */
174
 
  inline const AbstractDomain& asAbstractDomain() const 
175
 
  {
176
 
     return *(static_cast<const AbstractDomain*>(this));
177
 
  }
178
 
 
179
 
  /**
180
 
     \brief
181
163
     Write the current mesh to a file with the given name.
182
164
     \param fileName Input - The name of the file to write to.
183
165
  */
605
587
    creates a SystemMatrixAdapter stiffness matrix and initializes it with zeros:
606
588
  */
607
589
  FINLEY_DLL_API
608
 
  SystemMatrixAdapter newSystemMatrix(
 
590
  escript::ASM_ptr newSystemMatrix(
609
591
                      const int row_blocksize,
610
592
                      const escript::FunctionSpace& row_functionspace,
611
593
                      const int column_blocksize,
618
600
  */
619
601
 
620
602
  FINLEY_DLL_API
621
 
  TransportProblemAdapter newTransportProblem(
 
603
  escript::ATP_ptr newTransportProblem(
622
604
                      const bool useBackwardEuler,
623
605
                      const int blocksize,
624
606
                      const escript::FunctionSpace& functionspace,
684
666
  virtual 
685
667
  int getApproximationOrder(const int functionSpaceCode) const;
686
668
 
 
669
  FINLEY_DLL_API
 
670
  bool supportsContactElements() const;
 
671
 
687
672
 
688
673
 protected:
689
674
 
703
688
// Do not use this class. It is a convenience wrapper for the dataexporter.
704
689
class FINLEY_DLL_API ReferenceElementSetWrapper {
705
690
 public:
706
 
  ReferenceElementSetWrapper(ElementTypeId id, index_t order,
 
691
  ReferenceElementSetWrapper(Finley_ElementTypeId id, index_t order,
707
692
                             index_t reducedOrder);
708
693
  ~ReferenceElementSetWrapper();
709
694