~ubuntu-branches/ubuntu/trusty/rheolef/trusty

« back to all changes in this revision

Viewing changes to skit/ptst2/polymorphic_array_seq_assign_tst.cc

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Saramito
  • Date: 2011-03-23 11:14:26 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20110323111426-cjvhey7lxt6077ty
Tags: 5.93-1
* New upstream release (minor changes):
  - some extra warning message deleted in heap_allocator
  - graphic output with mayavi2 fixed
  - add doc refman in .info and .pdf format

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
using namespace std;
28
28
 
29
29
int main(int argc, char**argv) {
30
 
    environment parallel (argc, argv);
 
30
    environment distributed (argc, argv);
31
31
    string head;
32
32
    size_t n = 5;
33
33
    typedef polymorphic_traits<geo_element>::derived_type derived_type;
45
45
    warning_macro ("STEP 2: modify...")
46
46
    omega[0] = geo_element_t (1,2,3);
47
47
    omega[1] = geo_element_T (11,12,13,14);
48
 
    pcout << "geo " << omega.size() << endl;
 
48
    dcout << "geo " << omega.size() << endl;
49
49
    for (size_t i = 0, n = omega.size(); i < n; i++) {
50
50
      cout << omega[i] << endl;
51
51
    }