an efficient C++ finite element environment
|
|
Go to the documentation of this file.
30 update_transport_stress (uh0);
31 field gamma_h = inv_mt*(th*tau_h0 - thb);
34 +
b*(c1*tau_h0 +
c2*gamma_h);
37 stokes.solve (
lh,
field(Qh,0), uh, ph);
39 tau_h = c1*tau_h0 +
c2*gamma_h + 2*c3*Duh;
47 uh = (1-theta)/theta*uh1 - (1-2*theta)/theta*uh0;
54 update_transport_stress (uh);
56 typename P::tau_upstream tau_up (Th.get_geo(), We,
alpha);
61 transport.solve (
lh, tau_h);
66 typename P::tau_upstream tau_up (Th.get_geo(), We,
alpha);
69 auto beta_a = tau*ma +
trans(ma)*tau;
Float alpha[pmax+1][pmax+1]
see the field page for the full documentation
details::field_expr_v2_nonlinear_terminal_function< details::normal_pseudo_function< Float > > normal()
normal: see the expression page for the full documentation
std::enable_if< details::is_field_expr_v2_nonlinear_arg< Expr >::value &&! is_undeterminated< Result >::value, Result >::type integrate(const geo_basic< T, M > &omega, const Expr &expr, const integrate_option &iopt, Result dummy=Result())
see the integrate page for the full documentation
std::enable_if< details::is_field_convertible< Expr >::value,details::field_expr_v2_nonlinear_terminal_field< typename Expr::scalar_type,typename Expr::memory_type,details::differentiate_option::gradient >>::type grad(const Expr &expr)
grad(uh): see the expression page for the full documentation
T ddot(const tensor_basic< T > &a, const tensor_basic< T > &b)
ddot(x,y): see the expression page for the full documentation
field lh(Float epsilon, Float t, const test &v)
see the test page for the full documentation
see the problem page for the full documentation
std::enable_if< details::is_field_convertible< Expr >::value,details::field_expr_v2_nonlinear_terminal_field< typename Expr::scalar_type,typename Expr::memory_type,details::differentiate_option::gradient >>::type D(const Expr &expr)
D(uh): see the expression page for the full documentation.
void sub_step2(const field &uh0, const field &tau_h1, const field &uh1, field &tau_h, field &uh) const
std::enable_if< details::is_field_convertible< Expr >::value,details::field_expr_v2_nonlinear_terminal_field< typename Expr::scalar_type,typename Expr::memory_type,details::differentiate_option::gradient >>::type grad_h(const Expr &expr)
grad_h(uh): see the expression page for the full documentation
see the test page for the full documentation
csr< T, sequential > trans(const csr< T, sequential > &a)
trans(a): see the form page for the full documentation
void sub_step1(const field &tau_h0, const field &uh0, const field &ph0, field &tau_h, field &uh, field &ph) const
void update_transport_stress(const field &uh) const
rheolef::details::is_vec dot