~ubuntu-branches/ubuntu/raring/rheolef/raring-proposed

« back to all changes in this revision

Viewing changes to nfem/plib/geo_domain.h

  • Committer: Package Import Robot
  • Author(s): Pierre Saramito, Pierre Saramito, Sylvestre Ledru
  • Date: 2012-05-14 14:02:09 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120514140209-dzbdlidkotyflf9e
Tags: 6.1-1
[ Pierre Saramito ]
* New upstream release 6.1 (minor changes):
  - support arbitrarily polynomial order Pk
  - source code supports g++-4.7 (closes: #671996)

[ Sylvestre Ledru ]
* update of the watch file

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
geo_basic<T,M>
93
93
geo_domain_rep<T,M>::get_background_domain() const
94
94
{
95
 
    const domain_indirect_basic<M>& indirect  = _dom.get_indirect ();
96
 
    const geo_basic<T,M>&       omega = _dom.get_background_geo ();
 
95
    const domain_indirect_basic<M>& indirect = _dom.get_indirect ();
 
96
    const geo_basic<T,M>&              omega = _dom.get_background_geo ();
97
97
    return geo_basic<T,M> (indirect, omega);
98
98
}
99
99
template <class T, class M>
101
101
const domain_indirect_basic<M>&
102
102
geo_domain_rep<T,M>::get_domain_indirect (size_type i) const
103
103
{
104
 
    error_macro ("geo_domain[domain] aka subdomain: not yet");
105
 
    return _dom.get_indirect (); // not reached
 
104
    return geo_rep<T,M>::get_domain_indirect (i);
106
105
}
107
106
template <class T, class M>
108
107
inline
109
108
const domain_indirect_basic<M>&
110
109
geo_domain_rep<T,M>::get_domain_indirect (const std::string& name) const
111
110
{
112
 
    error_macro ("geo_domain[domain] aka subdomain: not yet");
113
 
    return _dom.get_indirect (); // not reached
 
111
    return geo_rep<T,M>::get_domain_indirect (name);
114
112
}
115
113
// ------------------------------------------------------------------------
116
114
// geo_basic<T,M> complement