257 PE::all_reduce(PE::Comm::instance().communicator(), PE::plus(), &vol_check, 1, &total_volume_check);
287 PE::all_reduce(PE::Comm::instance().communicator(), PE::plus(), &vol_check, 1, &total_volume_check);
305
virtual void execute()
execute the action
virtual mesh::Domain & create_domain(const std::string &name)
creates a domain in this model
Dictionary & create_discontinuous_space(const std::string &space_name, const std::string &space_lib_name, const std::vector< Handle< Entities > > &entities)
virtual physics::PhysModel & create_physics(const std::string &builder)
Real R()
Definition of the ideal gas constant [J/mol K].
void configure_option_recursively(const std::string &optname, const boost::any &val)
boost::proto::terminal< SFOp< VolumeOp > >::type const volume
Static terminals that can be used in proto expressions.
mesh::FieldManager & field_manager()
Access to the FieldManager, which is a static subcomponent of Solver.
virtual Solver & solver()
gets the solver from this model
Basic Classes for Solver applications used by CF.
URI uri() const
Construct the full path.
common::URI uri(ComponentWrapper &self)
boost::shared_ptr< ElementsExpression< ExprT, ElementTypes > > elements_expression(ElementTypes, const ExprT &expr)
Real e()
Definition of the Unit charge [C].
void partition_blocks(const Uint nb_partitions, const Uint direction)
void create_mesh(Mesh &mesh)
Model & setup(const std::string &model_name)
virtual mesh::Domain & domain()
gets the domain from this model
virtual Solver & create_solver(const std::string &builder)
Handle< Component > parent() const
Basic Classes for Mesh applications used by COOLFluiD.
tuple model
Global confifuration.
Handle< Component > get_child(const std::string &name)
BOOST_AUTO_TEST_CASE(Initialize)
Top-level namespace for coolfluid.
boost::mpl::vector2< LagrangeP1::Hexa3D, LagrangeP0::Hexa > ElementsT
std::vector< URI > fields
common::Component & root() const
Gives the default root component.
static boost::proto::terminal< ExpressionGroupTag >::type group
Use group(expr1, expr2, ..., exprN) to evaluate a group of expressions.
T * all_reduce(const Communicator &comm, const Op &op, const T *in_values, const int in_n, T *out_values, const int stride=1)
unsigned int Uint
typedef for unsigned int
BOOST_FIXTURE_TEST_CASE(SetupNoOverlap, ProtoParallelFixture)
boost::shared_ptr< ProtoAction > create_proto_action(const std::string &name, const boost::shared_ptr< Expression > &expression)
Create a new ProtoAction, immediatly setting the expression.
Region & topology() const
Handle< Component > handle()
Get a handle to the component.
void create_field(const std::string &tag, cf3::mesh::Dictionary &dict)
Create fields. Looks up the VariablesDescriptor with the given tag, and creates a field with the same...
Base class for defining CF components.
void set(const std::string &pname, const boost::any &val)
Handle< Component > create_component(const std::string &name, const std::string &builder)
Build a (sub)component of this component using the extended type_name of the component.
Most basic kernel library.