19 template <
unsigned D>
class NDIndex;
20 template <
class T,
unsigned D>
class Vektor;
21 template <
class T,
unsigned D>
class Tenzor;
22 template <
class T,
unsigned D>
class SymTenzor;
25 template<
class T,
unsigned D>
class LField;
26 template<
class T,
unsigned D>
class BareField;
27 template<
class T,
unsigned D,
class M,
class C>
class Field;
28 template <
class T,
unsigned D,
class M,
class C>
class BCondBase;
29 template <
class T,
unsigned D,
class M,
class C>
31 template <
class T,
unsigned D,
class M,
class C>
class BConds;
32 template <
class T,
unsigned D,
class M,
class C>
51 template<
class T,
unsigned D>
57 template<
class T,
unsigned D>
63 template<
class T,
unsigned D>
69 template<
class T,
unsigned D>
108 template<
class T,
unsigned D>
113 template<
class T,
unsigned D>
118 template<
class T,
unsigned D>
123 template<
class T,
unsigned D>
146 template<
class T,
unsigned D,
class M,
class C>
166 virtual void write(std::ostream&)
const;
196 class C=
typename M::DefaultCentering>
198 :
public vmap<int, RefCountedP< BCondBase<T,D,M,C> > >
207 virtual void write(std::ostream&)
const;
217 class C=
typename M::DefaultCentering>
230 virtual void write(std::ostream& out)
const;
238 class C=
typename M::DefaultCentering>
262 virtual void write(std::ostream& out)
const;
273 class C=
typename M::DefaultCentering>
297 virtual void write(std::ostream& out)
const;
302 template<
class T,
unsigned D,
304 class C=
typename M::DefaultCentering>
336 virtual void write(std::ostream& out)
const;
346 template<
class T,
unsigned D,
348 class C=
typename M::DefaultCentering>
380 virtual void write(std::ostream& out)
const;
389 class C=
typename M::DefaultCentering>
412 virtual void write(std::ostream&)
const;
433 class C=
typename M::DefaultCentering>
456 virtual void write(std::ostream&)
const;
471 class C=
typename M::DefaultCentering>
482 virtual void write(std::ostream& out)
const;
490 class C=
typename M::DefaultCentering>
501 virtual void write(std::ostream& out)
const;
515 class C=
typename M::DefaultCentering>
526 virtual void write(std::ostream& out)
const;
534 class C=
typename M::DefaultCentering>
545 virtual void write(std::ostream& out)
const;
553 class C=
typename M::DefaultCentering>
564 virtual void write(std::ostream& out)
const;
578 class C=
typename M::DefaultCentering>
589 virtual void write(std::ostream& out)
const;
608 class C=
typename M::DefaultCentering>
629 virtual void write(std::ostream& out)
const;
644 class C=
typename M::DefaultCentering>
678 virtual void write(std::ostream& out)
const;
708 class C=
typename M::DefaultCentering>
733 virtual void write(std::ostream& out)
const;
763 class C=
typename M::DefaultCentering>
785 virtual void write(std::ostream&)
const;
793 class C=
typename M::DefaultCentering>
809 ERRORMSG(
"ComponentLinearExtrapolateFace(): allComponents specified; "
810 <<
"not allowed; use LinearExtrapolateFace "
811 <<
"class instead." <<
endl);
824 virtual void write(std::ostream&)
const;
834 class C=
typename M::DefaultCentering>
859 virtual void write(std::ostream& out)
const
861 out <<
"PatchBC(" << this->
getFace() <<
")";
875 template<
class T,
unsigned D,
class M,
class C >
884 template<
class T,
unsigned D,
class M,
class C >
scalar_tag get_tag(std::complex< double >)
TensorOrder_e getTensorOrder(const scalar_tag &)
std::ostream & operator<<(std::ostream &, const BCondBase< T, D, M, C > &)
Inform & endl(Inform &inf)
constexpr double c
The velocity of light in m/s.
bool changesPhysicalCells() const
BCondBase(unsigned int face, int i=allComponents, int j=allComponents)
unsigned int getFace() const
virtual BCondBase< T, D, M, C > * clone() const =0
virtual void write(std::ostream &) const
virtual void apply(Field< T, D, M, C > &)=0
vmap< int, RefCountedP< BCondBase< T, D, M, C > > >::const_iterator const_iterator
bool changesPhysicalCells() const
void apply(Field< T, D, M, C > &a)
virtual void write(std::ostream &) const
vmap< int, RefCountedP< BCondBase< T, D, M, C > > >::iterator iterator
virtual void write(std::ostream &out) const
virtual void apply(Field< T, D, M, C > &)
BCondBase< T, D, M, C > * clone() const
PeriodicFace(unsigned f, int i=BCondBaseTDMC::allComponents, int j=BCondBaseTDMC::allComponents)
BCondBase< T, D, M, C > BCondBaseTDMC
virtual BCondBase< T, D, M, C > * clone() const
virtual void apply(Field< T, D, M, C > &)
virtual void write(std::ostream &out) const
virtual void apply(Field< T, D, M, C > &)
virtual void write(std::ostream &out) const
virtual BCondBase< T, D, M, C > * clone() const
InterpolationFace(unsigned f, int i=BCondBaseTDMC::allComponents, int j=BCondBaseTDMC::allComponents)
BCondBase< T, D, M, C > BCondBaseTDMC
virtual Base_t * clone() const
ParallelPeriodicFace(unsigned f, int i=Base_t::allComponents, int j=Base_t::allComponents)
virtual void apply(Field< T, D, M, C > &)
virtual void write(std::ostream &out) const
BCondBase< T, D, M, C > Base_t
virtual Base_t * clone() const
ParallelInterpolationFace(unsigned f, int i=Base_t::allComponents, int j=Base_t::allComponents)
virtual void apply(Field< T, D, M, C > &)
virtual void write(std::ostream &out) const
BCondBase< T, D, M, C > Base_t
ExtrapolateFace(unsigned f, T o, T s, int i=BCondBaseTDMC::allComponents, int j=BCondBaseTDMC::allComponents)
BCondBase< T, D, M, C > BCondBaseTDMC
virtual BCondBase< T, D, M, C > * clone() const
virtual void apply(Field< T, D, M, C > &)
const T & getOffset() const
const T & getSlope() const
virtual void write(std::ostream &) const
BCondBase< T, D, M, C > BCondBaseTDMC
const T & getSlope() const
const T & getOffset() const
virtual void write(std::ostream &) const
virtual BCondBase< T, D, M, C > * clone() const
ExtrapolateAndZeroFace(unsigned f, T o, T s, int i=BCondBaseTDMC::allComponents, int j=BCondBaseTDMC::allComponents)
virtual void apply(Field< T, D, M, C > &)
BCondBase< T, D, M, C > BCondBaseTDMC
virtual void write(std::ostream &out) const
PosReflectFace(unsigned f, int i=BCondBaseTDMC::allComponents, int j=BCondBaseTDMC::allComponents)
virtual void write(std::ostream &out) const
BCondBase< T, D, M, C > BCondBaseTDMC
NegReflectFace(unsigned f, int i=BCondBaseTDMC::allComponents, int j=BCondBaseTDMC::allComponents)
virtual void write(std::ostream &out) const
NegReflectAndZeroFace(unsigned f, int i=BCondBaseTDMC::allComponents, int j=BCondBaseTDMC::allComponents)
BCondBase< T, D, M, C > BCondBaseTDMC
virtual void write(std::ostream &out) const
BCondBase< T, D, M, C > BCondBaseTDMC
ConstantFace(unsigned f, T c, int i=BCondBaseTDMC::allComponents, int j=BCondBaseTDMC::allComponents)
virtual void write(std::ostream &out) const
BCondBase< T, D, M, C > BCondBaseTDMC
ZeroFace(unsigned f, int i=BCondBaseTDMC::allComponents, int j=BCondBaseTDMC::allComponents)
BCondBase< T, D, M, C > BCondBaseTDMC
ZeroGuardsAndZeroFace(unsigned f, int i=BCondBaseTDMC::allComponents, int j=BCondBaseTDMC::allComponents)
virtual void write(std::ostream &out) const
FunctionFace(T(*func)(const T &), unsigned face)
virtual void write(std::ostream &out) const
BCondBase< T, D, M, C > * clone() const
void apply(Field< T, D, M, C > &)
BCondBase< T, D, M, C > * clone() const
ApplyToComponentType< T >::type(* Func)(typename ApplyToComponentType< T >::type)
void apply(Field< T, D, M, C > &)
virtual void write(std::ostream &out) const
BCondBase< T, D, M, C > BCondBaseTDMC
ComponentFunctionFace(typename ApplyToComponentType< T >::type(*func)(typename ApplyToComponentType< T >::type), unsigned face, int i=BCondBaseTDMC::allComponents, int j=BCondBaseTDMC::allComponents)
virtual void write(std::ostream &out) const
BCondBase< T, D, M, C > * clone() const
EurekaFace(unsigned int face, int i=BCondBaseTDMC::allComponents, int j=BCondBaseTDMC::allComponents)
BCondBase< T, D, M, C > BCondBaseTDMC
virtual void apply(Field< T, D, M, C > &)
virtual void apply(Field< T, D, M, C > &A)
BCondBase< T, D, M, C > BCondBaseTDMC
LinearExtrapolateFace(unsigned f)
virtual BCondBase< T, D, M, C > * clone() const
virtual void write(std::ostream &) const
BCondBase< T, D, M, C > BCondBaseTDMC
virtual void write(std::ostream &) const
ComponentLinearExtrapolateFace(unsigned f, int i=BCondBaseTDMC::allComponents, int j=BCondBaseTDMC::allComponents)
virtual BCondBase< T, D, M, C > * clone() const
virtual void apply(Field< T, D, M, C > &A)
virtual void applyPatch(typename Field< T, D, M, C >::iterator, const NDIndex< D > &)=0
void apply(Field< T, D, M, C > &)
virtual void write(std::ostream &out) const