Re: [deal.II] Re: curl_value_list function ?

2019-08-20 Thread Bruno Turcksin
Le lun. 19 août 2019 à 23:53, Muhammad Adil  a écrit :
> I mean Ross kynch used curl_value_list but I couldn't find it in the deal.II 
> 8.3.0 documents. Like I found vector_value_list in the documents.
That's because it is not a function in deal.II Have you tried to grep
curl_value_list in the code?

Best,

Bruno

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAGVt9eMMaUCMg3cwS_QzL%3Dx7XRV4njJNz2KhCe6%3D9B-dYeKCXQ%40mail.gmail.com.


Re: [deal.II] Re: curl_value_list function ?

2019-08-19 Thread Muhammad Adil
> Actually the function curl_value_list is look vector_value_list but there
is not any definition in the Ross kynch code, it means that this function
is also from deal.II.
What do you mean?

> But I search it in the documents there is not any function in the class
function.h like vector_value_list available in this class.
As far as I remember, function never had curl_value_list.
I mean Ross kynch used curl_value_list but I couldn't find it in the
deal.II 8.3.0 documents. Like I found vector_value_list in the documents.

On Mon, Aug 19, 2019 at 10:38 PM Bruno Turcksin 
wrote:

> Adil
>
> Le lun. 19 août 2019 à 09:44, Muhammad Adil  a
> écrit :
> > Actually the function curl_value_list is look vector_value_list but
> there is not any definition in the Ross kynch code, it means that this
> function is also from deal.II.
> What do you mean?
>
> > But I search it in the documents there is not any function in the class
> function.h like vector_value_list available in this class.
> As far as I remember, function never had curl_value_list.
>
> Best,
>
> Bruno
>
> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see
> https://groups.google.com/d/forum/dealii?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dealii+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/CAGVt9eN6B5VLsZyumSg%3DY3BNLo7pq36CjRStcNvOr_GrQybCSg%40mail.gmail.com
> .
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CA%2BVVa-Qeok79VW7_x1PxbhoKW8emZAO8ozvs7kKQNPREAnj3Sw%40mail.gmail.com.


Re: [deal.II] Re: curl_value_list function ?

2019-08-19 Thread Bruno Turcksin
Adil

Le lun. 19 août 2019 à 09:44, Muhammad Adil  a écrit :
> Actually the function curl_value_list is look vector_value_list but there is 
> not any definition in the Ross kynch code, it means that this function is 
> also from deal.II.
What do you mean?

> But I search it in the documents there is not any function in the class 
> function.h like vector_value_list available in this class.
As far as I remember, function never had curl_value_list.

Best,

Bruno

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAGVt9eN6B5VLsZyumSg%3DY3BNLo7pq36CjRStcNvOr_GrQybCSg%40mail.gmail.com.


Re: [deal.II] Re: curl_value_list function ?

2019-08-19 Thread Muhammad Adil
Actually the function curl_value_list is look vector_value_list but there
is not any definition in the Ross kynch code, it means that this function
is also from deal.II.
But I search it in the documents there is not any function in the class
function.h like vector_value_list available in this class.

On Mon, Aug 19, 2019 at 8:37 PM Bruno Turcksin 
wrote:

> Adil,
>
> This class extends `dealii::Functions`. It implements the function
> `vector_value_list()` which otherwise does nothing in `dealii::Function`
> and then adds many new functions. This new class has the functionalities of
> `dealii::Function` plus new ones.  Does it make sense?
>
> Best,
>
> Bruno
>
> On Monday, August 19, 2019 at 6:49:27 AM UTC-4, Muhammad Adil wrote:
>>
>> Hi Everyone,
>> I am using Ross Kynch code. Ross Kynch used the deal.II versin 8.3.0.
>> I am searching a fucntions which were used by Ross with namee
>> Vector_value_list and Curl_value_list.
>> I easily found the function with name vector_value_list in the deal.II
>> version 8.3.0 but I am finding anywhere the later fucntion.
>> I will appreciate if anybody can help me to explain because the code is
>> running successfully.
>>
>> template
>> class EddyCurrentFunction : public Function
>> {
>> public:
>> // Leave out constructor for now, we may need to create one which
>> // calls the Function constructor with n_components = dim+dim by default).
>> //EddyCurrentFunction (unsigned int n_components = dim+dim);
>> // We overload each member so that it implements the style found in
>> Function
>> // as well as allowing the use of the material_id if required.
>> // The obvious way to do this is to implement the Function-style
>> version by
>> // calling the material_id version with numbers::invalid_material_id,
>> // effectively making it the default value for that argument.
>> //
>> // Obviously derived classes an bypass this if required.
>> virtual void vector_value_list (const std::vector > &points,
>> std::vector > &values) const;
>> virtual void vector_value_list (const std::vector > &points,
>> std::vector > &values,
>> const types::material_id &mat_id) const;
>> virtual void curl_value_list (const std::vector > &points,
>> std::vector > &values) const;
>>
>> virtual void curl_value_list (const std::vector > &points,
>> std::vector > &values,
>> const types::material_id &mat_id) const;
>> virtual void perturbed_field_value_list (const std::vector > &
>> points,
>> std::vector > &values) const;
>>
>> virtual void perturbed_field_value_list (const std::vector > &
>> points,
>> std::vector > &values,
>> const types::material_id &mat_id) const;
>>
>> virtual void rhs_value_list (const std::vector > &points,
>> std::vector > &values) const;
>> virtual void rhs_value_list (const std::vector > &points,
>> std::vector > &values,
>> const types::material_id &mat_id) const;
>> virtual void scattered_field_value_list (const std::vector > &
>> points,
>> std::vector > &values) const;
>> virtual void scattered_field_value_list (const std::vector > &
>> points,
>> std::vector > &values,
>> const types::material_id &mat_id) const;
>>
>> virtual bool zero_vector() const { return true; }
>> virtual bool zero_curl() const { return true; }
>> virtual bool zero_perturbed() const { return true; }
>> virtual bool zero_rhs() const { return true; }
>> virtual bool zero_scattered() const { return true; }
>> };
>>
>>
>> Adil
>>
> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see
> https://groups.google.com/d/forum/dealii?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dealii+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/cb812c9e-fed9-4e5e-b4ec-c3eb4357ce84%40googlegroups.com
> 
> .
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CA%2BVVa-TkiHW_VRBTDiPF_u3BRJ_L7HLz4mQejdBGuwJ8eFar%2BQ%40mail.gmail.com.


[deal.II] Re: curl_value_list function ?

2019-08-19 Thread Bruno Turcksin
Adil,

This class extends `dealii::Functions`. It implements the function 
`vector_value_list()` which otherwise does nothing in `dealii::Function` 
and then adds many new functions. This new class has the functionalities of 
`dealii::Function` plus new ones.  Does it make sense?

Best,

Bruno

On Monday, August 19, 2019 at 6:49:27 AM UTC-4, Muhammad Adil wrote:
>
> Hi Everyone,
> I am using Ross Kynch code. Ross Kynch used the deal.II versin 8.3.0.
> I am searching a fucntions which were used by Ross with namee 
> Vector_value_list and Curl_value_list.
> I easily found the function with name vector_value_list in the deal.II 
> version 8.3.0 but I am finding anywhere the later fucntion.
> I will appreciate if anybody can help me to explain because the code is 
> running successfully.
>
> template
> class EddyCurrentFunction : public Function
> {
> public:
> // Leave out constructor for now, we may need to create one which
> // calls the Function constructor with n_components = dim+dim by default).
> //EddyCurrentFunction (unsigned int n_components = dim+dim);
> // We overload each member so that it implements the style found in 
> Function
> // as well as allowing the use of the material_id if required.
> // The obvious way to do this is to implement the Function-style 
> version by
> // calling the material_id version with numbers::invalid_material_id,
> // effectively making it the default value for that argument.
> //
> // Obviously derived classes an bypass this if required.
> virtual void vector_value_list (const std::vector > &points,
> std::vector > &values) const;
> virtual void vector_value_list (const std::vector > &points,
> std::vector > &values,
> const types::material_id &mat_id) const;
> virtual void curl_value_list (const std::vector > &points,
> std::vector > &values) const;
>
> virtual void curl_value_list (const std::vector > &points,
> std::vector > &values,
> const types::material_id &mat_id) const;
> virtual void perturbed_field_value_list (const std::vector > &
> points,
> std::vector > &values) const;
>
> virtual void perturbed_field_value_list (const std::vector > &
> points,
> std::vector > &values,
> const types::material_id &mat_id) const;
>
> virtual void rhs_value_list (const std::vector > &points,
> std::vector > &values) const;
> virtual void rhs_value_list (const std::vector > &points,
> std::vector > &values,
> const types::material_id &mat_id) const;
> virtual void scattered_field_value_list (const std::vector > &
> points,
> std::vector > &values) const;
> virtual void scattered_field_value_list (const std::vector > &
> points,
> std::vector > &values,
> const types::material_id &mat_id) const;
>
> virtual bool zero_vector() const { return true; }
> virtual bool zero_curl() const { return true; }
> virtual bool zero_perturbed() const { return true; }
> virtual bool zero_rhs() const { return true; }
> virtual bool zero_scattered() const { return true; }
> };
>
>
> Adil
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/cb812c9e-fed9-4e5e-b4ec-c3eb4357ce84%40googlegroups.com.